Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e423d11 authored by Adam Bookatz's avatar Adam Bookatz
Browse files

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
parent ded22208
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment