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

Commit 553b48b5 authored by John Spurlock's avatar John Spurlock
Browse files

QS: Handle all camera api exceptions during init.

Temporary workaround to unblock certain devices.

Bug:16547333
Change-Id: I80d8ec609e5c32b9db290576c5ec791ad915c45c
parent 866cf65c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public class FlashlightController {
    public void initialize() {
        try {
            mCameraId = getCameraId();
        } catch (CameraAccessException e) {
        } catch (Throwable e) {
            Log.e(TAG, "Couldn't initialize.", e);
            return;
        }