文件为packages/apps/Settings/res/xml/shortcuts.xml,屏蔽对应的节点即可。比如我要全部删除的话,修改如下:
--- a/packages/apps/Settings/res/xml/shortcuts.xml
+++ b/packages/apps/Settings/res/xml/shortcuts.xml
@@ -15,7 +15,7 @@
~ limitations under the License
-->
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" >
- <shortcut
+ <!--<shortcut
android:shortcutId="manifest-shortcut-wifi"
android:icon="@drawable/ic_shortcut_wireless"
android:shortcutShortLabel="@string/wifi_settings" >
@@ -35,5 +35,5 @@
android:icon="@drawable/ic_shortcut_battery"
android:shortcutShortLabel="@string/power_usage_summary_title" >
<intent android:action="android.intent.action.POWER_USAGE_SUMMARY" />
- </shortcut>
+ </shortcut>-->
</shortcuts>