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

* commit '0d9fdc245172bb5c46eb21094e384d95da1a46df':
  Camera2: replace EDQUOT with EUSERS
This commit is contained in:
Zhijun He
2013-09-23 19:33:07 -07:00
committed by Android Git Automerger

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: