mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Pebble: Fix crash when returning from exernal website from browser application.
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ public class ExternalPebbleJSActivity extends AbstractGBActivity {
|
||||
UUID currentUUID = null;
|
||||
GBDevice currentDevice = null;
|
||||
|
||||
if (extras == null) {
|
||||
if (extras == null || (extras.getParcelable(GBDevice.EXTRA_DEVICE) == null)) {
|
||||
confUri = getIntent().getData();
|
||||
if(confUri.getScheme().equals("gadgetbridge")) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user