TODO bugfix

This commit is contained in:
str4d
2014-05-21 01:56:30 +00:00
parent 2af1e90d3a
commit 7dcaaa325e
2 changed files with 3 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ public class SettingsActivity extends PreferenceActivity {
} else if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
super.setListAdapter(adapter); // TODO: implement legacy headers styling
} else {
// TODO: Fix NPE when rotating screen
super.setListAdapter(new HeaderAdapter(this, mGeneratedHeaders));
}
}
@@ -443,4 +444,4 @@ public class SettingsActivity extends PreferenceActivity {
}
}
}
}
}