summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2024-04-17 17:21:53 +0000
committer Nick Chameyev <nickchameyev@google.com> 2024-04-18 13:20:23 +0000
commit5ec8f4e5aeca9fe4055631d0e35c3ca4fd941d4c (patch)
tree93b206c0d7e7907fd32b1d06652bc6f9e49a37da /libs/androidfw/AssetManager.cpp
parentbab84f3277a017b25dfdd12f7688b961a8e32cd0 (diff)
Use NDK version of transaction completed callback
The addTransactionCompletedListener doesn't work on 24D1-dev branch, it requires API flag that is enabled only in V. There is an NDK version of the same method that is available since API 29 but it is not exposed to Java. Replaced Java call to addTransactionCompletedListener with an NDK call to ASurfaceTransaction_setOnComplete. Bug: 334873960 Test: fold/unfold without delay on 24D1-dev Test: atest UnfoldToLauncherMicrobenchmark Merged-In: Ibed2cf715cc3898167cab02e21405bf028ca1111 Change-Id: Id6dfd4615343ed524582eb62aa24dd3e0a1413b5
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions