235 lines
5.8 KiB
Smali
235 lines
5.8 KiB
Smali
.class public final Landroidx/core/app/RemoteInput$a;
|
|
.super Ljava/lang/Object;
|
|
.source "RemoteInput.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/core/app/RemoteInput;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/lang/String;
|
|
|
|
.field public final b:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final c:Landroid/os/Bundle;
|
|
|
|
.field public d:Ljava/lang/CharSequence;
|
|
|
|
.field public e:[Ljava/lang/CharSequence;
|
|
|
|
.field public f:Z
|
|
|
|
.field public g:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/core/app/RemoteInput$a;->b:Ljava/util/Set;
|
|
|
|
.line 3
|
|
new-instance v0, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/core/app/RemoteInput$a;->c:Landroid/os/Bundle;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 4
|
|
iput-boolean v0, p0, Landroidx/core/app/RemoteInput$a;->f:Z
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 5
|
|
iput v0, p0, Landroidx/core/app/RemoteInput$a;->g:I
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 6
|
|
iput-object p1, p0, Landroidx/core/app/RemoteInput$a;->a:Ljava/lang/String;
|
|
|
|
return-void
|
|
|
|
.line 7
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "Result key can\'t be null"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/os/Bundle;)Landroidx/core/app/RemoteInput$a;
|
|
.locals 1
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/app/RemoteInput$a;->c:Landroid/os/Bundle;
|
|
|
|
invoke-virtual {v0, p1}, Landroid/os/Bundle;->putAll(Landroid/os/Bundle;)V
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public b()Landroidx/core/app/RemoteInput;
|
|
.locals 9
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v8, Landroidx/core/app/RemoteInput;
|
|
|
|
iget-object v1, p0, Landroidx/core/app/RemoteInput$a;->a:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Landroidx/core/app/RemoteInput$a;->d:Ljava/lang/CharSequence;
|
|
|
|
iget-object v3, p0, Landroidx/core/app/RemoteInput$a;->e:[Ljava/lang/CharSequence;
|
|
|
|
iget-boolean v4, p0, Landroidx/core/app/RemoteInput$a;->f:Z
|
|
|
|
iget v5, p0, Landroidx/core/app/RemoteInput$a;->g:I
|
|
|
|
iget-object v6, p0, Landroidx/core/app/RemoteInput$a;->c:Landroid/os/Bundle;
|
|
|
|
iget-object v7, p0, Landroidx/core/app/RemoteInput$a;->b:Ljava/util/Set;
|
|
|
|
move-object v0, v8
|
|
|
|
invoke-direct/range {v0 .. v7}, Landroidx/core/app/RemoteInput;-><init>(Ljava/lang/String;Ljava/lang/CharSequence;[Ljava/lang/CharSequence;ZILandroid/os/Bundle;Ljava/util/Set;)V
|
|
|
|
return-object v8
|
|
.end method
|
|
|
|
.method public c()Landroid/os/Bundle;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/core/app/RemoteInput$a;->c:Landroid/os/Bundle;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d(Ljava/lang/String;Z)Landroidx/core/app/RemoteInput$a;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 1
|
|
iget-object p2, p0, Landroidx/core/app/RemoteInput$a;->b:Ljava/util/Set;
|
|
|
|
invoke-interface {p2, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object p2, p0, Landroidx/core/app/RemoteInput$a;->b:Ljava/util/Set;
|
|
|
|
invoke-interface {p2, p1}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public e(Z)Landroidx/core/app/RemoteInput$a;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-boolean p1, p0, Landroidx/core/app/RemoteInput$a;->f:Z
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public f([Ljava/lang/CharSequence;)Landroidx/core/app/RemoteInput$a;
|
|
.locals 0
|
|
.param p1 # [Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/core/app/RemoteInput$a;->e:[Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public g(I)Landroidx/core/app/RemoteInput$a;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput p1, p0, Landroidx/core/app/RemoteInput$a;->g:I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public h(Ljava/lang/CharSequence;)Landroidx/core/app/RemoteInput$a;
|
|
.locals 0
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Landroidx/core/app/RemoteInput$a;->d:Ljava/lang/CharSequence;
|
|
|
|
return-object p0
|
|
.end method
|