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

Commit 8fa6247f authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by android-build-merger
Browse files

Merge "Fix questionable condition" am: a74f8300

am: 199a5a69

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