Skip to content
Commit be583657 authored by Santos Cordon's avatar Santos Cordon
Browse files

Add DisplayDeviceRepository

Refactor out the DisplayDevice collection storage out
of DisplayManagerService. This sets up an easier code-path
for a logical display mapper class to listen to
DisplayDevice events without using DisplayMangerService as
a go-between.

New DisplayDeviceRepository listens directly to
DisplayAdapters and stores them in an internal collection.
Display Events are forwarded to DisplayManagerService
(where it is still necessary) and to a logical-display
creation/mapping class in follow-up CL.

Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/display
Bug: 130724654
Change-Id: I735143453fdc204f65a799fe95fcd983499d81f4
parent f902391f
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