dex2oat should show something friendlier in Settings -> Battery

Bug: 13161823
Change-Id: If68d91900c88f33f5656a9e336633d53a5e900ce
This commit is contained in:
Brian Carlstrom
2015-06-12 20:54:16 -07:00
parent da6e4c47aa
commit 6588a82823
2 changed files with 6 additions and 2 deletions

View File

@@ -225,6 +225,8 @@ public class BatteryEntry {
name = context.getResources().getString(R.string.process_kernel_label);
} else if ("mediaserver".equals(name)) {
name = context.getResources().getString(R.string.process_mediaserver_label);
} else if ("dex2oat".equals(name)) {
name = context.getResources().getString(R.string.process_dex2oat_label);
}
iconId = R.drawable.ic_power_system;
icon = context.getDrawable(iconId);