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

Skip to content
Commit 2c190cb0 authored by Matías Hernández's avatar Matías Hernández
Browse files

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
parent 5025d685
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