Move BluetoothChangeReceiver to externalevents

This commit is contained in:
Andreas Shimokawa 2015-05-30 21:40:42 +02:00
parent 900b3f3833
commit 41207516b1
2 changed files with 5 additions and 2 deletions

View File

@ -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" />

View File

@ -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) {