mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Start new activity with FLAG_ACTIVITY_NEW_TASK (fixes #1306)
This commit is contained in:
committed by
Carsten Pfeiffer
parent
7e9a9ca875
commit
ca32a2b5ac
+1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user