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

Commit 645df3e3 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev

parents f1f886f3 9e10d257
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1387,7 +1387,7 @@ public class InputManagerService extends IInputManager.Stub
        }

        if ((switchMask & SW_CAMERA_LENS_COVER_BIT) != 0) {
            final boolean lensCovered = ((switchValues & SW_CAMERA_LENS_COVER_BIT) == 0);
            final boolean lensCovered = ((switchValues & SW_CAMERA_LENS_COVER_BIT) != 0);
            mWindowManagerCallbacks.notifyCameraLensCoverSwitchChanged(whenNanos, lensCovered);
        }