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

Commit 0cb9f078 authored by Michael Wright's avatar Michael Wright Committed by Android Git Automerger
Browse files

am 45a3941c: am e4deffcd: am 0dc10d6d: am b0ce3099: am ff0384fa: Merge "Turn...

am 45a3941c: am e4deffcd: am 0dc10d6d: am b0ce3099: am ff0384fa: Merge "Turn the device on if the camera lens is uncovered." into lmp-dev

* commit '45a3941c4be73d54c5270f3435fa79fdf262665c':
  Turn the device on if the camera lens is uncovered.
parents f69c8a7e ce9498f1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4093,6 +4093,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
            } else {
                intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
            }
            mPowerManager.wakeUp(whenNanos / 1000000);
            mContext.startActivityAsUser(intent, UserHandle.CURRENT_OR_SELF);
        }
        mCameraLensCoverState = lensCoverState;