Merge "Use the custom name in the battery attribution if it is unknown item" into tm-dev
This commit is contained in:
@@ -625,8 +625,9 @@ public class BatteryEntry {
|
|||||||
iconId = R.drawable.ic_settings_phone_idle;
|
iconId = R.drawable.ic_settings_phone_idle;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
name = DebugUtils.constantToString(BatteryConsumer.class, "POWER_COMPONENT_",
|
Log.w(TAG, "unknown attribute:" + DebugUtils.constantToString(
|
||||||
powerComponentId);
|
BatteryConsumer.class, "POWER_COMPONENT_", powerComponentId));
|
||||||
|
name = null;
|
||||||
iconId = R.drawable.ic_power_system;
|
iconId = R.drawable.ic_power_system;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user