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

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

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

* commit 'ff0384fa37801b82517897c3d0b03982d443e3c7':
  Turn the device on if the camera lens is uncovered.
parents a751e2aa 1b409bcf
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;