.class public Lz4/k$b; .super Ljava/lang/Object; .source "MediaStoreFileLoader.java" # interfaces .implements Lcom/bumptech/glide/load/data/d; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lz4/k; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "b" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lcom/bumptech/glide/load/data/d<", "Ljava/io/File;", ">;" } .end annotation # static fields .field public static final c:[Ljava/lang/String; # instance fields .field public final a:Landroid/content/Context; .field public final b:Landroid/net/Uri; # direct methods .method public static constructor ()V .locals 1 const-string v0, "_data" .line 1 filled-new-array {v0}, [Ljava/lang/String; move-result-object v0 sput-object v0, Lz4/k$b;->c:[Ljava/lang/String; return-void .end method .method public constructor (Landroid/content/Context;Landroid/net/Uri;)V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 iput-object p1, p0, Lz4/k$b;->a:Landroid/content/Context; .line 3 iput-object p2, p0, Lz4/k$b;->b:Landroid/net/Uri; 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<", "Ljava/io/File;", ">;" } .end annotation .line 1 const-class v0, Ljava/io/File; return-object v0 .end method .method public b()V .locals 0 return-void .end method .method public cancel()V .locals 0 return-void .end method .method public d()Lcom/bumptech/glide/load/DataSource; .locals 1 .annotation build Landroidx/annotation/NonNull; .end annotation .line 1 sget-object v0, Lcom/bumptech/glide/load/DataSource;->LOCAL:Lcom/bumptech/glide/load/DataSource; return-object v0 .end method .method public e(Lcom/bumptech/glide/Priority;Lcom/bumptech/glide/load/data/d$a;)V .locals 6 .param p1 # Lcom/bumptech/glide/Priority; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/bumptech/glide/load/data/d$a; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/bumptech/glide/Priority;", "Lcom/bumptech/glide/load/data/d$a<", "-", "Ljava/io/File;", ">;)V" } .end annotation .line 1 iget-object p1, p0, Lz4/k$b;->a:Landroid/content/Context; .line 2 invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver; move-result-object v0 iget-object v1, p0, Lz4/k$b;->b:Landroid/net/Uri; sget-object v2, Lz4/k$b;->c:[Ljava/lang/String; const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x0 .line 3 invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor; move-result-object p1 const/4 v0, 0x0 if-eqz p1, :cond_1 .line 4 :try_start_0 invoke-interface {p1}, Landroid/database/Cursor;->moveToFirst()Z move-result v1 if-eqz v1, :cond_0 const-string v0, "_data" .line 5 invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I move-result v0 invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String; move-result-object v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 .line 6 :cond_0 invoke-interface {p1}, Landroid/database/Cursor;->close()V goto :goto_0 :catchall_0 move-exception p2 invoke-interface {p1}, Landroid/database/Cursor;->close()V throw p2 .line 7 :cond_1 :goto_0 invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z move-result p1 if-eqz p1, :cond_2 .line 8 new-instance p1, Ljava/io/FileNotFoundException; const-string v0, "Failed to find file path for: " invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget-object v1, p0, Lz4/k$b;->b:Landroid/net/Uri; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0}, Ljava/io/FileNotFoundException;->(Ljava/lang/String;)V invoke-interface {p2, p1}, Lcom/bumptech/glide/load/data/d$a;->c(Ljava/lang/Exception;)V goto :goto_1 .line 9 :cond_2 new-instance p1, Ljava/io/File; invoke-direct {p1, v0}, Ljava/io/File;->(Ljava/lang/String;)V invoke-interface {p2, p1}, Lcom/bumptech/glide/load/data/d$a;->f(Ljava/lang/Object;)V :goto_1 return-void .end method