diff options
author | Wang ArvinX <arvinx.wang@intel.com> | 2019-10-05 23:57:40 +0530 |
---|---|---|
committer | Prashanth M, Shakthi <shakthi.prashanth.m@intel.com> | 2019-10-07 04:56:17 +0530 |
commit | 1a7070a6d4799e9319d118ecf0f225c54432d795 (patch) | |
tree | 60e2004a8d54fee8e27cbb271254a51ff13bddf2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 03f8581876c641a8315f63e7efd3a9930da693a3 (diff) |
Set Assistant UID of the current user.
As per the new concurrent capture policy introduced in Android-10, on user 10 (Driver),
when Voice recording is ongoing, if user says "Ok, Google", Audio policy shall forward
the audio data to both record clients (Voice recorder and Assitant); However, Assistant
gets silence, because Audio policy perceives Assitant as an ordinary record client.
This is due to the wrong Assistant UID set in AudioSystem.java when user-10 is logged in.
This commit ensures to set the right Assistant Uid as that of the current user logged-in.
Change-Id: Id838a250c021cbd56fbe12dda9690d01cb9a9832
Tracked-On:
Test: manual - Triggered assistant during Voice recorder
Signed-off-by: Prashanth M, Shakthi <shakthi.prashanth.m@intel.com>
Co-authored-by: Prashanth M, Shakthi <shakthi.prashanth.m@intel.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions