Merge "Add name and icon for AOD" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-04-06 20:19:21 +00:00
committed by Android (Google) Code Review
3 changed files with 51 additions and 0 deletions

View File

@@ -209,6 +209,10 @@ public class BatteryEntry {
name = context.getResources().getString(R.string.power_camera);
iconId = R.drawable.ic_settings_camera;
break;
case AMBIENT_DISPLAY:
name = context.getResources().getString(R.string.ambient_display_screen_title);
iconId = R.drawable.ic_settings_aod;
break;
}
if (iconId > 0) {
icon = context.getDrawable(iconId);