Skip to content

Commit 475e170

Browse files
committed
Remove BT Scan Permission Check
1 parent 578a182 commit 475e170

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

android/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/MainActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
5656
if (grantResults.length > 0) {
5757

5858
boolean connectAccepted = grantResults[0] == PackageManager.PERMISSION_GRANTED;
59-
boolean scanAccepted = grantResults[1] == PackageManager.PERMISSION_GRANTED;
6059

61-
if (connectAccepted && scanAccepted) {
60+
if (connectAccepted) {
6261
SdlReceiver.queryForConnectedService(this);
6362
}
6463
}

0 commit comments

Comments
 (0)