隐藏setting截屏选项
diff --git a/packages/apps/Settings/res/xml/top_level_settings.xml b/packages/apps/Settings/res/xml/top_level_settings.xml
index a5e4d062436..60ff08366ad 100644
--- a/packages/apps/Settings/res/xml/top_level_settings.xml
+++ b/packages/apps/Settings/res/xml/top_level_settings.xml
@@ -130,8 +130,9 @@
android:title="@string/screenshot_manager"
android:summary="@string/screenshot_manager"
android:icon="@drawable/ic_homepage_screenshot"
- android:order="-10"
- android:fragment="com.android.settings.ScreenshotSettings"/>
+ android:order="-10"
+ settings:isPreferenceVisible="false"
+ android:fragment="com.android.settings.ScreenshotSettings"/>
<Preference
android:key="top_level_system"
部署
adb shell setprop persist.sys.root_access 3
adb root
adb remount
adb shell settings put system screenshot_button_show 0
adb push ./Settings.apk /product/priv-app/Settings/Settings.apk