Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 479085d9 authored by Chia-I Wu's avatar Chia-I Wu
Browse files

graphics: replace hidl_enum_iterator by hidl_enum_range

Change-Id: I012aa2bcbb81105ea1a1ec05a577f3bb8136b0da
Merged-In: I2180f18e8742850f728491887475f16b1cad4791
parent dcb3ba07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ TEST_F(GraphicsComposerHidlTest, SetActiveConfig) {
 */
TEST_F(GraphicsComposerHidlTest, SetColorMode) {
    std::unordered_set<ColorMode> validModes;
    for (auto mode : hidl_enum_iterator<ColorMode>()) {
    for (auto mode : hidl_enum_range<ColorMode>()) {
        validModes.insert(mode);
    }