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

Skip to content
Commit 778f1a1c authored by Mark Renouf's avatar Mark Renouf
Browse files

DisplayContentRepository

This is a replacement for the existing `ScreenshotPolicy` class:

    fun findPrimaryContent(displayId: Int): DisplayContentInfo

The existing code was a little too narrow focused on a single
policy, and returns only the top facing task/activity information.

For flexibility, all root tasks are provided in DisplayContentModel
as well as some support code for filtering and testing.

This also incorporates SystemUiState which provides information
fetched over binder from the main SystemUI process via
SystemUiProxy

Test: TODO
Bug: 327613051
Flag: N/A; not used yet
Change-Id: Ideee0d1891bfb28404127ba6428162a98eeb9b99
parent e533d851
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment