am 6413d965: Merge "Show the license dialog only if the activity is still showing" into jb-mr1-dev

* commit '6413d9658b0b7ac425621c488eb7c13b4fd295f4':
  Show the license dialog only if the activity is still showing
This commit is contained in:
Amith Yamasani
2012-08-23 11:30:45 -07:00
committed by Android Git Automerger

View File

@@ -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();
}
}
});