Skip to content
Snippets Groups Projects
Commit 0bf7cd29 authored by Arne Coucheron's avatar Arne Coucheron Committed by Mohammad Hasan Keramat J
Browse files

SystemUI: Only add GarbageMonitor tile to default tiles on ENG builds

Change-Id: Ice1bab5f3d1b3a15f20085cfb7f5578c7f70855a
parent 65179aea
No related branches found
No related tags found
No related merge requests found
...@@ -540,7 +540,7 @@ public class QSTileHost implements QSHost, Tunable, PluginListener<QSFactory>, D ...@@ -540,7 +540,7 @@ public class QSTileHost implements QSHost, Tunable, PluginListener<QSFactory>, D
final String defaultTileList = res.getString(R.string.quick_settings_tiles_default); final String defaultTileList = res.getString(R.string.quick_settings_tiles_default);
tiles.addAll(Arrays.asList(defaultTileList.split(","))); tiles.addAll(Arrays.asList(defaultTileList.split(",")));
if (Build.IS_DEBUGGABLE if (Build.IS_ENG
&& GarbageMonitor.ADD_MEMORY_TILE_TO_DEFAULT_ON_DEBUGGABLE_BUILDS) { && GarbageMonitor.ADD_MEMORY_TILE_TO_DEFAULT_ON_DEBUGGABLE_BUILDS) {
tiles.add(GarbageMonitor.MemoryTile.TILE_SPEC); tiles.add(GarbageMonitor.MemoryTile.TILE_SPEC);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment