History log of /frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fe58f1f3862eb98837d2da6826dc17b67bf029cf 19-Jul-2016 Julia Reynolds <juliacr@google.com> Snooze schedule rules that were canceled by alarms.

So a reboot or snoozed alarm doesn't cause them to
reactivate.

Bug: 30087850
Change-Id: I83fdb88009b515d442993944aec40df7365e830f
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
9eb2c1e85cd5def851ebe833a7f56a49f00e448f 02-Jun-2016 Julia Reynolds <juliacr@google.com> Handle alarm firing outside of DND period.

Change-Id: Ib8bb878709ab8b5db8aba7f31e239e44409e18d4
Fixes: 28459870
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
83eec7037bfe8a84088cca6dc1446dcf1edb4695 25-May-2016 Julia Reynolds <juliacr@google.com> Note timezone changes.

Bug: 28945282
Change-Id: I62fc62e359435f19fecd7e52b2fe778475c5804c
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
7f73308f50791740beb380fecc17903301054ad3 26-Apr-2016 Julia Reynolds <juliacr@google.com> More bugreport logging for scheduleconditionprovider.

Bug: 28261291
Change-Id: I70d1b466a9d4e18e5f4d9b1209711c442434ecab
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
1998ee56285419ff7fea0ec9a247e31d1d27a0ab 11-Feb-2016 Julia Reynolds <juliacr@google.com> Alarm can end time-based rule.

Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
a62496d8f7cb9048331451af07466b1edc568c7d 29-Jan-2016 Julia Reynolds <juliacr@google.com> Re-SystemApi some fields/method that aren't in use.

Bug: 26816334
Change-Id: Ib01e7856cd65e294c018017c600f8b3dce2be844
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
1b8b22b1a412539020f78a132cff7c8fa7fae258 20-May-2015 John Spurlock <jspurlock@google.com> Zen: Calendar auto-rule tracks primary calendar for corp profile.

- Track the calendar provider for the managed profile user if found.
- Add userId to the shared data structure to disambig calendar ids.
- Delay rule update a bit to guard against chatty updates.
- Fix logging in calendar rule.

Bug: 21155107
Change-Id: Id2303fcc39b1fa7417b1844b7869d773ef92434c
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
a7d92b19c048fe2b3115073286103e9194a915d6 13-May-2015 John Spurlock <jspurlock@google.com> Zen: Serialize notify conditions calls, defer subscription.

- Don't subscribe/unsubscribe to new rules until the config has
been set, avoids race conditions.
- Process all condition updates on the same thread.
- Add the schedule provider's next alarm state to dumpsys.

Bug: 21111868
Change-Id: I389f4a4905a56d6c976f01408f48f87230109aba
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
2f096ed7662f9d20876ae2944ffc4ecf4fd51faa 04-May-2015 John Spurlock <jspurlock@google.com> Zen: Implement calendar event system condition provider.

- Wire up basic implementation for the system provider that
handles event-based DND subscriptions.
- Backed by the standard system calendar content provider.
- Move shared time utils to base class, clean up logging.

Bug: 20064962
Change-Id: I070b6baa580c592c2ab4101c6b44a254787f9dd7
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
d60258f2d33214077a22c1a682944fa9e47c0461 30-Apr-2015 John Spurlock <jspurlock@google.com> Zen: New event condition data model.

- Add system condition provider for calendar event-based rules.
- Add stub condition provider for handling event conditions.
- Add various shared items to support new settings subpage.

Bug: 20064962
Change-Id: I6f5afe0f1444976f0dc6807048e0580e8a28070e
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
39581cc16d3c44acc8f0881d8e63afe53acaa1c1 10-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Support external condition providers.

- Manage provider subscriptions for external condition providers
within ZenModeConditions.
- Move "is automatic rule active" check into common location.
- Add constant for external rule setting configuration page.
- Consolidate log tags.
- Reset rule snoozing on boot.

Bug: 20064962
Change-Id: Ida207dbf363f61e1727974e611f43f27c23accfb
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java
b2278d65714c0dd0a6f94d1913db1ebc8bfc8b06 07-Apr-2015 John Spurlock <jspurlock@google.com> An update on Downtime.

The update is that Downtime is obsolete. Replaced by the
ability to define multiple named schedule calendars.

- Make changes to ZenModeConfig to properly model manual
and automatic rules.
- Refactor the zen mode helper (and supporting classes) to
properly handle / report multiple claims on zen mode.
The "manual" rule (specified by the user in the UI) vs
one or more automatic rules.
- Automatic rules are still backed by condition providers,
but the layering is now cleaner. ConditionProviders is now
completely generic, has no ties to zen mode.
- Specifically, the new layering for zen mode (below noman) is:
ZenModeHelper: Source of truth for zen state
ZenModeFiltering: Subhelper dedicated to filtering rules.
ZenModeConditions: Subhelper dedicated to managing automatic rules.
ConditionProviders: Underlying engine for reporting named boolean state.
- Migration story for users with existing downtime config, migrated
to a single new calendar named downtime.
- For users with no existing downtime, two default calendars are created
for weeknights + weekends (icu4j for all locales will be done in a followup).
- Remove obsolete DowntimeConditionProvider/NextAlarmConditionProvider and tracking.
- Clean up obsolete resources.
- Add common zen summary description string computation.
- Add proper noman wrappers for the new model.
- Change the semantics of the global zen setting. It is now read-only. Setters
must call noman, added a "reason" to all calls for better attribution.
- Update zenmodepanel + volumedialog to the new model.
- Display the one or more automatic rules in the new zen footer summary.
- "Snooze" the automatic rules when the user explicitly turns zen off.

Bug: 20064962
Change-Id: Idd9deb865a6035ad0cfae660198dccb517e6d7cc
/frameworks/base/services/core/java/com/android/server/notification/ScheduleConditionProvider.java