Camera2: Legacy: Do not remap EACCES error code to PERMISSION_DENIED
This remap causes non-Legacy and Legacy devices to have different error behavior when the camera permission is removed from a pre-M application. Without the remap, both routes map to CameraAccessException with code CAMERA_DISABLED. Bug: 21604925 Change-Id: I4ab18dca961cc7cedaccba0531253c9c4ef1d60e
Loading
Please register or sign in to comment