fix manifest to work for Android 31 and above

This commit is contained in:
Eric House 2022-08-20 11:56:52 -07:00
parent 85e6fb0dbf
commit 5654602662

View file

@ -58,6 +58,7 @@
<activity android:name="MainActivity"
android:label="@string/app_name"
android:launchMode="singleTask"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
@ -108,11 +109,12 @@
<activity android:name="PrefsActivity"
android:label="@string/title_prefs"
android:screenOrientation="sensor"
android:theme="@style/Theme.AppCompat"
android:theme="@style/Theme.AppCompat"
/>
<receiver android:name="OnBootReceiver">
<receiver android:name="OnBootReceiver"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
@ -121,7 +123,9 @@
<receiver android:name="TimerReceiver"/>
<receiver android:name="DupeModeTimer"/>
<receiver android:name="UpdateCheckReceiver">
<receiver android:name="UpdateCheckReceiver"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
@ -131,6 +135,7 @@
<activity android:name=".DwnldActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
@ -152,7 +157,9 @@
<activity android:name=".loc.LocItemEditActivity"
/>
<receiver android:name=".MountEventReceiver">
<receiver android:name=".MountEventReceiver"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MEDIA_MOUNTED" />
<data android:scheme="file" />
@ -164,7 +171,8 @@
</receiver>
<service android:name="NFCCardService" android:exported="true"
android:permission="android.permission.BIND_NFC_SERVICE">
android:permission="android.permission.BIND_NFC_SERVICE"
>
<intent-filter>
<action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE"/>
</intent-filter>