Set android:exported

This commit is contained in:
xynngh 2021-10-30 14:36:07 +04:00
parent 6955a6fb5a
commit 98fc252e2e
1 changed files with 7 additions and 2 deletions

View File

@ -33,6 +33,7 @@
tools:ignore="GoogleAppIndexingWarning"> tools:ignore="GoogleAppIndexingWarning">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"> android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -92,6 +93,7 @@
android:autoRemoveFromRecents="true" android:autoRemoveFromRecents="true"
android:directBootAware="true" android:directBootAware="true"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:exported="true"
android:noHistory="true" android:noHistory="true"
android:theme="@style/DialogBackgroundTheme"> android:theme="@style/DialogBackgroundTheme">
<intent-filter> <intent-filter>
@ -120,7 +122,8 @@
<receiver <receiver
android:name=".StartupReceiver" android:name=".StartupReceiver"
android:directBootAware="true" android:directBootAware="true"
android:enabled="false"> android:enabled="false"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter> </intent-filter>
@ -130,7 +133,8 @@
</receiver> </receiver>
<receiver <receiver
android:name=".PhoneStateBroadcastReceiver" android:name=".PhoneStateBroadcastReceiver"
android:directBootAware="true"> android:directBootAware="true"
android:exported="true">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.PHONE_STATE" /> <action android:name="android.intent.action.PHONE_STATE" />
</intent-filter> </intent-filter>
@ -146,6 +150,7 @@
<service <service
android:name=".CallScreeningServiceImpl" android:name=".CallScreeningServiceImpl"
android:directBootAware="true" android:directBootAware="true"
android:exported="true"
android:permission="android.permission.BIND_SCREENING_SERVICE"> android:permission="android.permission.BIND_SCREENING_SERVICE">
<intent-filter> <intent-filter>
<action android:name="android.telecom.CallScreeningService" /> <action android:name="android.telecom.CallScreeningService" />