diff options
author | ryanlwlin <ryanlwlin@google.com> | 2020-05-06 20:06:11 +0800 |
---|---|---|
committer | ryanlwlin <ryanlwlin@google.com> | 2020-05-06 20:44:09 +0800 |
commit | 5e08c38c8954101b98fd8819c3a23aec874d79af (patch) | |
tree | 2b5ba78c871bd8c7f82727690f1d20b92e9db6fb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b97976134c54ea203924a9718888e7bea19c51c3 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions