apkfuckery/com.discord/smali/e/c/a/m.smali

139 lines
2.8 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public Le/c/a/m;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# instance fields
.field public final synthetic d:Landroid/net/Uri;
.field public final synthetic e:Landroid/content/Intent;
2020-04-27 20:53:11 +00:00
.field public final synthetic f:Le/c/a/g;
2019-12-06 03:29:40 +00:00
# direct methods
2020-04-27 20:53:11 +00:00
.method public constructor <init>(Le/c/a/g;Landroid/net/Uri;Landroid/content/Intent;)V
2019-12-06 03:29:40 +00:00
.locals 0
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le/c/a/m;->f:Le/c/a/g;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iput-object p2, p0, Le/c/a/m;->d:Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iput-object p3, p0, Le/c/a/m;->e:Landroid/content/Intent;
2019-12-06 03:29:40 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 6
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/c/a/m;->f:Le/c/a/g;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/g;->j:Le/c/a/v;
2019-12-06 03:29:40 +00:00
if-nez v0, :cond_0
return-void
:cond_0
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/v;->o:Le/c/a/d1;
2019-12-06 03:29:40 +00:00
const/4 v1, 0x1
if-eqz v0, :cond_1
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/c/a/m;->d:Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
invoke-interface {v0, v2}, Le/c/a/d1;->a(Landroid/net/Uri;)Z
2019-12-06 03:29:40 +00:00
move-result v0
goto :goto_0
:cond_1
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_4
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le/c/a/m;->f:Le/c/a/g;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v2, p0, Le/c/a/m;->e:Landroid/content/Intent;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v3, p0, Le/c/a/m;->d:Landroid/net/Uri;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v4, v0, Le/c/a/g;->j:Le/c/a/v;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v4, v4, Le/c/a/v;->a:Landroid/content/Context;
2019-12-06 03:29:40 +00:00
invoke-virtual {v4}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v4
const/4 v5, 0x0
invoke-virtual {v4, v2, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v4
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v4
if-lez v4, :cond_2
const/4 v4, 0x1
goto :goto_1
:cond_2
const/4 v4, 0x0
:goto_1
if-nez v4, :cond_3
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/g;->d:Le/c/a/u0;
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
aput-object v3, v1, v5
2020-04-27 20:53:11 +00:00
check-cast v0, Le/c/a/b1;
2019-12-06 03:29:40 +00:00
const-string v2, "Unable to open deferred deep link (%s)"
2020-04-27 20:53:11 +00:00
invoke-virtual {v0, v2, v1}, Le/c/a/b1;->b(Ljava/lang/String;[Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
goto :goto_2
:cond_3
2020-04-27 20:53:11 +00:00
iget-object v4, v0, Le/c/a/g;->d:Le/c/a/u0;
2019-12-06 03:29:40 +00:00
new-array v1, v1, [Ljava/lang/Object;
aput-object v3, v1, v5
2020-04-27 20:53:11 +00:00
check-cast v4, Le/c/a/b1;
2019-12-06 03:29:40 +00:00
const-string v3, "Open deferred deep link (%s)"
2020-04-27 20:53:11 +00:00
invoke-virtual {v4, v3, v1}, Le/c/a/b1;->c(Ljava/lang/String;[Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/g;->j:Le/c/a/v;
2019-12-06 03:29:40 +00:00
2020-04-27 20:53:11 +00:00
iget-object v0, v0, Le/c/a/v;->a:Landroid/content/Context;
2019-12-06 03:29:40 +00:00
invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
:cond_4
:goto_2
return-void
.end method