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

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

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

* commit 'b0ce3099bb0d2c48ac66eb265572dfe454b4dcdb':
  Turn the device on if the camera lens is uncovered.
parents e20f9aa3 c3013256
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;