mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01:00
Outdated TODO removed
This commit is contained in:
parent
53d8f88670
commit
dbf88bab5f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user