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

Commit ff704b63 authored by Zhijun He's avatar Zhijun He Committed by Android Git Automerger
Browse files

am 0d9fdc24: Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev

* commit '0d9fdc24':
  Camera2: replace EDQUOT with EUSERS
parents c8f00291 0d9fdc24
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ public class CameraBinderDecorator {
    public static final int EBUSY = -16;
    public static final int ENODEV = -19;
    public static final int EOPNOTSUPP = -95;
    public static final int EDQUOT = -122;
    public static final int EUSERS = -87;

    private static class CameraBinderDecoratorListener implements Decorator.DecoratorListener {

@@ -85,7 +85,7 @@ public class CameraBinderDecorator {
                    case EBUSY:
                        UncheckedThrow.throwAnyException(new CameraRuntimeException(
                                CAMERA_IN_USE));
                    case EDQUOT:
                    case EUSERS:
                        UncheckedThrow.throwAnyException(new CameraRuntimeException(
                                MAX_CAMERAS_IN_USE));
                    case ENODEV: