termux-api
termux-api copied to clipboard
dialog speech crash the app
Problem description
Termux:API App has crashed after I executed the command termux-dialog speech
.
Report Info
User Action: crash report
Sender: TermuxActivity
Report Timestamp: 2022-09-01 00:22:53.203 UTC
Crash Details
Crash Thread: Thread[main,5,main]
Crash Timestamp: 2022-08-31 17:29:43.351 UTC
Crash Message:
Unable to start activity ComponentInfo{com.termux.api/com.termux.api.DialogActivity}: java.lang.SecurityException: Not allowed to bind to service Intent { act=android.speech.RecognitionService cmp=com.mediatek.voicecommand.vis/.VoiceWakeupRecognitionService }
Stacktrace
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.termux.api/com.termux.api.DialogActivity}: java.lang.SecurityException: Not allowed to bind to service Intent { act=android.speech.RecognitionService cmp=com.mediatek.voicecommand.vis/.VoiceWakeupRecognitionService }
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3342)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3491)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2075)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7589)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:994)
Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { act=android.speech.RecognitionService cmp=com.mediatek.voicecommand.vis/.VoiceWakeupRecognitionService }
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1751)
at android.app.ContextImpl.bindService(ContextImpl.java:1661)
at android.content.ContextWrapper.bindService(ContextWrapper.java:715)
at android.content.ContextWrapper.bindService(ContextWrapper.java:715)
at android.speech.SpeechRecognizer.startListening(SpeechRecognizer.java:287)
at com.termux.api.DialogActivity$m.b(Unknown Source:78)
at com.termux.api.DialogActivity.onCreate(Unknown Source:43)
at android.app.Activity.performCreate(Activity.java:7893)
at android.app.Activity.performCreate(Activity.java:7880)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1306)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3317)
... 11 more
Termux:API App Info (Current)
APP_NAME: Termux:API
PACKAGE_NAME: com.termux.api
VERSION_NAME: 0.50.0
VERSION_CODE: 50
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42
Termux App Info
APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE90831C1499EC3CCAF61E96E8E1CE70766B9474672CE427334D41C42
Device Info
Software
OS_VERSION: 4.14.141-ga540ec5
SDK_INT: 29
RELEASE: 10
ID: QP1A.190711.020
DISPLAY: QP1A.190711.020
INCREMENTAL: V12.0.8.0.QJLCNXM
SECURITY_PATCH: 2021-01-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys
Hardware
MANUFACTURER: Xiaomi
BRAND: Redmi
MODEL: M2004J7BC
PRODUCT: bomb
BOARD: bomb
HARDWARE: mt6873
DEVICE: bomb
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi