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

Skip to content
Commit 8db9862f authored by Matías Hernández's avatar Matías Hernández Committed by Mohammed Althaf T
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 5cb0ae9c43e2262ad37f599de4c65bb31841f936)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5c4b6e07334a19bbc236e08b56b4bf2c6e1acc30)
Merged-In: I7bff4b04674b5f247bd3b8b6920af029ef8098f5
Change-Id: I7bff4b04674b5f247bd3b8b6920af029ef8098f5
parent 4924b16c
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