备份和还原:备份菜单下显示空白无内容。(去除设置中的备份和还原)

修改文件:MtkSettings/AndroidManifest.xml

            android:name=".dashboard.SummaryProvider"
             android:authorities="com.android.settings.dashboard.SummaryProvider">
         </provider>
+<!--        <activity android:name=".backup.UserBackupSettingsActivity"-->
+<!--                  android:label="@string/privacy_settings_title"-->
+<!--                  android:icon="@drawable/ic_settings_backup">-->
+<!--            <intent-filter>-->
+<!--                <action android:name="android.intent.action.MAIN" />-->
+<!--                <category android:name="android.intent.category.DEFAULT" />-->
+<!--                <category android:name="android.intent.category.VOICE_LAUNCH" />-->
+<!--            </intent-filter>-->
+<!--            &lt;!&ndash; Mark the activity as a dynamic setting &ndash;&gt;-->
+<!--            <intent-filter>-->
+<!--                <action android:name="com.android.settings.action.IA_SETTINGS" />-->
+<!--            </intent-filter>-->
+<!--            &lt;!&ndash; Tell Settings app which category it belongs to &ndash;&gt;-->
+<!--            <meta-data android:name="com.android.settings.category"-->
+<!--                       android:value="com.android.settings.category.ia.system" />-->
+<!--            <meta-data android:name="com.android.settings.summary_uri"-->
+<!--                       android:value="content://com.android.settings.dashboard.SummaryProvider/backup" />-->
+<!--            <meta-data android:name="com.android.settings.order" android:value="-60"/>-->
+<!--        </activity>-->
+
 
-        <activity android:name=".backup.UserBackupSettingsActivity"
-                  android:label="@string/privacy_settings_title"
-                  android:icon="@drawable/ic_settings_backup">
-            <intent-filter>
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.DEFAULT" />
-                <category android:name="android.intent.category.VOICE_LAUNCH" />
-            </intent-filter>
-            <!-- Mark the activity as a dynamic setting -->
-            <intent-filter>
-                <action android:name="com.android.settings.action.IA_SETTINGS" />
-            </intent-filter>
-            <!-- Tell Settings app which category it belongs to -->
-            <meta-data android:name="com.android.settings.category"
-                       android:value="com.android.settings.category.ia.system" />
-            <meta-data android:name="com.android.settings.summary_uri"
-                       android:value="content://com.android.settings.dashboard.SummaryProvider/backup" />
-            <meta-data android:name="com.android.settings.order" android:value="-60"/>
-        </activity>
 
         <activity
             android:name="Settings$AutomaticStorageManagerSettingsActivity"

你可能感兴趣的:(Android,系统开发,java)