summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2020-10-01 15:08:00 -0700
committerMikhail Naganov <mnaganov@google.com>2020-11-24 23:13:08 +0000
commit8c845dca4ac89c3b73c8eda23e77b407d0bf2464 (patch)
tree549806557a5afbe33c2e0b8803f8742ad919bc45 /tools/aapt2/java/JavaClassGenerator.cpp
parent5e3a035a3d848aef6813073228b488d4555e994d (diff)
Convert mask types from uint32_t to enum type
This applies to the following types: - audio_gain_mode_t; - audio_flags_mask_t; - audio_channel_representation_t; - audio_channel_mask_t; - audio_devices_t. Enum types are distinct thus proper overloading on the type is possible in C++. Also, assignments to enum types are less prone to errors. Bug: 169889714 Test: basic audio functionality Change-Id: I7f32a7c7741dea88fa2fd8a2e7fe50d0c31eb2e7 Merged-In: I7f32a7c7741dea88fa2fd8a2e7fe50d0c31eb2e7
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions