Skip to content
Commit 5e08c38c authored by ryanlwlin's avatar ryanlwlin
Browse files

Fix Voice shortcuts not working system-wide in R

SpeechRecognizer binds RecognitionService to realize it's feature.
When RecognitionService checks the record_audio permission, itself
doesn't have the capabilities to use the permission since it's not
a foreground process. We use the addition flag to allow the bounded
process to get same capabilities.

Bug: 154954447
Test: manual test:
   1. Install Talkback with voice shortcut feature
   3. assign voice shorct function to any gesture
   2. launch any app to leave home and trigger shortcut via the gesture
Change-Id: I2f867af739c69a5ba29bb49397819cb61915e42d
parent b9797613
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment