1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 18:45:49 +01:00

Pebble: webview add safety check

This commit is contained in:
Daniele Gobbetti 2017-01-28 17:45:23 +01:00
parent f66f765fb6
commit d6dd03a065

View File

@ -110,6 +110,8 @@ public class WebViewSingleton extends Activity {
public static void appMessage(final String message) { public static void appMessage(final String message) {
if (instance == null)
return;
final String appMessage = jsInterface.parseIncomingAppMessage(message); final String appMessage = jsInterface.parseIncomingAppMessage(message);
LOG.debug("to WEBVIEW: " + appMessage); LOG.debug("to WEBVIEW: " + appMessage);