Skip to content

Commit 91c5c86

Browse files
committed
Fix for androidX
1 parent c5ee477 commit 91c5c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/wenkesj/voice/VoiceModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import android.speech.RecognitionService;
1212
import android.speech.RecognizerIntent;
1313
import android.speech.SpeechRecognizer;
14-
import android.support.annotation.NonNull;
14+
import androidx.annotation.NonNull;
1515
import android.util.Log;
1616

1717
import com.facebook.react.bridge.Arguments;
@@ -59,7 +59,7 @@ private void startListening(ReadableMap opts) {
5959
speech.destroy();
6060
speech = null;
6161
}
62-
62+
6363
if(opts.hasKey("RECOGNIZER_ENGINE")) {
6464
switch (opts.getString("RECOGNIZER_ENGINE")) {
6565
case "GOOGLE": {

0 commit comments

Comments
 (0)