Refactor User Profile editor dialog for reuse
Move the dialog code into a separate class. Use it from RestrictedProfileSettings and UserSettings for the current user. Bug: 15761405 Change-Id: I0b9a95ba8463304525e6a4b8cf3b4ca77b15796f
This commit is contained in:
@@ -345,7 +345,7 @@ public class AppRestrictionsFragment extends SettingsPreferenceFragment implemen
|
||||
return getPreferenceScreen();
|
||||
}
|
||||
|
||||
protected Drawable getCircularUserIcon() {
|
||||
Drawable getCircularUserIcon() {
|
||||
Bitmap userIcon = mUserManager.getUserIcon(mUser.getIdentifier());
|
||||
if (userIcon == null) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user