724 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			724 lines
		
	
	
		
			15 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public abstract Lx1/a;
 | |
| .super Landroid/widget/BaseAdapter;
 | |
| .source "CursorAdapter.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Landroid/widget/Filterable;
 | |
| .implements Lx1/b$a;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Lx1/a$b;,
 | |
|         Lx1/a$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final j:I = 0x1
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public static final k:I = 0x2
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public a:Z
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public b:Z
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public c:Landroid/database/Cursor;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public d:Landroid/content/Context;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public e:I
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public f:Lx1/a$a;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public g:Landroid/database/DataSetObserver;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public h:Lx1/b;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public i:Landroid/widget/FilterQueryProvider;
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/database/Cursor;)V
 | |
|     .locals 1
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0, p1, p2, v0}, Lx1/a;->g(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 5
 | |
|     invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->g(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroid/content/Context;Landroid/database/Cursor;Z)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V
 | |
| 
 | |
|     if-eqz p3, :cond_0
 | |
| 
 | |
|     const/4 p3, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p3, 0x2
 | |
| 
 | |
|     .line 4
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->g(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public a(Landroid/database/Cursor;)Ljava/lang/CharSequence;
 | |
|     .locals 0
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     const-string p1, ""
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     :goto_0
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public b(Landroid/database/Cursor;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1}, Lx1/a;->m(Landroid/database/Cursor;)Landroid/database/Cursor;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {p1}, Landroid/database/Cursor;->close()V
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public c(Ljava/lang/CharSequence;)Landroid/database/Cursor;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lx1/a;->i:Landroid/widget/FilterQueryProvider;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroid/widget/FilterQueryProvider;->runQuery(Ljava/lang/CharSequence;)Landroid/database/Cursor;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public d()Landroid/database/Cursor;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public abstract e(Landroid/view/View;Landroid/content/Context;Landroid/database/Cursor;)V
 | |
| .end method
 | |
| 
 | |
| .method public f()Landroid/widget/FilterQueryProvider;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lx1/a;->i:Landroid/widget/FilterQueryProvider;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public g(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
|     .locals 3
 | |
| 
 | |
|     and-int/lit8 v0, p3, 0x1
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     if-ne v0, v2, :cond_0
 | |
| 
 | |
|     or-int/lit8 p3, p3, 0x2
 | |
| 
 | |
|     .line 1
 | |
|     iput-boolean v2, p0, Lx1/a;->b:Z
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 2
 | |
|     :cond_0
 | |
|     iput-boolean v1, p0, Lx1/a;->b:Z
 | |
| 
 | |
|     :goto_0
 | |
|     if-eqz p2, :cond_1
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     iput-object p2, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean v1, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     .line 5
 | |
|     iput-object p1, p0, Lx1/a;->d:Landroid/content/Context;
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     const-string p1, "_id"
 | |
| 
 | |
|     .line 6
 | |
|     invoke-interface {p2, p1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_2
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     :goto_1
 | |
|     iput p1, p0, Lx1/a;->e:I
 | |
| 
 | |
|     const/4 p1, 0x2
 | |
| 
 | |
|     and-int/2addr p3, p1
 | |
| 
 | |
|     if-ne p3, p1, :cond_3
 | |
| 
 | |
|     .line 7
 | |
|     new-instance p1, Lx1/a$a;
 | |
| 
 | |
|     invoke-direct {p1, p0}, Lx1/a$a;-><init>(Lx1/a;)V
 | |
| 
 | |
|     iput-object p1, p0, Lx1/a;->f:Lx1/a$a;
 | |
| 
 | |
|     .line 8
 | |
|     new-instance p1, Lx1/a$b;
 | |
| 
 | |
|     invoke-direct {p1, p0}, Lx1/a$b;-><init>(Lx1/a;)V
 | |
| 
 | |
|     iput-object p1, p0, Lx1/a;->g:Landroid/database/DataSetObserver;
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_3
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 9
 | |
|     iput-object p1, p0, Lx1/a;->f:Lx1/a$a;
 | |
| 
 | |
|     .line 10
 | |
|     iput-object p1, p0, Lx1/a;->g:Landroid/database/DataSetObserver;
 | |
| 
 | |
|     :goto_2
 | |
|     if-eqz v1, :cond_5
 | |
| 
 | |
|     .line 11
 | |
|     iget-object p1, p0, Lx1/a;->f:Lx1/a$a;
 | |
| 
 | |
|     if-eqz p1, :cond_4
 | |
| 
 | |
|     invoke-interface {p2, p1}, Landroid/database/Cursor;->registerContentObserver(Landroid/database/ContentObserver;)V
 | |
| 
 | |
|     .line 12
 | |
|     :cond_4
 | |
|     iget-object p1, p0, Lx1/a;->g:Landroid/database/DataSetObserver;
 | |
| 
 | |
|     if-eqz p1, :cond_5
 | |
| 
 | |
|     invoke-interface {p2, p1}, Landroid/database/Cursor;->registerDataSetObserver(Landroid/database/DataSetObserver;)V
 | |
| 
 | |
|     :cond_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public getCount()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0}, Landroid/database/Cursor;->getCount()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v0, 0x0
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getDropDownView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Landroid/database/Cursor;->moveToPosition(I)Z
 | |
| 
 | |
|     if-nez p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lx1/a;->d:Landroid/content/Context;
 | |
| 
 | |
|     iget-object p2, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->i(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lx1/a;->d:Landroid/content/Context;
 | |
| 
 | |
|     iget-object p3, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-virtual {p0, p2, p1, p3}, Lx1/a;->e(Landroid/view/View;Landroid/content/Context;Landroid/database/Cursor;)V
 | |
| 
 | |
|     return-object p2
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public getFilter()Landroid/widget/Filter;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lx1/a;->h:Lx1/b;
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Lx1/b;
 | |
| 
 | |
|     invoke-direct {v0, p0}, Lx1/b;-><init>(Lx1/b$a;)V
 | |
| 
 | |
|     iput-object v0, p0, Lx1/a;->h:Lx1/b;
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v0, p0, Lx1/a;->h:Lx1/b;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getItem(I)Ljava/lang/Object;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroid/database/Cursor;->moveToPosition(I)Z
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     return-object p1
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public getItemId(I)J
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     const-wide/16 v1, 0x0
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {v0, p1}, Landroid/database/Cursor;->moveToPosition(I)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-eqz p1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     iget v0, p0, Lx1/a;->e:I
 | |
| 
 | |
|     invoke-interface {p1, v0}, Landroid/database/Cursor;->getLong(I)J
 | |
| 
 | |
|     move-result-wide v0
 | |
| 
 | |
|     return-wide v0
 | |
| 
 | |
|     :cond_0
 | |
|     return-wide v1
 | |
| .end method
 | |
| 
 | |
| .method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-interface {v0, p1}, Landroid/database/Cursor;->moveToPosition(I)Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     if-nez p2, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     iget-object p1, p0, Lx1/a;->d:Landroid/content/Context;
 | |
| 
 | |
|     iget-object p2, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->j(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
| 
 | |
|     move-result-object p2
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     iget-object p1, p0, Lx1/a;->d:Landroid/content/Context;
 | |
| 
 | |
|     iget-object p3, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-virtual {p0, p2, p1, p3}, Lx1/a;->e(Landroid/view/View;Landroid/content/Context;Landroid/database/Cursor;)V
 | |
| 
 | |
|     return-object p2
 | |
| 
 | |
|     .line 5
 | |
|     :cond_1
 | |
|     new-instance p2, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     const-string p3, "couldn\'t move cursor to position "
 | |
| 
 | |
|     invoke-static {p3, p1}, Landroid/support/v4/media/b;->a(Ljava/lang/String;I)Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-direct {p2, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p2
 | |
| 
 | |
|     .line 6
 | |
|     :cond_2
 | |
|     new-instance p1, Ljava/lang/IllegalStateException;
 | |
| 
 | |
|     const-string p2, "this should only be called when the cursor is valid"
 | |
| 
 | |
|     invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
 | |
| 
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method public h(Landroid/content/Context;Landroid/database/Cursor;Z)V
 | |
|     .locals 0
 | |
|     .annotation runtime Ljava/lang/Deprecated;
 | |
|     .end annotation
 | |
| 
 | |
|     if-eqz p3, :cond_0
 | |
| 
 | |
|     const/4 p3, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 p3, 0x2
 | |
| 
 | |
|     .line 1
 | |
|     :goto_0
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->g(Landroid/content/Context;Landroid/database/Cursor;I)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public hasStableIds()Z
 | |
|     .locals 1
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public i(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0, p1, p2, p3}, Lx1/a;->j(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     return-object p1
 | |
| .end method
 | |
| 
 | |
| .method public abstract j(Landroid/content/Context;Landroid/database/Cursor;Landroid/view/ViewGroup;)Landroid/view/View;
 | |
| .end method
 | |
| 
 | |
| .method public k()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-boolean v0, p0, Lx1/a;->b:Z
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     invoke-interface {v0}, Landroid/database/Cursor;->isClosed()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     invoke-interface {v0}, Landroid/database/Cursor;->requery()Z
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     iput-boolean v0, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public l(Landroid/widget/FilterQueryProvider;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lx1/a;->i:Landroid/widget/FilterQueryProvider;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public m(Landroid/database/Cursor;)Landroid/database/Cursor;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-ne p1, v0, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     return-object p1
 | |
| 
 | |
|     :cond_0
 | |
|     if-eqz v0, :cond_2
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Lx1/a;->f:Lx1/a$a;
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     invoke-interface {v0, v1}, Landroid/database/Cursor;->unregisterContentObserver(Landroid/database/ContentObserver;)V
 | |
| 
 | |
|     .line 3
 | |
|     :cond_1
 | |
|     iget-object v1, p0, Lx1/a;->g:Landroid/database/DataSetObserver;
 | |
| 
 | |
|     if-eqz v1, :cond_2
 | |
| 
 | |
|     invoke-interface {v0, v1}, Landroid/database/Cursor;->unregisterDataSetObserver(Landroid/database/DataSetObserver;)V
 | |
| 
 | |
|     .line 4
 | |
|     :cond_2
 | |
|     iput-object p1, p0, Lx1/a;->c:Landroid/database/Cursor;
 | |
| 
 | |
|     if-eqz p1, :cond_5
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v1, p0, Lx1/a;->f:Lx1/a$a;
 | |
| 
 | |
|     if-eqz v1, :cond_3
 | |
| 
 | |
|     invoke-interface {p1, v1}, Landroid/database/Cursor;->registerContentObserver(Landroid/database/ContentObserver;)V
 | |
| 
 | |
|     .line 6
 | |
|     :cond_3
 | |
|     iget-object v1, p0, Lx1/a;->g:Landroid/database/DataSetObserver;
 | |
| 
 | |
|     if-eqz v1, :cond_4
 | |
| 
 | |
|     invoke-interface {p1, v1}, Landroid/database/Cursor;->registerDataSetObserver(Landroid/database/DataSetObserver;)V
 | |
| 
 | |
|     :cond_4
 | |
|     const-string v1, "_id"
 | |
| 
 | |
|     .line 7
 | |
|     invoke-interface {p1, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput p1, p0, Lx1/a;->e:I
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 8
 | |
|     iput-boolean p1, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     const/4 p1, -0x1
 | |
| 
 | |
|     .line 10
 | |
|     iput p1, p0, Lx1/a;->e:I
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     .line 11
 | |
|     iput-boolean p1, p0, Lx1/a;->a:Z
 | |
| 
 | |
|     .line 12
 | |
|     invoke-virtual {p0}, Landroid/widget/BaseAdapter;->notifyDataSetInvalidated()V
 | |
| 
 | |
|     :goto_0
 | |
|     return-object v0
 | |
| .end method
 |