Skip to content

Commit

Permalink
Changed the HotspotService type to dataSync.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Oct 10, 2024
1 parent bdac357 commit 0e81f7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

<!-- Device with versions >= Pie need this permission -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- Device with versions >= UPSIDE_DOWN_CAKE need these permissions-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />

<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission
Expand Down Expand Up @@ -106,6 +105,6 @@
android:foregroundServiceType="mediaPlayback" />
<service
android:name=".webserver.wifi_hotspot.HotspotService"
android:foregroundServiceType="connectedDevice" />
android:foregroundServiceType="dataSync" />
</application>
</manifest>

0 comments on commit 0e81f7e

Please sign in to comment.