Load user photos through system_server.
Bug: 7194137 Change-Id: Ie36ca40c48fb06d55d120bfcf3db69aea9d83829
This commit is contained in:
@@ -32,6 +32,7 @@ import android.util.SparseArray;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.Utils;
|
||||
import com.android.settings.users.UserUtils;
|
||||
|
||||
/**
|
||||
* Return details about a specific UID, handling special cases like
|
||||
@@ -118,7 +119,7 @@ public class UidDetailProvider {
|
||||
final UserInfo info = um.getUserInfo(userHandle);
|
||||
if (info != null) {
|
||||
detail.label = res.getString(R.string.running_process_item_user_label, info.name);
|
||||
detail.icon = Drawable.createFromPath(info.iconPath);
|
||||
detail.icon = UserUtils.getUserIcon(um, info, res);
|
||||
return detail;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user