apkfuckery/com.discord/smali/f/c/a/r.smali

135 lines
2.8 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public Lf/c/a/r;
.super Ljava/lang/Object;
2020-07-25 02:57:47 +00:00
.source "ActivityHandler.java"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
# interfaces
.implements Ljava/lang/Runnable;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
# instance fields
.field public final synthetic d:Landroid/net/Uri;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
.field public final synthetic e:Landroid/content/Intent;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
.field public final synthetic f:Lf/c/a/a;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
# direct methods
2020-07-25 02:57:47 +00:00
.method public constructor <init>(Lf/c/a/a;Landroid/net/Uri;Landroid/content/Intent;)V
.locals 0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iput-object p1, p0, Lf/c/a/r;->f:Lf/c/a/a;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iput-object p2, p0, Lf/c/a/r;->d:Landroid/net/Uri;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iput-object p3, p0, Lf/c/a/r;->e:Landroid/content/Intent;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
return-void
.end method
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
# virtual methods
.method public run()V
.locals 6
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, p0, Lf/c/a/r;->f:Lf/c/a/a;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
if-nez v0, :cond_0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
return-void
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:cond_0
iget-object v0, v0, Lf/c/a/w;->r:Lf/c/a/h1;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const/4 v1, 0x1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
if-eqz v0, :cond_1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v2, p0, Lf/c/a/r;->d:Landroid/net/Uri;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0, v2}, Lf/c/a/h1;->a(Landroid/net/Uri;)Z
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
move-result v0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:cond_1
2020-07-08 16:44:49 +00:00
const/4 v0, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_0
2020-07-25 02:57:47 +00:00
if-eqz v0, :cond_4
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, p0, Lf/c/a/r;->f:Lf/c/a/a;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v2, p0, Lf/c/a/r;->e:Landroid/content/Intent;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v3, p0, Lf/c/a/r;->d:Landroid/net/Uri;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v4, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v4, v4, Lf/c/a/w;->d:Landroid/content/Context;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v4}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v4
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const/4 v5, 0x0
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v4, v2, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
move-result-object v4
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v4}, Ljava/util/List;->size()I
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
move-result v4
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
if-lez v4, :cond_2
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const/4 v4, 0x1
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
goto :goto_1
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
:cond_2
const/4 v4, 0x0
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
:goto_1
2020-07-25 02:57:47 +00:00
if-nez v4, :cond_3
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v0, Lf/c/a/a;->d:Lf/c/a/w0;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
new-array v1, v1, [Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
aput-object v3, v1, v5
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const-string v2, "Unable to open deferred deep link (%s)"
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v0, v2, v1}, Lf/c/a/w0;->e(Ljava/lang/String;[Ljava/lang/Object;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
goto :goto_2
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:cond_3
iget-object v4, v0, Lf/c/a/a;->d:Lf/c/a/w0;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
new-array v1, v1, [Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
aput-object v3, v1, v5
2020-05-17 12:40:10 +00:00
2020-07-25 02:57:47 +00:00
const-string v3, "Open deferred deep link (%s)"
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-interface {v4, v3, v1}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v0, v0, Lf/c/a/w;->d:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
:cond_4
:goto_2
2020-07-08 16:44:49 +00:00
return-void
2020-05-17 12:40:10 +00:00
.end method