fix
This commit is contained in:
parent
0a4680e7b8
commit
b720877fa5
|
@ -130,10 +130,11 @@ public class MainActivity extends AppCompatActivity {
|
|||
return;
|
||||
} else {
|
||||
Log.d("BT", "Permission to connect bluetooth devices granted");
|
||||
}
|
||||
registerReceiver(receiver, intentFilter);
|
||||
|
||||
startForegroundService(new Intent(this, SurveillanceService.class));
|
||||
registerReceiver(receiver, intentFilter);
|
||||
|
||||
startForegroundService(new Intent(this, SurveillanceService.class));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user