diff options
author | chaviw <chaviw@google.com> | 2019-01-02 16:33:12 -0800 |
---|---|---|
committer | chaviw <chaviw@google.com> | 2019-01-04 10:36:40 -0800 |
commit | d44449df803d86233a74bb895a99c1f2cd2650b5 (patch) | |
tree | ff56a5fdd3575878a70aef1a2d84a50f51457ddd /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 76e986a2f25e71924937b63bbf1cd793d72094d3 (diff) |
Forward setVisibility call to SurfaceView for ActivityView.
SurfaceView setVisibility handles removing the surface already. By
forwarding the visiblity call from AV to the SV, SV will destroy the
surface. It will callback into AV through SurfaceCallback.surfaceDestroyed.
In the callback, AV removes the surface for the display, causing the
virtual display to turn off. When the virtual display is turned off, the
activities on that display will get stopped.
Test: ActivityViewVisibilityActivity
Change-Id: Iea8b57d7871b8c87457f2ae19485a610d0d74c38
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions