Skip to content

Commit

Permalink
add foregroundServiceType
Browse files Browse the repository at this point in the history
  • Loading branch information
Okuro3499 committed Feb 15, 2024
1 parent c7e6fb1 commit 5f16587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
tools:ignore="ProtectedPermissions" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE"/>

<application
android:name=".MainApplication"
Expand Down Expand Up @@ -68,6 +69,7 @@
android:name=".network.BluetoothChatService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="connectedDevice"
android:label="Bluetooth Connection" />
</application>
</manifest>

0 comments on commit 5f16587

Please sign in to comment.