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

Commit b7bbd629 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "Camera2: Do not throw unexpected runtime exception to app" into mnc-dev

parents 211cb7cb d3e39d16
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -138,8 +138,8 @@ public class CameraBinderDecorator {
         * errors, then add them to the top switch statement
         */
        if (errorFlag < 0) {
            throw new UnsupportedOperationException(String.format("Unknown error %d",
                    errorFlag));
            throw new CameraRuntimeException(CAMERA_ERROR,
                    String.format("Unknown camera device error %d", errorFlag));
        }
    }