summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2022-09-30 02:46:27 +0000
committer Andrei Homescu <ahomescu@google.com> 2022-10-03 23:00:28 +0000
commitc06cfc353efe8526fa7b0454f5f1dad46ddbf31b (patch)
tree62a4af1d883e4791df5553028c53f278b83e3da4 /libs/gui/BLASTBufferQueue.cpp
parent8d8caa17e64ef9e58fc657deb38f416a886baa4f (diff)
rust: Fix Debug implementation for declare_binder_enum!
Debug for Rust enums prints the variant name, while the derived implementation from declare_binder_enum! previously used the structure format since our AIDL enums are newtypes over integers. The output looked something like Foo(0). This replaces the derived Debug with a custom implementation that prints the variant name just like Debug for Rust enums. Test: atest rustBinderTest Change-Id: I03597afa50918dc7a45a5c9fe288aad6dd159fb5
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions