67 lines
2.1 KiB
Smali
67 lines
2.1 KiB
Smali
|
.class public Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;
|
||
|
.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 = "NotificationsEnabledArgs"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final channelName:Ljava/lang/String;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Ljava/lang/String;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;->channelName:Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static fromBundle(Landroid/os/Bundle;)Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "android.support.customtabs.trusted.CHANNEL_NAME"
|
||
|
|
||
|
invoke-static {p0, v0}, Landroidx/browser/trusted/TrustedWebActivityServiceConnection;->ensureBundleContains(Landroid/os/Bundle;Ljava/lang/String;)V
|
||
|
|
||
|
new-instance v1, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {v1, p0}, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;-><init>(Ljava/lang/String;)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-object v1, p0, Landroidx/browser/trusted/TrustedWebActivityServiceConnection$NotificationsEnabledArgs;->channelName:Ljava/lang/String;
|
||
|
|
||
|
const-string v2, "android.support.customtabs.trusted.CHANNEL_NAME"
|
||
|
|
||
|
invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|