mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-25 18:15:49 +01:00
Start new activity with FLAG_ACTIVITY_NEW_TASK (fixes #1306)
This commit is contained in:
parent
7e9a9ca875
commit
ca32a2b5ac
@ -174,6 +174,7 @@ public abstract class AbstractDeviceSupport implements DeviceSupport {
|
||||
switch (deviceEvent.event) {
|
||||
case START:
|
||||
Intent startIntent = new Intent(getContext(), FindPhoneActivity.class);
|
||||
startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
context.startActivity(startIntent);
|
||||
break;
|
||||
case STOP:
|
||||
|
Loading…
Reference in New Issue
Block a user