Pebble: Fix crash when returning from exernal website from browser application.

This commit is contained in:
Andreas Shimokawa
2026-02-28 19:49:40 +01:00
parent bacc85bcb8
commit 7f3eec47ec
@@ -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 {