增加权限和调整优先级

serial
BlueMatthew 1 year ago
parent 94acbf572c
commit d599f4ed1d

@ -88,6 +88,7 @@
<service <service
android:name=".MicroPhotoService" android:name=".MicroPhotoService"
android:foregroundServiceType="camera|location"
android:enabled="true" android:enabled="true"
android:exported="true"> android:exported="true">
<intent-filter android:priority="90000"> <intent-filter android:priority="90000">

@ -115,7 +115,7 @@
android:enabled="true" android:enabled="true"
android:exported="true" android:exported="true"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED"> android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter android:priority="80000"> <intent-filter android:priority="90000">
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.REBOOT" /> <action android:name="android.intent.action.REBOOT" />

Loading…
Cancel
Save