DivestOS/Patches/LineageOS-14.1/cm_platform_sdk/0001-Radio.patch

34 lines
1.5 KiB
Diff

From d69062c3f395613090ae902e43622af312036515 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Fri, 10 Nov 2017 12:50:12 -0500
Subject: [PATCH] Add radio power tile (2/2)
Change-Id: I97745fc43ff6af599d7d30a6fd7db9b2942b3247
---
sdk/src/java/org/cyanogenmod/internal/util/QSConstants.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sdk/src/java/org/cyanogenmod/internal/util/QSConstants.java b/sdk/src/java/org/cyanogenmod/internal/util/QSConstants.java
index c5e62eb..8782128 100644
--- a/sdk/src/java/org/cyanogenmod/internal/util/QSConstants.java
+++ b/sdk/src/java/org/cyanogenmod/internal/util/QSConstants.java
@@ -26,6 +26,7 @@ public class QSConstants {
public static final String TILE_INVERSION = "inversion";
public static final String TILE_CELLULAR = "cell";
public static final String TILE_AIRPLANE = "airplane";
+ public static final String TILE_RADIO_POWER = "radio_power";
public static final String TILE_ROTATION = "rotation";
public static final String TILE_FLASHLIGHT = "flashlight";
public static final String TILE_LOCATION = "location";
@@ -71,6 +72,7 @@ public class QSConstants {
STATIC_TILES_AVAILABLE.add(TILE_BLUETOOTH);
STATIC_TILES_AVAILABLE.add(TILE_CELLULAR);
STATIC_TILES_AVAILABLE.add(TILE_AIRPLANE);
+ STATIC_TILES_AVAILABLE.add(TILE_RADIO_POWER);
STATIC_TILES_AVAILABLE.add(TILE_ROTATION);
STATIC_TILES_AVAILABLE.add(TILE_FLASHLIGHT);
STATIC_TILES_AVAILABLE.add(TILE_LOCATION);
--
2.15.0