Add UI for camera + flashlight battery reporting.
Bug: 11694505 Change-Id: Idca51a2e8cc7c2fb3e9d10f84f94e66600dee6fa
This commit is contained in:
@@ -182,6 +182,10 @@ public class BatteryEntry {
|
||||
name = context.getResources().getString(R.string.power_overcounted);
|
||||
iconId = R.drawable.ic_power_system;
|
||||
break;
|
||||
case CAMERA:
|
||||
name = context.getResources().getString(R.string.power_camera);
|
||||
iconId = R.drawable.ic_settings_camera;
|
||||
break;
|
||||
}
|
||||
if (iconId > 0) {
|
||||
icon = context.getDrawable(iconId);
|
||||
|
Reference in New Issue
Block a user