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

Commit cd98f810 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Show the license dialog only if the activity is still showing

Bug: 6888990
Change-Id: Ide267739c7fd296356f26293f02bd794906fbd0a
parent b18d58bd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -203,8 +203,10 @@ public class SettingsLicenseActivity extends Activity {
            @Override
            public void onPageFinished(WebView view, String url) {
                mSpinnerDlg.dismiss();
                if (SettingsLicenseActivity.this.isResumed()) {
                    mTextDlg.show();
                }
            }
        });

        mWebView = null;