diff options
| author | 2024-03-07 11:10:31 -0800 | |
|---|---|---|
| committer | 2024-03-08 21:43:57 +0000 | |
| commit | 14cc77765a17fc98159fdf91543333d827eb3bb5 (patch) | |
| tree | 4b40f6ef6ba96eca025de978121fe1edc6ca091f /libs/androidfw/BackupHelpers.cpp | |
| parent | da0bc47550e5ed89049ee114664b420181e69a95 (diff) | |
Add getParentingSurfaceControl() in DisplayContent
- After the DisplayAreas are created from the policy, DisplayContent
adds a RootWrapper in the parent hierarhcy and then mSurfaceControl
starts pointing to the RootWrapper instead of the original
DisplayContent surface which now becomes mWindowingLayer.
- Later when DisplayAreaOrganizers are reset because of a client crash,
all the leashes of the DisplayAreas move under RootWrapper causing
inconsistency in z-order.
- To avoid this, getParentingSurfaceControl() method should be used at
all the places that are reparenting the directly children of
DisplayContent.
- This method can be used at other places as a future work. For now only
use it for 2 obvious scenarios.
Fix: 326975721
Test: atest DisplayContentTests
Change-Id: I21d580b4fead8e9b0b19a36e3282c923880a9dc9
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions