diff options
| author | 2023-01-21 00:13:28 -0800 | |
|---|---|---|
| committer | 2023-01-22 10:11:21 -0800 | |
| commit | ba9b9b7cb4d891ec485d94097b14fe9dc7d8f8f8 (patch) | |
| tree | 9c8ed219d77fdeb51f27289d673c80b8f4d8dc0b /services/coverage/java | |
| parent | 79dbc1af930e7ab4a656e25e2f2bc227e09aa459 (diff) | |
Restore direct display children to windowing layer
On virtual displays, there is no magnification DA, so TDA
is a direct child of DisplayContent. However, DC *still* makes
a root-wrapper surface in this case, so we have to restore to
DC.getWindowingLayer() instead of DC.getSurfaceControl() since
mSurfaceControl gets replaced after construction.
Added a comment in makeChildSurface to explain that the
mSurfaceControl used there is not the same after construction so
that others will hopefully be less confused by this.
Bug: 266243524
Test: AccessibilityOverlayTest#testA11yServiceShowsOverlayOnVirtualDisplay_shouldAppear
Change-Id: I78d4832b0ff7623684fc22fe1f464a02a1d91477
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions