Move BluetoothChangeReceiver to externalevents
This commit is contained in:
parent
900b3f3833
commit
41207516b1
|
@ -139,7 +139,7 @@
|
|||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver
|
||||
android:name=".BluetoothStateChangeReceiver"
|
||||
android:name=".externalevents.BluetoothStateChangeReceiver"
|
||||
android:exported="false" >
|
||||
<intent-filter>
|
||||
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package nodomain.freeyourgadget.gadgetbridge;
|
||||
package nodomain.freeyourgadget.gadgetbridge.externalevents;
|
||||
|
||||
import android.bluetooth.BluetoothAdapter;
|
||||
import android.content.BroadcastReceiver;
|
||||
|
@ -8,6 +8,9 @@ import android.content.SharedPreferences;
|
|||
import android.preference.PreferenceManager;
|
||||
import android.support.v4.content.LocalBroadcastManager;
|
||||
|
||||
import nodomain.freeyourgadget.gadgetbridge.BluetoothCommunicationService;
|
||||
import nodomain.freeyourgadget.gadgetbridge.ControlCenter;
|
||||
|
||||
public class BluetoothStateChangeReceiver extends BroadcastReceiver {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
Loading…
Reference in New Issue