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

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

am e4deffcd: am 0dc10d6d: am b0ce3099: am ff0384fa: Merge "Turn the device on...

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

* commit 'e4deffcd00e895a2fd0b853d8920e4d0ea87181d':
  Turn the device on if the camera lens is uncovered.
parents 96ea2977 4f3d4b41
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;