[2/2] OmniGears: Add Torch to Power Menu
Change-Id: I972e01e60f60b6ddf47ee5739f5f821c075ab997
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 5d7a224..c88bea9 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -317,6 +317,7 @@
<string name="global_actions_airplane_title">Airplane mode</string>
<string name="global_actions_screenshot_title">Screenshot</string>
<string name="global_actions_screenrecord_title">Screenrecord</string>
+ <string name="global_actions_torch_title">Flashlight</string>
<string name="global_actions_users_title">Users</string>
<string name="global_actions_voiceassist_title">Voiceassist</string>
<string name="global_actions_silent_title">Silent mode</string>
diff --git a/res/xml/global_actions.xml b/res/xml/global_actions.xml
index 5e616e2..8881152 100644
--- a/res/xml/global_actions.xml
+++ b/res/xml/global_actions.xml
@@ -42,7 +42,7 @@
android:key="airplane"
android:title="@string/global_actions_airplane_title"
android:persistent="false" />
- <SwitchPreference
+ <SwitchPreference
android:key="screenshot"
android:title="@string/global_actions_screenshot_title"
android:persistent="false" />
@@ -51,6 +51,10 @@
android:title="@string/global_actions_screenrecord_title"
android:persistent="false" />
<SwitchPreference
+ android:key="torch"
+ android:title="@string/global_actions_torch_title"
+ android:persistent="false" />
+ <SwitchPreference
android:key="users"
android:title="@string/global_actions_users_title"
android:persistent="false" />