Merge "Camera: Update surface sharing format restrictions" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-06-23 00:11:04 +00:00
committed by Android (Google) Code Review

View File

@@ -82,9 +82,9 @@ import java.util.List;
*
* </ul>
*
* <p> As of {@link android.os.Build.VERSION_CODES#P Android P}, all formats can be used for
* sharing, subject to device support. On prior API levels, only {@link ImageFormat#PRIVATE}
* format may be used.</p>
* <p> As of {@link android.os.Build.VERSION_CODES#P Android P}, all formats except
* {@link ImageFormat#JPEG} and {@link ImageFormat#RAW_PRIVATE} can be used for sharing, subject to
* device support. On prior API levels, only {@link ImageFormat#PRIVATE} format may be used.</p>
*
* @see CameraDevice#createCaptureSessionByOutputConfigurations
*