CMSDK : Add caffeine tile (2/2)

Change-Id: I6c3d5cdc0dc2cce06f1c00c6ffbb96d5f376dc46
This commit is contained in:
Keith Mok 2016-02-04 10:49:03 -08:00 committed by Gerrit Code Review
parent 06965d4dfe
commit 5c7be898cb
2 changed files with 3 additions and 0 deletions

View File

@ -65,4 +65,5 @@ public class CMMetricsLogger extends MetricsLogger {
public static final int TILE_VOLUME = BASE + 38; public static final int TILE_VOLUME = BASE + 38;
public static final int TILE_HEADS_UP = BASE + 39; public static final int TILE_HEADS_UP = BASE + 39;
public static final int TILE_BATTERY_SAVER = BASE + 40; public static final int TILE_BATTERY_SAVER = BASE + 40;
public static final int TILE_CAFFEINE = BASE + 41;
} }

View File

@ -52,6 +52,7 @@ public class QSConstants {
public static final String TILE_AMBIENT_DISPLAY = "ambient_display"; public static final String TILE_AMBIENT_DISPLAY = "ambient_display";
public static final String TILE_SYNC = "sync"; public static final String TILE_SYNC = "sync";
public static final String TILE_BATTERY_SAVER = "battery_saver"; public static final String TILE_BATTERY_SAVER = "battery_saver";
public static final String TILE_CAFFEINE = "caffeine";
public static final String TILE_EDIT = "edit"; public static final String TILE_EDIT = "edit";
public static final String TILE_DND = "dnd"; public static final String TILE_DND = "dnd";
@ -98,6 +99,7 @@ public class QSConstants {
STATIC_TILES_AVAILABLE.add(TILE_AMBIENT_DISPLAY); STATIC_TILES_AVAILABLE.add(TILE_AMBIENT_DISPLAY);
STATIC_TILES_AVAILABLE.add(TILE_SYNC); STATIC_TILES_AVAILABLE.add(TILE_SYNC);
STATIC_TILES_AVAILABLE.add(TILE_BATTERY_SAVER); STATIC_TILES_AVAILABLE.add(TILE_BATTERY_SAVER);
STATIC_TILES_AVAILABLE.add(TILE_CAFFEINE);
TILES_AVAILABLE.addAll(STATIC_TILES_AVAILABLE); TILES_AVAILABLE.addAll(STATIC_TILES_AVAILABLE);