summaryrefslogtreecommitdiffstats
path: root/broadcastradio
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2016-11-29 14:07:27 -0800
committerSteven Moreland <smoreland@google.com>2016-11-29 14:22:10 -0800
commitd26dc50abbad068cd1a673f204fa538c1c61bdb2 (patch)
treec006b438bb938bedb0235a25e848f437cae2ee2a /broadcastradio
parentf81ef54bdc010ee35d7926a45fe039059193a346 (diff)
downloadplatform_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.hal6
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,