For Android 12 we'll need to have export set on all items declaring an intent-filter
This commit is contained in:
parent
188800e9bd
commit
37cb30047e
2 changed files with 10 additions and 4 deletions
|
@ -93,7 +93,7 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 4500
|
versionCode 4600
|
||||||
versionName "${project.version}"
|
versionName "${project.version}"
|
||||||
applicationId getPackageName()
|
applicationId getPackageName()
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activities.launcher.LauncherActivity"
|
android:name=".activities.launcher.LauncherActivity"
|
||||||
|
android:exported="true"
|
||||||
android:noHistory="true"
|
android:noHistory="true"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<activity android:name=".activities.main.MainActivity"
|
<activity android:name=".activities.main.MainActivity"
|
||||||
|
android:exported="true"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize">
|
||||||
<nav-graph android:value="@navigation/main_nav_graph" />
|
<nav-graph android:value="@navigation/main_nav_graph" />
|
||||||
|
@ -136,6 +138,7 @@
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name=".core.CoreService"
|
android:name=".core.CoreService"
|
||||||
|
android:exported="false"
|
||||||
android:foregroundServiceType="phoneCall|camera|microphone"
|
android:foregroundServiceType="phoneCall|camera|microphone"
|
||||||
android:stopWithTask="false"
|
android:stopWithTask="false"
|
||||||
android:label="@string/app_name" />
|
android:label="@string/app_name" />
|
||||||
|
@ -162,7 +165,8 @@
|
||||||
android:resource="@xml/contacts" />
|
android:resource="@xml/contacts" />
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service android:name=".contact.DummyAuthenticationService">
|
<service android:name=".contact.DummyAuthenticationService"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.accounts.AccountAuthenticator" />
|
<action android:name="android.accounts.AccountAuthenticator" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@ -174,7 +178,8 @@
|
||||||
|
|
||||||
<!-- Receivers -->
|
<!-- Receivers -->
|
||||||
|
|
||||||
<receiver android:name=".core.CorePushReceiver">
|
<receiver android:name=".core.CorePushReceiver"
|
||||||
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="org.linphone.core.action.PUSH_RECEIVED"/>
|
<action android:name="org.linphone.core.action.PUSH_RECEIVED"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
@ -185,7 +190,8 @@
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
|
|
||||||
<receiver android:name=".core.BootReceiver">
|
<receiver android:name=".core.BootReceiver"
|
||||||
|
android:exported="true">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
||||||
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
||||||
|
|
Loading…
Reference in a new issue