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


    修改文件: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"
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
  • 相关阅读:
    【Linux-Windows】简述IPv4子网掩码网关和DNS
    c++类构造函数、拷贝函数 、 赋值函数、析构函数
    Encoder——Decoder工作原理与代码支撑
    《动手学深度学习》(pytorch版+mxnet版)2023最新
    Pytest 的高级用法之插件开发
    安装编译openssl支持https访问
    五个步骤轻松搞定软件开发流程
    基于编码策略的电网假数据注入攻击检测
    MessageBox的模版语法上如何注册事件
    JDK19新特性使用详解
  • 原文地址:https://blog.csdn.net/for_syq/article/details/132804856