diff options
author | Amith Yamasani <yamasani@google.com> | 2012-10-02 21:10:48 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-10-02 21:10:48 -0700 |
commit | 95dc4733c0462c89453e444f1e3474bee442b868 (patch) | |
tree | f6ca161256205acea90d367c2e0aea2fcad4f989 /src/com/android/settings/users | |
parent | 6258a0e22ed82f8fcc80e50ffda058ebcaf177e1 (diff) | |
download | packages_apps_settings-95dc4733c0462c89453e444f1e3474bee442b868.zip packages_apps_settings-95dc4733c0462c89453e444f1e3474bee442b868.tar.gz packages_apps_settings-95dc4733c0462c89453e444f1e3474bee442b868.tar.bz2 |
Use new color avatar assets
Bug: 7204409
Bug: 7222997
Change-Id: Iac2c4ab2d7bf0090670573bf4c967f07abdf6f51
Diffstat (limited to 'src/com/android/settings/users')
-rw-r--r-- | src/com/android/settings/users/UserSettings.java | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/com/android/settings/users/UserSettings.java b/src/com/android/settings/users/UserSettings.java index 33b4195..7d08d75 100644 --- a/src/com/android/settings/users/UserSettings.java +++ b/src/com/android/settings/users/UserSettings.java @@ -85,12 +85,14 @@ public class UserSettings extends SettingsPreferenceFragment "key_add_user_long_message_displayed"; private static final int[] USER_DRAWABLES = { - R.drawable.ic_user_orange, - R.drawable.ic_user_cyan, - R.drawable.ic_user_green, - R.drawable.ic_user_purple, - R.drawable.ic_user_red, - R.drawable.ic_user_yellow + R.drawable.avatar_default_1, + R.drawable.avatar_default_2, + R.drawable.avatar_default_3, + R.drawable.avatar_default_4, + R.drawable.avatar_default_5, + R.drawable.avatar_default_6, + R.drawable.avatar_default_7, + R.drawable.avatar_default_8 }; private PreferenceGroup mUserListCategory; @@ -419,7 +421,7 @@ public class UserSettings extends SettingsPreferenceFragment if (user.iconPath != null) { if (mUserIcons.get(user.id) == null) { missingIcons.add(user.id); - pref.setIcon(R.drawable.ic_user); + pref.setIcon(R.drawable.avatar_default_1); } else { setPhotoId(pref, user); } @@ -432,7 +434,7 @@ public class UserSettings extends SettingsPreferenceFragment pref.setEnabled(false); pref.setTitle(R.string.user_new_user_name); pref.setSummary(R.string.user_adding_new_user); - pref.setIcon(R.drawable.ic_user); + pref.setIcon(R.drawable.avatar_default_1); mUserListCategory.addPreference(pref); } getActivity().invalidateOptionsMenu(); |