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

Commit 176afe1f authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am 37a9f82f: am 288f65e3: Merge changes Iecd1303f,I2076c500 into lmp-mr1-dev automerge: 4a915ab5

* commit '37a9f82f':
  Fix NPE in FlashlightController
  Fix stale unlock icon
parents 254a1940 37a9f82f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -477,6 +477,11 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
        public void onScreenTurnedOff(int why) {
            updateLockIcon();
        }

        @Override
        public void onKeyguardVisibilityChanged(boolean showing) {
            updateLockIcon();
        }
    };

    public void setKeyguardIndicationController(
+5 −1
Original line number Diff line number Diff line
@@ -308,7 +308,11 @@ public class FlashlightController {
            new CameraCaptureSession.StateListener() {
        @Override
        public void onConfigured(CameraCaptureSession session) {
            if (session.getDevice() == mCameraDevice) {
                mSession = session;
            } else {
                session.close();
            }
            postUpdateFlashlight();
        }