diff options
| author | 2024-10-24 09:49:27 +0000 | |
|---|---|---|
| committer | 2024-10-29 15:28:07 +0000 | |
| commit | ba078dd014f956ef2e16df384b17a193a79d3d51 (patch) | |
| tree | 0870c4cf4a09be7169810cc318279df33633b670 /libs/input/PointerController.cpp | |
| parent | 73dc0f567ada3ebd35d5a8cc0aa41b603e64ca3f (diff) | |
Add check if the profile belongs to foreground user when showing notification.
Original implementation did not take into account the fact that the alarm can come from the profile that belongs to foreground user.
This CL expands the check to include this case.
Additionally, it now displays the name of full user when the alarm belongs to the profile and the user switch action has full user set as target user.
Bug: 375320522
Test: atest BackgroundUserSoundNotifierTest
Flag: EXEMPT bugfix
Change-Id: I54e6e81beae2ac3f9ed94a6b83015f17748ad732
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions