diff options
| author | 2021-08-23 16:24:01 -0700 | |
|---|---|---|
| committer | 2021-09-01 12:28:28 -0700 | |
| commit | 8379b15dc569f851c807146a19dda7186d8065df (patch) | |
| tree | a96a51821733a8e37260404493027b1097cb543a /libs/androidfw/StringPool.cpp | |
| parent | 04bed117340242aac54c6b8dcf629bbbd1cf3789 (diff) | |
Always reparent SurfacePackage in setChildSurfacePackage.
Currently, SurfaceView#setChildSurfacePackage only reparents a
provided SurfacePackage when there is no SurfaceControl already
present. This can lead to the SurfacePackage potentially never
being reparented.
This changelist addresses the issue by always reparenting the
SurfacePackage, following cleanup of the existing
SurfaceControl.
Bug: 197568243
Test: atest SurfaceControlViewHostTests#testCanReplaceSurfacePackage
Change-Id: Ib0bcfee5cb9801e1b1c4f1f300af9862141b12f3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions