Iteration on multi-user storage UI.

Adds headers to distinguish between current and other users.  Also
correctly orders color chips.

Bug: 7003520
Change-Id: I871f1a38d41dad5a5f7d97d91d2ebaac5951066c
This commit is contained in:
Jeff Sharkey
2012-09-07 13:23:47 -07:00
parent 96c2f8c508
commit 04df8b77a4
5 changed files with 111 additions and 58 deletions

View File

@@ -101,8 +101,7 @@ public class Memory extends SettingsPreferenceFragment {
private void addCategoryForVolume(StorageVolume volume) {
final StorageVolumePreferenceCategory category = new StorageVolumePreferenceCategory(
getActivity(), volume, mStorageManager);
// TODO: if primary emulated storage, then insert split items
getActivity(), volume);
mCategories.add(category);
getPreferenceScreen().addPreference(category);
category.init();