1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 13:26:50 +01:00

Outdated TODO removed

This commit is contained in:
Daniele Gobbetti 2016-12-29 20:44:04 +01:00
parent 53d8f88670
commit dbf88bab5f

View File

@ -73,7 +73,7 @@ public class WebViewSingleton {
if (jsInterface == null || (jsInterface != null && (!device.equals(jsInterface.device) || !uuid.equals(jsInterface.mUuid)))) { if (jsInterface == null || (jsInterface != null && (!device.equals(jsInterface.device) || !uuid.equals(jsInterface.mUuid)))) {
instance.removeJavascriptInterface("GBjs"); 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.addJavascriptInterface(jsInterface, "GBjs");
instance.loadUrl("file:///android_asset/app_config/configure.html"); instance.loadUrl("file:///android_asset/app_config/configure.html");
} else { } else {