apkfuckery/com.discord/smali_classes2/com/lytefast/flexinput/adapters/PhotoCursorAdapter$b.smali

94 lines
2.6 KiB
Smali
Raw Normal View History

2020-05-17 12:40:10 +00:00
.class public final Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;
2020-07-08 16:44:49 +00:00
.super Landroid/content/AsyncQueryHandler;
2020-05-17 12:40:10 +00:00
.source "PhotoCursorAdapter.kt"
# annotations
2020-07-08 16:44:49 +00:00
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b(Landroid/content/ContentResolver;)V
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2020-07-08 16:44:49 +00:00
accessFlags = 0x19
2020-05-17 12:40:10 +00:00
name = "b"
.end annotation
# instance fields
2020-07-08 16:44:49 +00:00
.field public final synthetic a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-08 16:44:49 +00:00
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;Landroid/content/ContentResolver;)V
.locals 0
2020-05-17 12:40:10 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2020-07-08 16:44:49 +00:00
"Landroid/content/ContentResolver;",
2020-05-17 12:40:10 +00:00
")V"
}
.end annotation
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {p0, p2}, Landroid/content/AsyncQueryHandler;-><init>(Landroid/content/ContentResolver;)V
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
2020-07-08 16:44:49 +00:00
.method public onQueryComplete(ILjava/lang/Object;Landroid/database/Cursor;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz p2, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-nez p3, :cond_0
2020-05-17 12:40:10 +00:00
return-void
:cond_0
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string p2, "_id"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->c:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string p2, "_data"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->d:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const-string p2, "_display_name"
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-interface {p3, p2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
move-result p2
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput p2, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->e:I
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iput-object p3, p1, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;->b:Landroid/database/Cursor;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter$b;->a:Lcom/lytefast/flexinput/adapters/PhotoCursorAdapter;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V
2020-05-17 12:40:10 +00:00
return-void
2020-07-08 16:44:49 +00:00
:cond_1
const-string p1, "cookie"
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const/4 p1, 0x0
throw p1
.end method