基于MTK平台的Android O Settings修改

这篇博客详细介绍了如何在基于MTK平台的Android O系统设置中进行修改,包括Apps & notifications部分的App info设置,如隐藏apk、禁用应用功能以及通知默认关闭;Default apps的设置;Users & accounts中添加账户内容的显示;以及System中About phone的Build number详情。
摘要由CSDN通过智能技术生成

一级菜单:

//Network & internet
    <activity android:name=".Settings$NetworkDashboardActivity"
        android:taskAffinity="com.android.settings"
        android:label="@string/network_dashboard_title"
        android:icon="@drawable/ic_settings_wireless"
        android:parentActivityName="Settings">
        <intent-filter android:priority="1">
            <action android:name="android.settings.WIRELESS_SETTINGS" />
            <action android:name="android.settings.AIRPLANE_MODE_SETTINGS" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
        <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>
        <intent-filter android:priority="11">
            <action android:name="com.android.settings.action.SETTINGS"/>
        </intent-filter>
        <meta-data android:name="com.android.settings.category"
            android:value="com.android.settings.category.ia.homepage"/>
        <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
            android:value="com.android.settings.network.NetworkDashboardFragment"/>
        <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
            android:value="true" />
    </activity>
    
//Connected devices
        <activity android:name=".Settings$ConnectedDeviceDashboardActivity"
            android:taskAffinity="com.android.settings"
            android:label="@string/connected_devices_dashboard_title"
            android:icon="@drawable/ic_devices_other"
            android:parentActivityName="Settings">
            <intent-filter android:priority="1">
                <action android:name="android.settings.NFC_SETTINGS" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <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>
            <intent-filter android:priority="10">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment"/>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.ia.homepage"/>
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                android:value="true" />
        </activity>

//Apps & notifications
        <activity android:name=".Settings$AppAndNotificationDashboardActivity"
                  android:label="@string/app_and_notification_dashboard_title"
                  android:icon="@drawable/ic_apps">
            <intent-filter android:priority="9">
                <action android:name="com.android.settings.action.SETTINGS"/>
            </intent-filter>
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                       android:value="com.android.settings.applications.AppAndNotificationDashboardFragment"/>
            <meta-data android:name="com.android.settings.category"
                       android:value="com.android.settings.category.ia.homepage"/>
            <meta-data android:name="com.android.settings.summary"
                       android:resource="@string/app_and_notification_dashboard_summary"/>
        </activity>

//Battery
        <activity android:name="Settings$PowerUsageSummaryActivity"
                android:label="@string/power_usage_summary_title"
                android:icon="@drawable/ic_settings_battery"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="android.intent.action.POWER_USAGE_SUMMARY" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="com.android.settings.SHORTCUT" />
            </intent-filter>
            <intent-filter android:priority="8">
                <action android:name="com.android.settings.action.SETTINGS" />
            </intent-filter>
            <meta-data android:name="com.android.settings.category"
                android:value="com.android.settings.category.ia.homepage" />
            <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
                android:value="com.android.settings.fuelgauge.PowerUsageSummary" />
        </activity>

//Display
        <activity android:name="Settings$DisplaySettingsActivity"
                android:label="@string/display_settings"
                android:icon="@drawable/ic_settings_display"
                android:taskAffinity="">
            <intent-filter android:priority="1">
                <action android:name="com.android.settings.DISPLAY_SETTINGS" />
                <action android:name="
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值