aboutsummaryrefslogtreecommitdiffstats
path: root/com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java')
-rw-r--r--com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java b/com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java
index 71e40300a..4f80be515 100644
--- a/com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java
+++ b/com_actionbarsherlock/src/com/actionbarsherlock/app/SherlockPreferenceActivity.java
@@ -77,6 +77,12 @@ public abstract class SherlockPreferenceActivity extends PreferenceActivity impl
}
@Override
+ protected void onDestroy() {
+ getSherlock().dispatchDestroy();
+ super.onDestroy();
+ }
+
+ @Override
protected void onPostCreate(Bundle savedInstanceState) {
getSherlock().dispatchPostCreate(savedInstanceState);
super.onPostCreate(savedInstanceState);