Merge "Add missing cast tile" into nyc-dev

This commit is contained in:
Jason Monk
2016-02-16 15:40:47 +00:00
committed by Android (Google) Code Review

View File

@@ -55,7 +55,7 @@ public class TileQueryHelper {
private void addSystemTiles(QSTileHost host) {
boolean hasColorMod = host.getDisplayController().isEnabled();
String possible = mContext.getString(R.string.quick_settings_tiles_default)
+ ",hotspot,inversion,saver,work" + (hasColorMod ? ",colors" : "");
+ ",hotspot,inversion,saver,work,cast" + (hasColorMod ? ",colors" : "");
String[] possibleTiles = possible.split(",");
final Handler qsHandler = new Handler(host.getLooper());
final Handler mainHandler = new Handler(Looper.getMainLooper());