Increase default user icon size.
This increases the size of the default user icon to the size specified by the system (190dp), using the new method added in ag/16847427. Bug: 218838295 Test: visual inspection Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER="com.android.settings.users.UserSettingsTest" Change-Id: I3d88fbd1e148f0f63c796a272cd5771f4447812d
This commit is contained in:
@@ -78,7 +78,7 @@ public class UserAdapter implements SpinnerAdapter, ListAdapter {
|
||||
}
|
||||
|
||||
private static Drawable encircle(Context context, Drawable icon) {
|
||||
return new UserIconDrawable(UserIconDrawable.getSizeForList(context))
|
||||
return new UserIconDrawable(UserIconDrawable.getDefaultSize(context))
|
||||
.setIconDrawable(icon).bake();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user