diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-12-10 17:03:07 -0800 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2015-12-10 18:25:01 -0800 |
commit | 4aae79617478d8ec7aeac80959e7d566edda9f25 (patch) | |
tree | 55426024d7b746e70cbb219089e0191f73988c84 /src | |
parent | 90bc0838156185bc5adb9b2b4a3567dd89b4b3c5 (diff) | |
download | vendor_cmsdk-4aae79617478d8ec7aeac80959e7d566edda9f25.zip vendor_cmsdk-4aae79617478d8ec7aeac80959e7d566edda9f25.tar.gz vendor_cmsdk-4aae79617478d8ec7aeac80959e7d566edda9f25.tar.bz2 |
cmsdk: Nuke concept of Dynamic Tiles in available tiles.
Change-Id: Iad95954603271dc42785cd4a1862200b2f8602f4
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/cyanogenmod/internal/util/QSConstants.java | 7 | ||||
-rw-r--r-- | src/java/org/cyanogenmod/internal/util/QSUtils.java | 8 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/java/org/cyanogenmod/internal/util/QSConstants.java b/src/java/org/cyanogenmod/internal/util/QSConstants.java index faea98d..690dac7 100644 --- a/src/java/org/cyanogenmod/internal/util/QSConstants.java +++ b/src/java/org/cyanogenmod/internal/util/QSConstants.java @@ -61,7 +61,6 @@ public class QSConstants { public static final String DYNAMIC_TILE_ADB = "adb"; protected static final ArrayList<String> STATIC_TILES_AVAILABLE = new ArrayList<String>(); - protected static final ArrayList<String> DYNAMIC_TILES_AVAILABLE = new ArrayList<String>(); protected static final ArrayList<String> TILES_AVAILABLE = new ArrayList<String>(); static { @@ -99,12 +98,6 @@ public class QSConstants { STATIC_TILES_AVAILABLE.add(TILE_SYNC); // STATIC_TILES_AVAILABLE.add(TILE_BATTERY_SAVER); - DYNAMIC_TILES_AVAILABLE.add(DYNAMIC_TILE_NEXT_ALARM); - DYNAMIC_TILES_AVAILABLE.add(DYNAMIC_TILE_IME_SELECTOR); - DYNAMIC_TILES_AVAILABLE.add(DYNAMIC_TILE_SU); - DYNAMIC_TILES_AVAILABLE.add(DYNAMIC_TILE_ADB); - TILES_AVAILABLE.addAll(STATIC_TILES_AVAILABLE); - TILES_AVAILABLE.addAll(DYNAMIC_TILES_AVAILABLE); } }
\ No newline at end of file diff --git a/src/java/org/cyanogenmod/internal/util/QSUtils.java b/src/java/org/cyanogenmod/internal/util/QSUtils.java index 8d6b2d4..14ff424 100644 --- a/src/java/org/cyanogenmod/internal/util/QSUtils.java +++ b/src/java/org/cyanogenmod/internal/util/QSUtils.java @@ -62,10 +62,6 @@ public class QSUtils { return QSConstants.STATIC_TILES_AVAILABLE.contains(tileSpec); } - public static boolean isDynamicQsTile(String tileSpec) { - return QSConstants.DYNAMIC_TILES_AVAILABLE.contains(tileSpec); - } - @SuppressWarnings("unchecked") public static List<String> getAvailableTiles(Context context) { filterTiles(context); @@ -134,10 +130,6 @@ public class QSUtils { case QSConstants.TILE_BATTERY_SAVER: removeTile = deviceSupportsPowerProfiles(context); break; - - case QSConstants.DYNAMIC_TILE_SU: - removeTile = !supportsRootAccess(); - break; } if (removeTile) { iterator.remove(); |