History log of /frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a9864d234757ef43b227f32b02f825fb0a33b61b 19-Apr-2016 Julia Reynolds <juliacr@google.com> Accept the calendar name in addition to the owner as a calendar filter.

Because that's what settings has been storing in the rule definition
since M.

Bug: 25974117
Change-Id: I54aa3f06b143948aa7c826fc069bdb76055a6413
/frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.java
995a749f278b45a2931b2846a60a8231dfd755b4 29-May-2015 John Spurlock <jspurlock@google.com> Zen: Use account name instead of calendar id in event conditions.

- Migrate the existing calendar attribute in the event condition
from a long calendar id to the calendar account name. More
portable across a backup/restore.
- Also skip restoring transient state (like the current condition
state) from restored automatic rules.

Bug: 17755700
Change-Id: I9bdb421d2209e3ce90873008665c254d67c788d2
/frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.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/CalendarTracker.java
cb9aa20bddbeebc3a052e40ca3b7d0a511fa8358 08-May-2015 John Spurlock <jspurlock@google.com> Zen: Tweak default automatic rules.

- Add a new default rule for calendar events.
- Rename all default rules to singular form. i.e. Weekend/Weeknight/Event

Bug: 20064962
Change-Id: Iee13238e0479fd2a05abdef4a5584455dcdd0c53
/frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.java
028a53977cd0e3c1393ca17ad680473764905a56 06-May-2015 John Spurlock <jspurlock@google.com> Zen: Calendar tracker should use event availability.

- Ignore events that are marked as availability=free for consideration
as DND trigger events. All-day events are conventionally marked
as free by default.

Bug: 20064962
Change-Id: Ie26c81a6b79bdd86444092886f9bc123470575a7
/frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.java
d39af2d3f8c5d87e102aeb79d4148218ff616245 05-May-2015 John Spurlock <jspurlock@google.com> Zen: Remove calendar rule attendance attribute.

- No longer supporting a filter based on attendance type.
- Remove from model + condition provider logic.

Bug: 20064962
Change-Id: I0bc16275a2860ab95d4de316b6326a1499003f05
/frameworks/base/services/core/java/com/android/server/notification/CalendarTracker.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/CalendarTracker.java