Merge "Add UI for camera + flashlight battery reporting." into mnc-dev

This commit is contained in:
Ruben Brunk
2015-06-06 00:04:17 +00:00
committed by Android (Google) Code Review
5 changed files with 143 additions and 10 deletions

View File

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