Upgrade CameraX to 1.1.0 and fork removal.

This commit is contained in:
Alex Hart
2022-07-27 10:53:04 -03:00
committed by Greyson Parrelli
parent e3e9f90094
commit a52b64281c
14 changed files with 151 additions and 1667 deletions

View File

@@ -169,6 +169,10 @@ public final class MemoryFileDescriptor implements Closeable {
return parcelFileDescriptor.getFileDescriptor();
}
public ParcelFileDescriptor getParcelFileDescriptor() {
return parcelFileDescriptor;
}
public void seek(long position) throws IOException {
try (FileInputStream fileInputStream = new FileInputStream(getFileDescriptor())) {
fileInputStream.getChannel().position(position);