Load user photos through system_server.

Bug: 7194137
Change-Id: Ie36ca40c48fb06d55d120bfcf3db69aea9d83829
This commit is contained in:
Jeff Sharkey
2012-09-19 11:15:45 -07:00
parent f5de1db28a
commit 8882ccdd3e
3 changed files with 6 additions and 9 deletions

View File

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