TODO bugfix
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user