| commit | 0bf4481951a1dcf3d0033293ebe8fe96096e5c7a | [log] [tgz] |
|---|---|---|
| author | Yuri Lin <yurilin@google.com> | Wed Mar 29 12:22:45 2023 -0400 |
| committer | Yuri Lin <yurilin@google.com> | Thu Apr 06 17:27:57 2023 -0400 |
| tree | f8756883c64c72c56746da15d7d0b0f789109e45 | |
| parent | 37e84cec827e8eb43266ea24e423dde93eb5ca5e [diff] |
Separate diffing functionality into a separate class. This creates ZenModeDiff with subclasses for diffs on ZenModeConfig and ZenRule. The new class allows for both emitting a string describing the diffs as well as reading what the diffs were after the fact (which the previous implementation did not allow). Bug: 259261349 Test: ZenModeDiffTest, adb shell dumpsys notification Change-Id: I8d51a8dc6c0edf548e1ef8ba350d9302d9ca7a86