Add icons to the main static storage setting prefs.
The dynamic user icons require more than just XML changes to successfully fetch the badged user icons and are coming in a future patch. Bug: 35801039 Test: Manual -- this is purely XML and comment changes. Change-Id: Id493c0335037a5c6e4f8b4734700611bfc0da7f1
This commit is contained in:
@@ -73,6 +73,7 @@ public class StorageProfileFragment extends DashboardFragment
|
||||
|
||||
mPreferenceController.setVolume(mVolume);
|
||||
mUserId = args.getInt(USER_ID_EXTRA, UserHandle.myUserId());
|
||||
// TODO(b/36224168): Use the user id to appropriately badge the preferences.
|
||||
mPreferenceController.setUserId(mUserId);
|
||||
}
|
||||
|
||||
@@ -137,6 +138,7 @@ public class StorageProfileFragment extends DashboardFragment
|
||||
return null;
|
||||
}
|
||||
|
||||
// TODO(b/35927909): Attribute app sizes better than zeroing out for profiles.
|
||||
result.gamesSize = 0;
|
||||
result.musicAppsSize = 0;
|
||||
result.otherAppsSize = 0;
|
||||
|
Reference in New Issue
Block a user