Merge "Fix InvalidProtoWireException" into sc-dev am: 19943bde4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14431464 Change-Id: I974a5acd93654d8ec553b116362c9de3fe41e252
This commit is contained in:
@@ -659,7 +659,8 @@ public class ZenModeHelper {
|
||||
mConfig.manualRule.dumpDebug(proto, ZenModeProto.ENABLED_ACTIVE_CONDITIONS);
|
||||
}
|
||||
for (ZenRule rule : mConfig.automaticRules.values()) {
|
||||
if (rule.enabled && rule.condition.state == Condition.STATE_TRUE
|
||||
if (rule.enabled && rule.condition != null
|
||||
&& rule.condition.state == Condition.STATE_TRUE
|
||||
&& !rule.snoozing) {
|
||||
rule.dumpDebug(proto, ZenModeProto.ENABLED_ACTIVE_CONDITIONS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user