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

Commit a6e7a9b5 authored by Zach Riggle's avatar Zach Riggle Committed by Android Git Automerger
Browse files

am 6a5b2110: Merge "Fix NPE in FlashlightController" into lmp-dev

* commit '6a5b2110':
  Fix NPE in FlashlightController
parents 3bc84b18 6a5b2110
Loading
Loading
Loading
Loading
+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();
        }