Cherish: Add Game Space shortcut pref

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Pranav Vashi
2022-03-15 10:33:52 +07:00
committed by Hưng Phan
parent 5166864ba5
commit 4987963079
2 changed files with 17 additions and 0 deletions

View File

@@ -480,4 +480,9 @@
<!-- Notification headers -->
<string name="notification_headers_title">Notification Headers</string>
<string name="notification_headers_summary">Show headers in the notification shade</string>
<!-- Gaming mode -->
<string name="gaming_mode_title">Game space</string>
<string name="gaming_mode_summary">Extra features for immersive gaming experience</string>
</resources>

View File

@@ -23,5 +23,17 @@
android:title="@string/charging_animation_title"
android:summary="@string/charging_animation_summary"
android:defaultValue="false" />
<!-- Gaming mode -->
<Preference
android:key="gaming_mode"
android:title="@string/gaming_mode_title"
android:summary="@string/gaming_mode_summary">
<intent
android:action="android.intent.action.MAIN"
android:targetPackage="org.exthmui.game"
android:targetClass="org.exthmui.game.ui.MainActivity" />
</Preference>
</PreferenceScreen>