Merge "Fix settings crash during pathological rotate."

This commit is contained in:
John Spurlock
2014-04-28 19:31:01 +00:00
committed by Android (Google) Code Review

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();