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

Commit c688c0f9 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix implicit-fallthrough warnings." am: c1ddd1b2

am: 463aedbc

Change-Id: I4951ab536ba06ae19864d373a6383b67c5a993f6
parents c80fb7df 463aedbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2645,7 +2645,7 @@ void CursorInputMapper::configure(nsecs_t when,
            // Should not happen during first time configuration.
            // Should not happen during first time configuration.
            ALOGE("Cannot start a device in MODE_POINTER_RELATIVE, starting in MODE_POINTER");
            ALOGE("Cannot start a device in MODE_POINTER_RELATIVE, starting in MODE_POINTER");
            mParameters.mode = Parameters::MODE_POINTER;
            mParameters.mode = Parameters::MODE_POINTER;
            // fall through.
            [[fallthrough]];
        case Parameters::MODE_POINTER:
        case Parameters::MODE_POINTER:
            mSource = AINPUT_SOURCE_MOUSE;
            mSource = AINPUT_SOURCE_MOUSE;
            mXPrecision = 1.0f;
            mXPrecision = 1.0f;