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

This commit is contained in:
Zhijun He
2013-09-24 02:28:22 +00:00
committed by Android (Google) Code Review

View File

@@ -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: