summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-04-27 06:29:43 +0000
committer Vishnu Nair <vishnun@google.com> 2024-04-29 20:06:02 +0000
commit34459252775f3d09f36000e897b80c76c6ee7adb (patch)
tree23b63efe991cb32a1f58262c7f47123a63d7baad /libs/androidfw/AssetManager.cpp
parent0552660d1498f71639f0fec6b6a1f3224aa011cf (diff)
Allow creating ASurfaceControl from NativeActivity Surface
When generating a Surface, we have the option to include the associated SurfaceControl handle. This handle is necessary for creating child ASurfaceControl parented to a ANW. Previously, the SurfaceControl handle was only included in the SurfaceView surface, but not in the viewrootimpl surface. This meant NativeActivity users could not attach child surfaces. Fix this by including the surfacecontrol handle into the VRI surface. Bug: 320706287 Test: atest FrameworksCoreTests:ViewRootImplTest Change-Id: I0af8c1b53f616f2ec5fb4c927553d197d1192daa
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions