mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-13 21:49:27 +01:00
14 lines
423 B
Java
14 lines
423 B
Java
|
package nodomain.freeyourgadget.gadgetbridge;
|
||
|
|
||
|
import android.content.BroadcastReceiver;
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
|
||
|
public class StopServiceReceiver extends BroadcastReceiver {
|
||
|
@Override
|
||
|
public void onReceive(Context context, Intent intent) {
|
||
|
Intent stopIntent = new Intent(context, BluetoothCommunicationService.class);
|
||
|
context.stopService(stopIntent);
|
||
|
}
|
||
|
}
|