For Android 12 we'll need to have export set on all items declaring an intent-filter

This commit is contained in:
Sylvain Berfini 2021-07-15 11:44:54 +02:00
parent 188800e9bd
commit 37cb30047e
2 changed files with 10 additions and 4 deletions

View file

@ -93,7 +93,7 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 30
versionCode 4500
versionCode 4600
versionName "${project.version}"
applicationId getPackageName()
}

View file

@ -40,6 +40,7 @@
<activity
android:name=".activities.launcher.LauncherActivity"
android:exported="true"
android:noHistory="true"
android:theme="@style/AppTheme">
<intent-filter>
@ -52,6 +53,7 @@
</activity>
<activity android:name=".activities.main.MainActivity"
android:exported="true"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize">
<nav-graph android:value="@navigation/main_nav_graph" />
@ -136,6 +138,7 @@
<service
android:name=".core.CoreService"
android:exported="false"
android:foregroundServiceType="phoneCall|camera|microphone"
android:stopWithTask="false"
android:label="@string/app_name" />
@ -162,7 +165,8 @@
android:resource="@xml/contacts" />
</service>
<service android:name=".contact.DummyAuthenticationService">
<service android:name=".contact.DummyAuthenticationService"
android:exported="true">
<intent-filter>
<action android:name="android.accounts.AccountAuthenticator" />
</intent-filter>
@ -174,7 +178,8 @@
<!-- Receivers -->
<receiver android:name=".core.CorePushReceiver">
<receiver android:name=".core.CorePushReceiver"
android:exported="false">
<intent-filter>
<action android:name="org.linphone.core.action.PUSH_RECEIVED"/>
</intent-filter>
@ -185,7 +190,8 @@
android:enabled="true"
android:exported="false" />
<receiver android:name=".core.BootReceiver">
<receiver android:name=".core.BootReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />