Loading core/java/android/hardware/camera2/params/OutputConfiguration.java +4 −0 Original line number Diff line number Diff line Loading @@ -259,6 +259,10 @@ 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; Loading Loading
core/java/android/hardware/camera2/params/OutputConfiguration.java +4 −0 Original line number Diff line number Diff line Loading @@ -259,6 +259,10 @@ 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; Loading