diff options
| author | 2019-01-08 10:08:52 -0800 | |
|---|---|---|
| committer | 2019-01-10 09:29:39 -0800 | |
| commit | 35187b32107eff2ded94adf29c19192524537ee1 (patch) | |
| tree | b5e7d6dcfd95e6087ffa3644f982e434fe0cf467 /libs/gui/BufferQueueThreadState.cpp | |
| parent | 6e1ceefbba451a2778c192044ead4bd8add9f394 (diff) | |
blast: [FIXED] create SurfaceControl from Surface parent
Create a child SurfaceControl from a parent Surface. This is done
by sending the parent IGBP to SurfaceFlinger who gets the parent
Layer information.
This is change is necessary for public SurfaceControl because
createScopedConnection is deprecated.
[Previous version used Layer::mStateMutex which was removed hours
before this patch went in. Presubmit did not catch the conflict
so the patch was immediately reverted. This version does not have
that conflict.]
Test: atest CtsViewTestCases:android.view.cts.ASurfaceControlTest
Bug: 80477568
Change-Id: Ibbfb2851ff71c21cce1761cab434b85735e35515
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions