Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2d012e9 authored by Beverly's avatar Beverly
Browse files

Add logging to ScheduleConditionProvider

Test: n/a
Bug: 77906756
Change-Id: Icfc0cbaf6d53315e437ac3ea3ab693b3e0703d2f
parent 606440f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -185,6 +185,8 @@ public class ScheduleConditionProvider extends SystemConditionProviderService {
    @GuardedBy("mSubscriptions")
    Condition evaluateSubscriptionLocked(Uri conditionId, ScheduleCalendar cal,
            long now, long nextUserAlarmTime) {
        if (DEBUG) Slog.d(TAG, String.format("evaluateSubscriptionLocked cal=%s, now=%s, "
                        + "nextUserAlarmTime=%s", cal, ts(now), ts(nextUserAlarmTime)));
        Condition condition;
        if (cal == null) {
            condition = createCondition(conditionId, Condition.STATE_ERROR, "!invalidId");