diff options
author | Felipe Leme <felipeal@google.com> | 2019-08-15 16:23:47 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2019-08-21 15:15:30 -0700 |
commit | 501a514ba72548a49b4d2968ba348862ee64fb40 (patch) | |
tree | ef8b6b17dcdff13f941eacfa6735ccfb323f40ee /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | a02cf9798a5f3f1ba5bd467969ac81a34d3796a1 (diff) |
Defined a more generic way to let services "opt-out" from certain user types.
SystemService now defines a isSupported(UserInfo), which is used by SystemServiceManager to
skip the service for the unsupported types.
Also added a new argument to SystemService.onSwitch() to indicate which user is
being switched from.
Finally, also fixed VoiceInteractionManagerService so it doesn't start for headless user 0.
Test: manual verification
Test: atest CtsVoiceInteractionTestCases CtsAssistTestCases # on automotive and walleye
Bug: 133242016
Bug: 137878080
Change-Id: Ife4bd875f412f85cccf9c9fd03115abd238d7eab
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions