summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Chavi Weingarten <chaviw@google.com> 2023-06-21 17:30:34 +0000
committer Chavi Weingarten <chaviw@google.com> 2023-06-23 17:14:17 +0000
commit8c1629929b617e8d03696dabfb9c5688d8d0e2ee (patch)
tree5dd18ba9b91defec5f1fadce8082f43d05c63cd2 /libs/androidfw/ApkParsing.cpp
parent9b9d6d06e23d62997a2e6cc85d7014c6408dc13b (diff)
Register frame callbacks for sync right before draw
The drawListener is invoked in VRI right before calling into native draw, but after the frame callback is registered to handle sync. This can cause issues if something is trying to ensure a sync via the drawListener callback. Instead, set up the frame callback and sync right before calling draw so all sync requests are picked up in that frame Test: SurfaceSyncGroupContinuousTest Test: SurfaceSyncGroupTests Test: AttachedSurfaceControlSyncTest Bug: 287729934 Change-Id: I6cd583d66457729ecc0b229a1e486db5dca69b3f
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions