Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31a4dbf5 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Fix NPE in the webruntime after the splash screen has been dismissed.

Change-Id: I91a01cf34f54ef07d4f175a3e5cd3b40086a6f07
parent 768d98e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ public class WebRuntimeActivity extends Activity

            @Override
            public void onPageFinished(WebView view, String url) {
                if (mSplashScreen.getVisibility() == View.VISIBLE) {
                if (mSplashScreen != null && mSplashScreen.getVisibility() == View.VISIBLE) {
                    mSplashScreen.setVisibility(View.GONE);
                    mSplashScreen = null;
                }