commit | 33e784d9798302b3a5de6b3966d021a38f19c250 | [log] [tgz] |
---|---|---|
author | John Spurlock <jspurlock@google.com> | Mon Apr 28 15:28:37 2014 -0400 |
committer | John Spurlock <jspurlock@google.com> | Mon Apr 28 15:28:37 2014 -0400 |
tree | 0ade148525ed5baf28c30578813b627d3f34b22f | |
parent | c41dfb4f6ce5de287045ee97a55350ef7cc1a279 [diff] |
Fix settings crash during pathological rotate. Bug:14281882 Change-Id: If30a3e8eea35564853fc12c03f8ab63c258310c9
diff --git a/src/com/android/settings/notification/AppNotificationSettings.java b/src/com/android/settings/notification/AppNotificationSettings.java index 172557d..c63ae63 100644 --- a/src/com/android/settings/notification/AppNotificationSettings.java +++ b/src/com/android/settings/notification/AppNotificationSettings.java
@@ -114,6 +114,12 @@ } @Override + public void onDestroyView() { + super.onDestroyView(); + mListViewState = null; // you're dead to me + } + + @Override public void onResume() { super.onResume(); loadAppsList();