Skip to content

Commit

Permalink
Add foregroundServiceType + some permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Oct 11, 2023
1 parent e78e15e commit 4980633
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@

<!-- List networks -->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"
tools:targetApi="o" />
<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"
tools:targetApi="o" />
<!-- You known... -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Post notifications on Android 14+ -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- Download files -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- Load certificate or files -->
Expand Down Expand Up @@ -5677,6 +5682,7 @@
<!-- Notification service -->
<service
android:name=".services.NotificationService"
android:foregroundServiceType="dataSync"
android:exported="false" />

<!-- Boot completed receiver -->
Expand Down
2 changes: 1 addition & 1 deletion aria2lib

0 comments on commit 4980633

Please sign in to comment.