Skip to content

Commit

Permalink
rf: move setupBluetooth for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
sowens-csd committed Jun 30, 2023
1 parent f6bdbce commit c7c44c4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ public class SpeechToTextPlugin :
activeResult = null
return
}
setupBluetooth()
} else {
if (!SpeechRecognizer.isRecognitionAvailable(localContext)) {
Log.e(logTag, "Speech recognition not available on this device")
Expand All @@ -517,8 +516,8 @@ public class SpeechToTextPlugin :
activeResult = null
return
}
setupBluetooth()
}
setupBluetooth()
// createRecognizer(false)
} else {
debugLog("null context during initialization")
Expand Down

0 comments on commit c7c44c4

Please sign in to comment.