what-the-bank/sources/o/kVf.java

36 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.ContentResolver;
import android.content.res.AssetFileDescriptor;
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import com.airbnb.deeplinkdispatch.base.MatchIndex;
import java.io.FileNotFoundException;
import java.io.IOException;
/* loaded from: classes.dex */
public final class kVf extends SbQ<ParcelFileDescriptor> {
@Override // o.SbQ
protected final /* synthetic */ void b(ParcelFileDescriptor parcelFileDescriptor) throws IOException {
parcelFileDescriptor.close();
}
public kVf(ContentResolver contentResolver, Uri uri) {
super(contentResolver, uri);
}
@Override // o.InterfaceC12232euN
public final Class<ParcelFileDescriptor> c() {
return ParcelFileDescriptor.class;
}
@Override // o.SbQ
protected final /* synthetic */ ParcelFileDescriptor DK_(Uri uri, ContentResolver contentResolver) throws FileNotFoundException {
AssetFileDescriptor openAssetFileDescriptor = contentResolver.openAssetFileDescriptor(uri, MatchIndex.ROOT_VALUE);
if (openAssetFileDescriptor == null) {
throw new FileNotFoundException("FileDescriptor is null for: ".concat(String.valueOf(uri)));
}
return openAssetFileDescriptor.getParcelFileDescriptor();
}
}