aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-01-29 21:32:11 +0100
committerChristian Schneppe <christian@pix-art.de>2018-01-29 21:32:11 +0100
commit35025a1af20559a990ed6160875d3e98fb82e9cd (patch)
tree16832fff5f1ed4d09cac13d53db01d8ed7855344 /src/main/res/xml/preferences.xml
parentce73f31bb50261e2b2289271291bedad6c7fc70a (diff)
direct link from settings to huaweis protected apps
Diffstat (limited to 'src/main/res/xml/preferences.xml')
-rw-r--r--src/main/res/xml/preferences.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml
index 82d9ea00f..109d61239 100644
--- a/src/main/res/xml/preferences.xml
+++ b/src/main/res/xml/preferences.xml
@@ -247,7 +247,8 @@
android:icon="@drawable/ic_settings_black_24dp"
android:key="expert"
android:title="@string/pref_expert_options">
- <PreferenceCategory android:title="@string/pref_general">
+ <PreferenceCategory android:title="@string/pref_general"
+ android:key="general">
<ListPreference
android:defaultValue="@string/default_resource"
android:entries="@array/resources"
@@ -260,6 +261,14 @@
android:key="show_foreground_service"
android:summary="@string/pref_show_foreground_service_summary"
android:title="@string/pref_show_foreground_service"/>
+ <PreferenceScreen
+ android:key="huawei"
+ android:summary="@string/huawei_protected_apps_summary"
+ android:title="@string/huawei_protected_apps">
+ <intent
+ android:targetClass="com.huawei.systemmanager.optimize.process.ProtectActivity"
+ android:targetPackage="com.huawei.systemmanager" />
+ </PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_ui_options">
<CheckBoxPreference