我有一个名为com.xxx.yyy.zzz的应用程序,我想将其列入白名单。我尝试了https://source.android.com/devices/tech/config/perms-whitelist。但是,仍然显示相同的错误。
我可以在不指定应用程序活动文件的情况下将其列入白名单
我的logcat中出现以下错误。
E ActivityTrigger: activityResumeTrigger: not whiteListedcom.xxx.yyy.zzz/com.xxx.yyy.zzz.StartUpActivity/5
应用程序的AndroidManifest.xml文件如下
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:sharedUserId="android.uid.qqq"
android:versionCode="5"
android:versionName="2.0.73.2"
android:allowBackup="false"
android:installLocation="1"
package="com.xxx.yyy.zzz"
platformBuildVersionCode="27"
platformBuildVersionName="8.1.0">
<permission
android:name="com.xxx.yyy.zzz.permission.ENTERTAINMENT_SETTINGS"
android:protectionLevel="0x402" />
<permission
android:name="com.xxx.yyy.zzz.permission.MAIN_OVERLAY"
android:protectionLevel="0x402" />
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="27" />
<uses-feature
android:glEsVersion="0x20000"
android:required="true" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission
android:name="android.permission.BLUETOOTH" />
<uses-permission
android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.WRITE_SETTINGS" />
<uses-permission
android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission
android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-permission
android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission
android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission
android:name="android.permission.INJECT_EVENTS" />
<application
android:label="@ref/0x7f0a076b"
android:icon="@ref/0x7f030000"
android:name="md5b608b4936af23e76e57224834306c8bb.UIApplication"
android:persistent="true"
android:allowBackup="true"
android:largeHeap="true"
android:supportsRtl="true"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<meta-data
android:name="com.skobbler.ngx.API_KEY"
android:value="e288615a71b08e94cdfaea98fef54da9579035e7b6aff99ae5f04822f2a14bb9" />
<activity
android:theme="@ref/0x01030010"
android:label="BX_SR_TN"
android:icon="@ref/0x7f030000"
android:name="com.xxx.yyy.zzz.DayLightSavingIntent"
android:launchMode="2"
android:screenOrientation="0" />
<receiver
android:name="md59d95dbab71941e137ef724fbceda5f0e.BaseActivity_ActivityKiller"
android:enabled="true"
android:exported="false" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="ClimateActivityFUP"
android:name="md59d95dbab71941e137ef724fbceda5f0e.ClimateActivityFup"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x0103000a"
android:label="ConnectivityHMILauncherActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.ConnectivityHMILauncherActivity"
android:screenOrientation="1" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="HMI_common"
android:icon="@ref/0x7f030000"
android:name="md59d95dbab71941e137ef724fbceda5f0e.MainOverlayActivity"
android:permission="com.xxx.yyy.zzz.permission.MAIN_OVERLAY"
android:screenOrientation="0">
<intent-filter>
<action
android:name="android.intent.action.VIEW" />
<action
android:name="android.intent.category.SETUP_WIZARD" />
<category
android:name="android.intent.category.DEFAULT" />
<category
android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="tel" />
</intent-filter>
</activity>
<activity
android:theme="@ref/0x7f0b018d"
android:label="Media Player"
android:name="md59d95dbab71941e137ef724fbceda5f0e.MediaPlayerActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="Settings"
android:name="md59d95dbab71941e137ef724fbceda5f0e.SettingsBaseActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018d"
android:label="TelephonyCallsActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.TelephonyCallsActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018d"
android:label="TelephonyMainActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.TelephonyMainActivity"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018d"
android:label="TunerActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.TunerActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="WellnessActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.WellnessActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018d"
android:label="EntertainmentActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.EntertainmentSettingsActivity"
android:permission="com.xxx.yyy.zzz.permission.ENTERTAINMENT_SETTINGS"
android:launchMode="1"
android:screenOrientation="0">
<intent-filter>
<action
android:name="com.xxx.yyy.zzz.action.VIDEO_SETTINGS_INTENT" />
<action
android:name="com.xxx.yyy.zzz.action.SOUND_SETTINGS_INTENT" />
<category
android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:theme="@ref/0x7f0b018a"
android:label="EntertainmentSharingActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.EntertainmentSharingActivity"
android:launchMode="2"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="HdmiActivity"
android:name="md59d95dbab71941e137ef724fbceda5f0e.HdmiActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="Navigation"
android:name="md59d95dbab71941e137ef724fbceda5f0e.NavigationBaseActivity"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018c"
android:label="BM_SR_TN"
android:icon="@ref/0x7f030000"
android:name="com.xxx.yyy.zzz.StartUpActivity"
android:launchMode="2"
android:screenOrientation="0">
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter
android:priority="7">
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.HOME" />
<category
android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:theme="@ref/0x7f0b018a"
android:label="LanguageLoadingActivity"
android:name="md501e2e764e3884073336e8f63fc55236f.LanguageLoadingActivity"
android:launchMode="1"
android:screenOrientation="0" />
<activity
android:theme="@ref/0x7f0b018a"
android:label="Remote"
android:name="md553d9bf1a0dcc83f34495be4f5fcbdfad.RemoteMainActivity"
android:screenOrientation="0" />
<receiver
android:name="md5d01bf8b76fa28cad02d0cae08df06017.ApplicationAliveKillReceiver" />
<receiver
android:name="md5d01bf8b76fa28cad02d0cae08df06017.RseBroadcastReceivers" />
<provider
android:name="mono.android.MultiDexLoader"
android:exported="false"
android:authorities="com.xxx.yyy.zzz.mono.android.MultiDexLoader.__mono_init__"
android:initOrder="1999999999"
android:directBootAware="true" />
<provider
android:name="mono.MonoRuntimeProvider"
android:exported="false"
android:authorities="com.xxx.yyy.zzz.mono.MonoRuntimeProvider.__mono_init__"
android:initOrder="1999999998"
android:directBootAware="true" />
<meta-data
android:name="android.arch.lifecycle.VERSION"
android:value="27.0.0-SNAPSHOT" />
<meta-data
android:name="android.support.VERSION"
android:value="26.1.0" />
</application>
</manifest>