From dbf88bab5f512f17ea0f109f0e72cb769d863428 Mon Sep 17 00:00:00 2001 From: Daniele Gobbetti Date: Thu, 29 Dec 2016 20:44:04 +0100 Subject: [PATCH] Outdated TODO removed --- .../freeyourgadget/gadgetbridge/util/WebViewSingleton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/WebViewSingleton.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/WebViewSingleton.java index dc410194b..9c6b0ccad 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/WebViewSingleton.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/WebViewSingleton.java @@ -73,7 +73,7 @@ public class WebViewSingleton { if (jsInterface == null || (jsInterface != null && (!device.equals(jsInterface.device) || !uuid.equals(jsInterface.mUuid)))) { instance.removeJavascriptInterface("GBjs"); - jsInterface = new JSInterface(device, uuid); //TODO: context is used for navigating up but this only works for the externalJSActivity + jsInterface = new JSInterface(device, uuid); instance.addJavascriptInterface(jsInterface, "GBjs"); instance.loadUrl("file:///android_asset/app_config/configure.html"); } else {