.class public final Lcom/bumptech/glide/load/data/a; .super Lcom/bumptech/glide/load/data/l; .source "AssetFileDescriptorLocalUriFetcher.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "Lcom/bumptech/glide/load/data/l<", "Landroid/content/res/AssetFileDescriptor;", ">;" } .end annotation # direct methods .method public constructor (Landroid/content/ContentResolver;Landroid/net/Uri;)V .locals 0 .line 1 invoke-direct {p0, p1, p2}, Lcom/bumptech/glide/load/data/l;->(Landroid/content/ContentResolver;Landroid/net/Uri;)V return-void .end method # virtual methods .method public a()Ljava/lang/Class; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/lang/Class<", "Landroid/content/res/AssetFileDescriptor;", ">;" } .end annotation .line 1 const-class v0, Landroid/content/res/AssetFileDescriptor; return-object v0 .end method .method public bridge synthetic c(Ljava/lang/Object;)V .locals 0 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 check-cast p1, Landroid/content/res/AssetFileDescriptor; invoke-virtual {p0, p1}, Lcom/bumptech/glide/load/data/a;->g(Landroid/content/res/AssetFileDescriptor;)V return-void .end method .method public bridge synthetic f(Landroid/net/Uri;Landroid/content/ContentResolver;)Ljava/lang/Object; .locals 0 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/FileNotFoundException; } .end annotation .line 1 invoke-virtual {p0, p1, p2}, Lcom/bumptech/glide/load/data/a;->h(Landroid/net/Uri;Landroid/content/ContentResolver;)Landroid/content/res/AssetFileDescriptor; move-result-object p1 return-object p1 .end method .method public g(Landroid/content/res/AssetFileDescriptor;)V .locals 0 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 invoke-virtual {p1}, Landroid/content/res/AssetFileDescriptor;->close()V return-void .end method .method public h(Landroid/net/Uri;Landroid/content/ContentResolver;)Landroid/content/res/AssetFileDescriptor; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/FileNotFoundException; } .end annotation const-string v0, "r" .line 1 invoke-virtual {p2, p1, v0}, Landroid/content/ContentResolver;->openAssetFileDescriptor(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/res/AssetFileDescriptor; move-result-object p2 if-eqz p2, :cond_0 return-object p2 .line 2 :cond_0 new-instance p2, Ljava/io/FileNotFoundException; const-string v0, "FileDescriptor is null for: " invoke-static {v0, p1}, Landroidx/appcompat/widget/b0;->a(Ljava/lang/String;Landroid/net/Uri;)Ljava/lang/String; move-result-object p1 invoke-direct {p2, p1}, Ljava/io/FileNotFoundException;->(Ljava/lang/String;)V throw p2 .end method