diff options
| author | 2024-07-30 15:42:43 +0000 | |
|---|---|---|
| committer | 2024-07-30 15:42:43 +0000 | |
| commit | e49a8e93bfaabc636164ba90d324743287fae8cc (patch) | |
| tree | d57e1418bf729cab87906f4c3fbc3137c03f5dd1 /api/api_test.go | |
| parent | 8148983150f22bcbb4973d9efb38b92bd104785d (diff) | |
Do not add "Switch user" action if switching users disallowed
Only add "Mute" action to alarm notification from background user is user switching is disallowed or disabled.
Bug: 356380324
Test: manual: 1. set timer on user 11 -> switch to another user 10 -> notification shows with 2 actions. 2. set timer on user 11 -> switch to another user 10 -> adb shell pm set-user-restriction --user 10 no_user_switch 0 -> notification shows with only "Mute" action.
Flag: android.multiuser.add_ui_for_sounds_from_background_users
Change-Id: Icbc564bb017c9ac651ba450de5c32eb83ccbecaa
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions