summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2023-03-14 20:43:12 +0000
committer Alec Mouri <alecmouri@google.com> 2023-03-18 00:03:29 +0000
commitedb6bdfac1965da4a6895d4110ec4a451fa62b8c (patch)
treea1cabbb68e3c036c6b8b3af4652426897fb18efc /libs/androidfw/ApkParsing.cpp
parent3e49d76a09705d3ee42e6f276719fb06d6d6b308 (diff)
Drive SurfaceView visibility on renderthread
In some scenarios, a SurfaceView: 1. May be moved offscreen by an app, such as through a ViewPager2 2. Have its RenderNode removed from the draw tree 3. The SurfaceView is remade visible on the UI thread In this case, the view position is offscreen, but the SurfaceControl position is at (0, 0). If there happens to be another SurfaceView at (0, 0), then this causes an accidental overlap. To avoid this, visibility should be fully driven by RenderNode position callbacks. Bug: 269113414 Test: Test app with ViewPager2 Change-Id: Ia0abd56fe4be8b669d39864c5fc82e941fb3be8e
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions