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

Commit ce0823c7 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Fix questionable condition

Fix a typo in InputReader.cpp.

Bug: 112154205
Test: None
Change-Id: Ia8fa9062e0881ca8fca45353829ae0762dfdd389
Merged-In: Ia8fa9062e0881ca8fca45353829ae0762dfdd389
parent cfb8d993
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;