summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2013-09-24 10:25:56 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-24 10:25:56 -0700
commit1562ca8bf5c4bd20d520664d4f8baadb699e25b4 (patch)
tree7d959cb3ead47a44ad634cf306cac05b541b11be /core/java/android
parent53fba329458843de3345de5d6d70a744cf3b5702 (diff)
parentff704b63dda946531b7e3774b2ac4211f63349c3 (diff)
downloadframeworks_base-1562ca8bf5c4bd20d520664d4f8baadb699e25b4.zip
frameworks_base-1562ca8bf5c4bd20d520664d4f8baadb699e25b4.tar.gz
frameworks_base-1562ca8bf5c4bd20d520664d4f8baadb699e25b4.tar.bz2
am ff704b63: am 0d9fdc24: Merge "Camera2: replace EDQUOT with EUSERS" into klp-dev
* commit 'ff704b63dda946531b7e3774b2ac4211f63349c3': Camera2: replace EDQUOT with EUSERS
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/hardware/camera2/utils/CameraBinderDecorator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/hardware/camera2/utils/CameraBinderDecorator.java b/core/java/android/hardware/camera2/utils/CameraBinderDecorator.java
index d0b3ec4..e535e00 100644
--- a/core/java/android/hardware/camera2/utils/CameraBinderDecorator.java
+++ b/core/java/android/hardware/camera2/utils/CameraBinderDecorator.java
@@ -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: