Skip to content

Commit

Permalink
refactor: remove bluetooth permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Nov 25, 2023
1 parent 2b7aa10 commit d6b2d4c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission
android:name="android.permission.BLUETOOTH"
android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

<application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ class PermissionsManager(private val symphony: Symphony) {

private fun getRequiredPermissions(): List<String> {
val required = mutableListOf(Manifest.permission.READ_EXTERNAL_STORAGE)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
required.add(Manifest.permission.BLUETOOTH_CONNECT)
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
required.add(Manifest.permission.READ_MEDIA_AUDIO)
required.add(Manifest.permission.POST_NOTIFICATIONS)
Expand Down

0 comments on commit d6b2d4c

Please sign in to comment.