mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 02:45:49 +01:00
Attempt to fix crash with ExternalPebbleJSActivity #863
This commit is contained in:
parent
da5d1e3685
commit
fa0fd250cf
@ -200,6 +200,7 @@ class PebbleIoThread extends GBDeviceIoThread {
|
||||
}
|
||||
if (GBApplication.getGBPrefs().isBackgroundJsEnabled()) {
|
||||
Intent startIntent = new Intent(getContext(), ExternalPebbleJSActivity.class);
|
||||
startIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startIntent.putExtra(ExternalPebbleJSActivity.START_BG_WEBVIEW, true);
|
||||
getContext().startActivity(startIntent);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user