Show the license dialog only if the activity is still showing
Bug: 6888990 Change-Id: Ide267739c7fd296356f26293f02bd794906fbd0a
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user