Refactor UidDetailProvider and its dependencies to SettingsLib.

so that it can be reused by Wear app data usage.

Change-Id: Id05f888274e15fbeffa175ee8073de02a8966867
This commit is contained in:
Wei Liu
2015-08-24 17:29:04 -07:00
parent 0e309b867d
commit 6e58d516f0
15 changed files with 22 additions and 442 deletions

View File

@@ -86,7 +86,7 @@ public class RestrictedProfileSettings extends AppRestrictionsFragment
} else {
((TextView) mHeaderView.findViewById(android.R.id.title)).setText(info.name);
((ImageView) mHeaderView.findViewById(android.R.id.icon)).setImageDrawable(
Utils.getUserIcon(getActivity(), mUserManager, info));
com.android.settingslib.Utils.getUserIcon(getActivity(), mUserManager, info));
}
}