Show the license dialog only if the activity is still showing
Bug: 6888990 Change-Id: Ide267739c7fd296356f26293f02bd794906fbd0a
This commit is contained in:
@@ -203,7 +203,9 @@ public class SettingsLicenseActivity extends Activity {
|
||||
@Override
|
||||
public void onPageFinished(WebView view, String url) {
|
||||
mSpinnerDlg.dismiss();
|
||||
mTextDlg.show();
|
||||
if (SettingsLicenseActivity.this.isResumed()) {
|
||||
mTextDlg.show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user