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

修改文件:MtkSettings/AndroidManifest.xml文章来源地址https://www.uudwc.com/A/9dE3W/

            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"

原文地址:https://blog.csdn.net/for_syq/article/details/132804856

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请联系站长进行投诉反馈,一经查实,立即删除!

h
上一篇 2023年09月12日 05:32
下一篇 2023年09月12日 05:32