Merge pull request #6429 from vector-im/feature/bma/fragile_data

Add `android:hasFragileUserData="true"` in the manifest
This commit is contained in:
Benoit Marty 2022-06-30 17:11:27 +02:00 committed by GitHub
commit 98a7f7df4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

1
changelog.d/6429.misc Normal file
View File

@ -0,0 +1 @@
Add `android:hasFragileUserData="true"` in the manifest

View File

@ -77,6 +77,7 @@
<application <application
android:name=".VectorApplication" android:name=".VectorApplication"
android:allowBackup="false" android:allowBackup="false"
android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
@ -85,6 +86,7 @@
android:supportsRtl="true" android:supportsRtl="true"
android:taskAffinity="${applicationId}.${appTaskAffinitySuffix}" android:taskAffinity="${applicationId}.${appTaskAffinitySuffix}"
android:theme="@style/Theme.Vector.Light" android:theme="@style/Theme.Vector.Light"
tools:ignore="UnusedAttribute"
tools:replace="android:allowBackup"> tools:replace="android:allowBackup">
<!-- No limit for screen ratio: avoid black strips --> <!-- No limit for screen ratio: avoid black strips -->
@ -413,9 +415,9 @@
<!-- UnifiedPush --> <!-- UnifiedPush -->
<receiver <receiver
android:exported="true" android:name=".core.pushers.VectorMessagingReceiver"
android:enabled="true" android:enabled="true"
android:name=".core.pushers.VectorMessagingReceiver"> android:exported="true">
<intent-filter> <intent-filter>
<action android:name="org.unifiedpush.android.connector.MESSAGE" /> <action android:name="org.unifiedpush.android.connector.MESSAGE" />
<action android:name="org.unifiedpush.android.connector.UNREGISTERED" /> <action android:name="org.unifiedpush.android.connector.UNREGISTERED" />