Skip to content
Commit 941ad3a5 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Decouple display area from windowing layer

FEATURE_WINDOWED_MAGNIFICATION was a necessary feature of a display.
Because screen level surface animation needs a layer containing
all non-overlay window for reparenting leash. But that seems to
restrict the customizability of non-default display.

This change makes the feature optional by creating an additional
layer if the feature doesn't exist. So a display can create without
any display area features.

Also remove some unused fields.

Bug: 175179353
Test: DisplayContentTests#testValidWindowingLayer
Change-Id: I5c8712e7650a51fc57ea2dc5c60176d7dcafe1d1
parent a0334be8
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