apkfuckery/com.discord/smali/androidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs.smali
2020-07-08 16:44:49 +00:00

66 lines
1.9 KiB
Smali

.class public Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;
.super Ljava/lang/Object;
.source "TrustedWebActivityServiceConnection.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/browser/trusted/TrustedWebActivityServiceConnection;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ResultArgs"
.end annotation
# instance fields
.field public final success:Z
# direct methods
.method public constructor <init>(Z)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-boolean p1, p0, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;->success:Z
return-void
.end method
.method public static fromBundle(Landroid/os/Bundle;)Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;
.locals 2
const-string v0, "android.support.customtabs.trusted.NOTIFICATION_SUCCESS"
invoke-static {p0, v0}, Landroidx/browser/trusted/TrustedWebActivityServiceConnection;->ensureBundleContains(Landroid/os/Bundle;Ljava/lang/String;)V
new-instance v1, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;
invoke-virtual {p0, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z
move-result p0
invoke-direct {v1, p0}, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;-><init>(Z)V
return-object v1
.end method
# virtual methods
.method public toBundle()Landroid/os/Bundle;
.locals 3
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
iget-boolean v1, p0, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$ResultArgs;->success:Z
const-string v2, "android.support.customtabs.trusted.NOTIFICATION_SUCCESS"
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
return-object v0
.end method