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

Commit 751316f9 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Move DisplayRepository from SystemUI to displaylib

This moves all the non-sysui specific logic from DisplayRepository of sysui to displaylib.

Tests are still left in SystemUI for now, just to prove that the behaviour of SysUI's display lib didn't change at all.

All the handling for decorations is still in sysui code, as it depends on some sysui specific classes.

A few minor changes:
- PendingDisplay references have been renamed to the new class in the lib
- ConflatedCallbackFlows are now just callbackFlows.conflate explicitly
- Pairwise has been copied unfortunately, as the sysui util is not in a shared lib. We should move it.
- DisplayEvent is now private (it didn't make sense for it to be public)

Bug: 362719719
Bug: 401305290
Test: DisplayRepositoryTest, builds and runs successfully
Flag: NONE - Just moving code around
Change-Id: Idcf2380db0eeecc5e0f3ab023a942b16aff28f15
parent 1da64093
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