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

Skip to content
Commit a6aacbdb authored by Alexander Roederer's avatar Alexander Roederer
Browse files

Add DeviceEffectsDiff and PolicyDiff to RuleDiff

In the ZenModeDiff.RuleDiff, instead of comparing the ZenPolicy and
ZenDeviceEffects objects using the Object equals, we use the newly added
DeviceEffectsDiff and PolicyDiff objects. This allows us to actually see
the parts of the policies that are changing.

Also orders the string versions of these diffs by when the subfields
were added which should make them easier to compare.

Bug: 319241807
Test: atest ZenModeDiffTest
Flag: android.app.modes_api
Change-Id: I3139b437f3e5ae431fc13a595af59b37262ac840
parent dd1ce567
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