From e8d2d95091c5842db66f9db449b3b19b2c2b5729 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 17 Sep 2024 08:59:42 +0200 Subject: [PATCH] fix(manifest): set exported=true for activities and receivers Set `android:exported="true"` for MainActivity, PanicResponderActivity, PlainTextBackupBroadcastReceiver, and EncryptedBackupBroadcastReceiver to address changes in Android 12 requirements. Ensures components can be launched by the system or other applications, making the app compatible with Android 12's stricter component exporting rules. --- app/src/main/AndroidManifest.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f3a4a4e8..50c4f5b3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -21,6 +21,7 @@ android:name=".Activities.MainActivity" android:label="@string/app_name" android:theme="@style/AppTheme.NoActionBar" + android:exported="true" android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|keyboard"> @@ -68,6 +69,7 @@ android:name=".Activities.PanicResponderActivity" android:launchMode="singleInstance" android:noHistory="true" + android:exported="true" android:theme="@android:style/Theme.NoDisplay"> @@ -75,13 +77,13 @@ - + - +