Fix compatibility with Android 14+

This commit is contained in:
Ming Ming 2024-08-12 20:38:10 +08:00
parent 343d5fc35c
commit 4fff828643

View file

@ -1,10 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
<application> <application>
<service <service
android:name=".ImageProcessorService" android:name=".ImageProcessorService"
android:exported="false" /> android:exported="false"
android:foregroundServiceType="dataSync" />
</application> </application>
</manifest> </manifest>