mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Upgrade CameraX to 1.1.0 and fork removal.
This commit is contained in:
committed by
Greyson Parrelli
parent
e3e9f90094
commit
a52b64281c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user