Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 34459252 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

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
parent 0552660d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment