1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Tweak for potential null pointer exception seen after play store release

This commit is contained in:
Gordon Williams 2022-07-25 14:52:30 +01:00
parent 14db0d7df6
commit 2e4fa6d699

View File

@ -143,6 +143,7 @@ public class AppsManagementActivity extends AbstractGBActivity {
if (webView!=null) webView.post(new Runnable() {
@Override
public void run() {
if (webView==null) return; // webView may have gone by the time we get called!
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT) {
webView.evaluateJavascript(js, null);
} else {