mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-30 12:35:48 +01:00
Tweak for potential null pointer exception seen after play store release
This commit is contained in:
parent
14db0d7df6
commit
2e4fa6d699
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user