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

am: 17c2906404

Change-Id: I9bf3646637a790e58a19f735ac9cfc1fa5f88889
This commit is contained in:
Lei Yu
2018-04-06 13:48:32 -07:00
committed by android-build-merger
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);