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:
Amith Yamasani
2014-07-24 14:13:36 -07:00
parent b8684d573e
commit ee3987475e
6 changed files with 589 additions and 433 deletions

View File

@@ -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;