SystemUI: Add statusbar call strength icon to tuner prefs
Change-Id: I85e5af39fbb170c7f55ed4d85d7850219b1bb911
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
diff --git a/packages/SystemUI/res/drawable/ic_statusbar_phone.xml b/packages/SystemUI/res/drawable/ic_statusbar_phone.xml
new file mode 100644
index 0000000..f0b84b5
--- /dev/null
+++ b/packages/SystemUI/res/drawable/ic_statusbar_phone.xml
@@ -0,0 +1,25 @@
+<!--
+ Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24.0"
+ android:viewportHeight="24.0"
+ android:tint="?android:attr/colorControlNormal">
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z"/>
+</vector>
diff --git a/packages/SystemUI/res/values/witaqua_strings.xml b/packages/SystemUI/res/values/witaqua_strings.xml
index cb68bfc..0c6aedb 100644
--- a/packages/SystemUI/res/values/witaqua_strings.xml
+++ b/packages/SystemUI/res/values/witaqua_strings.xml
@@ -22,4 +22,5 @@
<!-- Statusbar Icons -->
<string name="status_bar_nfc">NFC</string>
<string name="status_bar_data_saver">Data saver</string>
+ <string name="status_bar_call_strength">Call strength</string>
</resources>
\ No newline at end of file
diff --git a/packages/SystemUI/res/xml/status_bar_prefs.xml b/packages/SystemUI/res/xml/status_bar_prefs.xml
index a10f014..484eba3 100644
--- a/packages/SystemUI/res/xml/status_bar_prefs.xml
+++ b/packages/SystemUI/res/xml/status_bar_prefs.xml
@@ -108,6 +108,11 @@
android:title="@string/status_bar_data_saver" />
<com.android.systemui.tuner.StatusBarSwitch
+ android:icon="@drawable/ic_statusbar_phone"
+ android:key="call_strength"
+ android:title="@string/status_bar_call_strength" />
+
+ <com.android.systemui.tuner.StatusBarSwitch
android:icon="@drawable/ic_statusbar_airplanemode"
android:key="airplane"
android:title="@string/status_bar_airplane" />