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

Commit 2e7124a4 authored by Matías Hernández's avatar Matías Hernández Committed by mse1969
Browse files

Avoid mixups between different CPSes in ZenModeConditions

A couple of places in ZenModeConditions assumed that condition id uniquely determines ConditionProviderService, which is not correct.

Additionally, verify that only system zen rules can be handled by system CPSes (schedule, event, etc).

Bug: 391894257
Test: atest ZenModeConditionsTest
Flag: EXEMPT Bug fix
(cherry picked from commit 5cb0ae9c)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b26e9cc6f9414d400cd9fcd8e6ef1e84bbb3d305)
Merged-In: I7bff4b04674b5f247bd3b8b6920af029ef8098f5
Change-Id: I7bff4b04674b5f247bd3b8b6920af029ef8098f5
parent a3233335
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment