Refactoring useless UserUtils class
Bug: 16542609 Change-Id: Iadb83c5e378cd342ea89d6e224ddc45e6f940c8b
This commit is contained in:
@@ -32,7 +32,6 @@ 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
|
||||
@@ -121,7 +120,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 = UserUtils.getUserIcon(mContext, um, info, res);
|
||||
detail.icon = Utils.getUserIcon(mContext, um, info);
|
||||
return detail;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user