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:
@@ -33,7 +33,6 @@ import com.android.settings.deviceinfo.StorageItemPreference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* SecondaryUserController controls the preferences on the Storage screen which had to do with
|
||||
* secondary users.
|
||||
@@ -109,6 +108,9 @@ public class SecondaryUserController extends PreferenceController implements
|
||||
if (mSize != SIZE_NOT_SET) {
|
||||
mStoragePreference.setStorageSize(mSize, mTotalSizeBytes);
|
||||
}
|
||||
|
||||
// TODO(b/36252572): Set the user icon appropriately here.
|
||||
|
||||
group.setVisible(true);
|
||||
group.addPreference(mStoragePreference);
|
||||
}
|
||||
|
Reference in New Issue
Block a user