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:
parent
f66f765fb6
commit
d6dd03a065
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user