summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-10-22 18:21:16 +0200
committer Matías Hernández <matiashe@google.com> 2024-10-22 18:24:55 +0200
commit2c190cb02b94db14b208feee5cd3e0aff1d766ea (patch)
treec29c0c18082a9cb0f8836e5f114b5ed1f6b9d8b9 /api/coverage/tools
parent5025d6854ee7798c7b7ea152e549354a1919500c (diff)
Listen to alarm changes for all users in ScheduleConditionProvider
Previously, the system was only registering for broadcasts on user 0 (SYSTEM) but AlarmManager sends broadcasts only to the user that owns the alarm that is changing. This meant that zen rules with "alarm can override end time" schedules didn't work correctly for secondary users (or for any users, in the case of HSUM). Fixes: 366141808 Test: atest ScheduleConditionProviderTest + manually Flag: android.app.modes_hsum Change-Id: I5f471522db22e8779a9837bbac340d0a7c2b60be
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions