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

Commit 199a5a69 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by android-build-merger
Browse files

Merge "Fix questionable condition"

am: a74f8300

Change-Id: I5e76c3e41bb6b4b236ba6fad6cd2e3dda2c95bdb
parents 6d634564 a74f8300
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3018,7 +3018,7 @@ void RotaryEncoderInputMapper::configure(nsecs_t when,
    if (!changes) {
    if (!changes) {
        mRotaryEncoderScrollAccumulator.configure(getDevice());
        mRotaryEncoderScrollAccumulator.configure(getDevice());
    }
    }
    if (!changes || (InputReaderConfiguration::CHANGE_DISPLAY_INFO)) {
    if (!changes || (changes & InputReaderConfiguration::CHANGE_DISPLAY_INFO)) {
        DisplayViewport v;
        DisplayViewport v;
        if (config->getDisplayViewport(ViewportType::VIEWPORT_INTERNAL, NULL, &v)) {
        if (config->getDisplayViewport(ViewportType::VIEWPORT_INTERNAL, NULL, &v)) {
            mOrientation = v.orientation;
            mOrientation = v.orientation;