diff options
Diffstat (limited to 'src/com/android/settings/ApplicationSettings.java')
-rw-r--r-- | src/com/android/settings/ApplicationSettings.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/settings/ApplicationSettings.java b/src/com/android/settings/ApplicationSettings.java index 85fe11f..6a8aa81 100644 --- a/src/com/android/settings/ApplicationSettings.java +++ b/src/com/android/settings/ApplicationSettings.java @@ -53,6 +53,14 @@ public class ApplicationSettings extends PreferenceActivity implements } @Override + protected void onDestroy() { + super.onDestroy(); + if (mWarnInstallApps != null) { + mWarnInstallApps.dismiss(); + } + } + + @Override public boolean onPreferenceTreeClick(PreferenceScreen preferenceScreen, Preference preference) { if (preference == mToggleAppInstallation) { if (mToggleAppInstallation.isChecked()) { |