Camera2: Temporarily remove surface size 0 check
Temporarily remove surface size 0 check for deferred surface. Test: Manual test of camera use case from Hangouts Bug: 35027811 Change-Id: If1ecb1b322b9608dafb5784d5d9fb83e3517b8e5
This commit is contained in:
@@ -259,10 +259,6 @@ public final class OutputConfiguration implements Parcelable {
|
||||
throw new IllegalArgumentException("Unknow surface source class type");
|
||||
}
|
||||
|
||||
if (surfaceSize.getWidth() == 0 || surfaceSize.getHeight() == 0) {
|
||||
throw new IllegalArgumentException("Surface size needs to be non-zero");
|
||||
}
|
||||
|
||||
mSurfaceGroupId = SURFACE_GROUP_ID_NONE;
|
||||
mSurfaces = new ArrayList<Surface>();
|
||||
mRotation = ROTATION_0;
|
||||
|
||||
Reference in New Issue
Block a user