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

* commit 'b7808c71873f80dd4fb8c040960e92dd82b4b908':
  Show the license dialog only if the activity is still showing
This commit is contained in:
Amith Yamasani
2012-08-23 11:54:15 -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();
}
}
});