summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-11-04 11:16:12 -0500
committerchaviw <chaviw@google.com>2021-11-04 17:46:35 -0500
commit6b1b599f30959d7029a6001740fdf0e753555285 (patch)
treebeadd7f094e9b1d5f6b2df27ae0f116f75d1dbbc /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentdc5c3bf385a98b3626ad915c873bf3128a37744a (diff)
Call applyTransactionOnDraw when removing SV
When SV is detached, we will try to clean up the SurfaceControls. However, we want the clean up to be synced with the main app window. This is to ensure we don't remove SV's SC before the app window draws in the hole punched area. Instead of relying on postionLost to synchronize with the main app window, we can use applyTransactionOnDraw to ensure the next frame will merge the remove transaction. Therefore, we no longer have to call remove in positionLost since it's already handled elsewhere. Test: No flicker when removing SV Bug: 199860472 Change-Id: I93a91c45c862949e53ee9fd1b4a3b10404fba6bb
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions