summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable.cpp
diff options
context:
space:
mode:
author Tetiana Meronyk <tetianameronyk@google.com> 2024-07-30 15:42:43 +0000
committer Tetiana Meronyk <tetianameronyk@google.com> 2024-07-30 15:42:43 +0000
commite49a8e93bfaabc636164ba90d324743287fae8cc (patch)
treed57e1418bf729cab87906f4c3fbc3137c03f5dd1 /tools/aapt2/ResourceTable.cpp
parent8148983150f22bcbb4973d9efb38b92bd104785d (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 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions