fossasia / susi_android

SUSI.AI Android App https://play.google.com/apps/testing/ai.susi
Apache License 2.0
2.42k stars 1.11k forks source link

Cannot use or activate voice input on a Oneplus 5T with OxygenOS #2341

Open topas-rec opened 5 years ago

topas-rec commented 5 years ago

Describe the bug Voice input cannot be used after installation because no mic icon is shown in chat on a Oneplus 5T with its original OS. In the settings of SUSI.AI I cannot enable the mic input. The button is disabled or grayed out. I tested it with a lineageOS (Android 7.1.2) on a Galaxy S3 and it worked right after installing.

Expected Behaviour

On a proprietary OS from Oneplus voice input can be used after installation.

Steps to reproduce it

On a Oneplus 5T phone (with a current OS version - see below) install SUSI.AI app from Fdroid store, accept audio recording request and try to use voice input.

LogCat for the issue

Screenshots of the issue Screenshot_20190804-150603 Screenshot_20190804-150616 Screenshot_20190804-150627

Smartphone Info:

Device Oneplus 5T A5010
Android Version 9 (OxygenOS 9.0.7)

Would you like to work on the issue?

atm1504 commented 5 years ago

@topas-rec I just executed the apk of the development branch. Its working for me.

Screenshot 2019-08-04 at 7 24 53 PM
topas-rec commented 5 years ago

Thanks.

That looks like an emulator. Which android version do you use and is it a Oneplus 5T device with an android from Oneplus?

atm1504 commented 5 years ago

That's an emulator running android oreo. I have also tested in redmi note 5 pro, running android pi. It worked fine on both the devices.

topas-rec commented 5 years ago

This issue is device specific. See my bug description above :

I tested it with a lineageOS (Android 7.1.2) on a Galaxy S3 and it worked right after installing.

atm1504 commented 5 years ago

This issue is device specific. See my bug description above :

I tested it with a lineageOS (Android 7.1.2) on a Galaxy S3 and it worked right after installing.

Okk. Did you test it in other devices?

topas-rec commented 5 years ago

I tested it only on the two devices mentioned already:

It might also be some misconfiguration on my 5T. To find out it would be good to know if it happens on 5Ts of other people, too.

willnotwash commented 5 years ago

This exact issue is happening for me on a Motorola Moto G4 (Athene) with runnin /e/ version 0.7 (Android 7.1.2) with susi.ai app version 1.1.0 from F-Droid. Same thing: no mic option for input and the Mic options in settings are greyed-out.

fosspill commented 5 years ago

Same thing with S9+ with /e/ with susi.ai from F-Droid.