2bead0d6d2
Change the VS AIDL to define it as an enum. Added a new common AIDL module to hold it, since this is needed by both existing AIDLs, and we don't want either directly depending on the other. Modify vmclient to also have Rust enum for ErrorCode, with translation logic, in the same way as we did for DeathReason. Switch to Debug rather than Display for these enums. Also fixed a couple of AIDL warnings (enum-explicit-default). We also need translation in the Java API, but I'll do that as part of https://r.android.com/2192077. Bug: 236811123 Test: atest MicrodroidTests MicrodroidHostTestCases Test: composd_cmd test-compile Change-Id: I561e5f43f0f1c74d1318dc41782ed390bb5f0337 |
||
---|---|---|
.. | ||
src | ||
Android.bp |