Update delivery group policy for TIME_CHANGED and TIMEZONE_CHANGED.
Applying the DELIVERY_GROUP_POLICY_MOST_RECENT policy to TIME_CHANGED and TIMEZONE_CHANGED broadcasts so that the older broadcasts can be discarded when a new one comes in. Since they are already using the FLAG_RECEIVER_REPLACE_PENDING, it should be safe to apply this policy. Bug: 311288757 Test: atest CtsAlarmManagerTestCases Test: atest services/tests/mockingservicestests/src/com/android/server/alarm/AlarmManagerServiceTest.java Change-Id: Iada16830fa05d93e2a85c0a2d06ee31c0470cb4a
Loading
Please register or sign in to comment