Skip to content
Commit 4dc508d1 authored by Jay Aliomer's avatar Jay Aliomer
Browse files

Persist snoozed notifications after restart

The state of snoozed notifications is lost after restart. To prevent
snoozed notifications from sending notifications, we intercept posted
notifications and re-snooze them if they were supposed to be snoozed
before restart/turning off. We store that state in the
notifications_polixy.xml file. (usually in /data/system)

Bug: 120617189
Test: atest SnoozeHelperTest NotificationManagerServiceTest
Change-Id: I3a19ad2f0ba98ab385a0ff12a5c7affba6e4f1e5
parent 3ef6415c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment