diff options
author | Steven Moreland <smoreland@google.com> | 2016-11-29 14:07:27 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2016-11-29 14:22:10 -0800 |
commit | d26dc50abbad068cd1a673f204fa538c1c61bdb2 (patch) | |
tree | c006b438bb938bedb0235a25e848f437cae2ee2a /broadcastradio | |
parent | f81ef54bdc010ee35d7926a45fe039059193a346 (diff) | |
download | platform_hardware_interfaces-d26dc50abbad068cd1a673f204fa538c1c61bdb2.tar.gz platform_hardware_interfaces-d26dc50abbad068cd1a673f204fa538c1c61bdb2.tar.bz2 platform_hardware_interfaces-d26dc50abbad068cd1a673f204fa538c1c61bdb2.zip |
Always specify underlying enum type.
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
Diffstat (limited to 'broadcastradio')
-rw-r--r-- | broadcastradio/1.0/types.hal | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/broadcastradio/1.0/types.hal b/broadcastradio/1.0/types.hal index d04359cd4a..d8b2da346c 100644 --- a/broadcastradio/1.0/types.hal +++ b/broadcastradio/1.0/types.hal @@ -16,7 +16,7 @@ package android.hardware.broadcastradio@1.0; -enum Result { +enum Result : int32_t { OK, NOT_INITIALIZED, INVALID_ARGUMENTS, @@ -139,7 +139,7 @@ struct Properties { vec<BandConfig> bands; /* band descriptors */ }; -enum MetadataType { +enum MetadataType : int32_t { INVALID = -1, /* Signed 32 bit integer */ INT = 0, @@ -152,7 +152,7 @@ enum MetadataType { CLOCK = 3, }; -enum MetadataKey { +enum MetadataKey : int32_t { INVALID = -1, /* RDS PI - string */ RDS_PI = 0, |