Fix settings crash during pathological rotate.

Bug:14281882
Change-Id: If30a3e8eea35564853fc12c03f8ab63c258310c9
This commit is contained in:
John Spurlock
2014-04-28 15:28:37 -04:00
parent c41dfb4f6c
commit 33e784d979

View File

@@ -113,6 +113,12 @@ public class AppNotificationSettings extends ListFragment {
mListViewState = getListView().onSaveInstanceState();
}
@Override
public void onDestroyView() {
super.onDestroyView();
mListViewState = null; // you're dead to me
}
@Override
public void onResume() {
super.onResume();