diff options
| author | 2022-09-30 02:46:27 +0000 | |
|---|---|---|
| committer | 2022-10-03 23:00:28 +0000 | |
| commit | c06cfc353efe8526fa7b0454f5f1dad46ddbf31b (patch) | |
| tree | 62a4af1d883e4791df5553028c53f278b83e3da4 /libs/gui/BLASTBufferQueue.cpp | |
| parent | 8d8caa17e64ef9e58fc657deb38f416a886baa4f (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