summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Adam Bookatz <bookatz@google.com> 2024-09-30 14:58:39 -0700
committer Adam Bookatz <bookatz@google.com> 2024-10-01 15:47:30 +0000
commit8e423d11569e18a6c50c4b33bade4ee5f9a4a422 (patch)
treeca86bb6e6b9c2a95a2d51abb5c28128a6d22e8a9 /api/api_test.go
parentded22208553e1a5c595985475a3e7ad694b4b4d1 (diff)
SoundTriggerService.startRecognition - callingUser
SoundTriggerService.startRecognitionForService() uses the calling user for setting up its RemoteSoundTriggerDetectionService, to inform the caller of sound trigger events. However, this method is first clearing the calling id, so when it fetches the caller's userHandle, it will always get user 0, rather than the actual caller. This cl fixes that. Bug: 341193639 Test: Manual - have an app in user 10 use this service and verify it receives the triggers Flag: EXEMPT bugfix Change-Id: I5bcec1797f65d53ff6110241ddd827c2dc4bf894
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions