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:
Daniel Nishi
2017-02-27 11:28:04 -08:00
parent ae2850aea5
commit 49118e7e01
11 changed files with 191 additions and 11 deletions

View File

@@ -66,6 +66,7 @@ public class UserProfileController extends PreferenceController implements
mStoragePreference.setOrder(mPreferenceOrder);
mStoragePreference.setKey(PREFERENCE_KEY_BASE + mUser.id);
mStoragePreference.setTitle(mUser.name);
// TODO(b/36252572): Set user icon here.
screen.addPreference(mStoragePreference);
}