Add "defer-until-active" policy to TIME_TICK broadcast.
Adding this policy ensures that apps in the Cached/Frozen state are not brought out of that state to deliver this broadcast. Also, update the usage of makeRemovingMatchingFilter() as it is deprecated. Bug: 266988990 Bug: 266001401 Test: atest ./services/tests/mockingservicestests/src/com/android/server/alarm/AlarmManagerServiceTest.java Change-Id: Iff993aa8fa03a5da69517bd46343e8b8c5a1bf48
Loading
Please register or sign in to comment