summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Orlando Arbildo <oarbildo@google.com> 2023-10-09 17:36:17 +0000
committer Orlando Arbildo <oarbildo@google.com> 2023-11-01 16:08:33 +0000
commitd0880e810f6eac0922bd0c200178ff4b43b71b8c (patch)
tree61defa5995e1d0e5a20b28d2b04e2e0f1906712f /libs/gui/BLASTBufferQueue.cpp
parent373a25271ca7ad5f6b5884b0a36c26d24be245fd (diff)
Added local_downcast function for binder native
Added a local_downcast function to be able to cast a Binder Native object back to its base object. WIth this change the cast of a Binder native object will look like this: // my_foo will be an Option<&MyFoo> let my_foo = bn_foo.downcast_binder::<MyFoo>(); This change depends on changes to the AIDL compiler to modify required lifetimes on the autogenerated code. Test: CI Bug: 278780666 Change-Id: I00958df53bb9f052347992ada121d7febfc87dc5
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions