ash.smali

.class public Ldxoptimizer/ash;
.super Ljava/lang/Object;
.source "AccessibilityHelper.java"


# direct methods
.method public static a()V
    .registers 2

    .prologue
    .line 114
    invoke-static {}, Ldxoptimizer/ash;->d()Landroid/os/IBinder;

    move-result-object v0

    .line 115
    if-eqz v0, :cond_13

    invoke-interface {v0}, Landroid/os/IBinder;->isBinderAlive()Z

    move-result v1

    if-eqz v1, :cond_13

    .line 116
    invoke-static {v0}, Ldxoptimizer/arj$a;->a(Landroid/os/IBinder;)Ldxoptimizer/arj;

    move-result-object v0

    .line 118
    :try_start_10
    invoke-interface {v0}, Ldxoptimizer/arj;->a()V
    :try_end_13
    .catch Landroid/os/RemoteException; {:try_start_10 .. :try_end_13} :catch_14

    .line 123
    :cond_13
    :goto_13
    return-void

    .line 119
    :catch_14
    move-exception v0

    .line 120
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_13
.end method

.method public static a(ILjava/util/List;Ldxoptimizer/ark;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;",
            "Ldxoptimizer/ark;",
            ")V"
        }
    .end annotation

    .prologue
    .line 86
    invoke-static {}, Ldxoptimizer/ash;->d()Landroid/os/IBinder;

    move-result-object v0

    .line 87
    if-eqz v0, :cond_23

    invoke-interface {v0}, Landroid/os/IBinder;->isBinderAlive()Z

    move-result v1

    if-eqz v1, :cond_23

    .line 88
    invoke-static {v0}, Ldxoptimizer/arj$a;->a(Landroid/os/IBinder;)Ldxoptimizer/arj;

    move-result-object v0

    .line 90
    :try_start_10
    invoke-interface {v0, p0, p1, p2}, Ldxoptimizer/arj;->a(ILjava/util/List;Ldxoptimizer/ark;)V
    :try_end_13
    .catch Landroid/os/RemoteException; {:try_start_10 .. :try_end_13} :catch_14

    .line 108
    :goto_13
    return-void

    .line 91
    :catch_14
    move-exception v0

    .line 92
    if-eqz p2, :cond_1a

    .line 94
    :try_start_17
    invoke-interface {p2}, Ldxoptimizer/ark;->b()V
    :try_end_1a
    .catch Landroid/os/RemoteException; {:try_start_17 .. :try_end_1a} :catch_1e

    .line 99
    :cond_1a
    :goto_1a
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_13

    .line 95
    :catch_1e
    move-exception v1

    .line 96
    invoke-virtual {v1}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_1a

    .line 103
    :cond_23
    :try_start_23
    invoke-interface {p2}, Ldxoptimizer/ark;->b()V
    :try_end_26
    .catch Landroid/os/RemoteException; {:try_start_23 .. :try_end_26} :catch_27

    goto :goto_13

    .line 104
    :catch_27
    move-exception v0

    .line 105
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_13
.end method

.method public static a(Ldxoptimizer/ark;)V
    .registers 4

    .prologue
    .line 69
    invoke-static {}, Ldxoptimizer/ash;->d()Landroid/os/IBinder;

    move-result-object v0

    .line 70
    if-eqz v0, :cond_13

    invoke-interface {v0}, Landroid/os/IBinder;->isBinderAlive()Z

    move-result v1

    if-eqz v1, :cond_13

    .line 71
    invoke-static {v0}, Ldxoptimizer/arj$a;->a(Landroid/os/IBinder;)Ldxoptimizer/arj;

    move-result-object v0

    .line 73
    :try_start_10
    invoke-interface {v0, p0}, Ldxoptimizer/arj;->a(Ldxoptimizer/ark;)V
    :try_end_13
    .catch Landroid/os/RemoteException; {:try_start_10 .. :try_end_13} :catch_20

    .line 78
    :cond_13
    :goto_13
    const-string v0, "accessibility"

    const-string v1, "aby_open"

    const/4 v2, 0x1

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-static {v0, v1, v2}, Ldxoptimizer/cgh;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Number;)V

    .line 79
    return-void

    .line 74
    :catch_20
    move-exception v0

    .line 75
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_13
.end method

.method public static a(Landroid/content/Context;)Z
    .registers 2

    .prologue
    .line 129
    invoke-static {p0}, Ldxoptimizer/arw;->a(Landroid/content/Context;)Z

    move-result v0

    return v0
.end method

.method public static b()Z
    .registers 2

    .prologue
    .line 138
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x10

    if-lt v0, v1, :cond_e

    .line 139
    invoke-static {}, Ldxoptimizer/ash;->c()Z

    move-result v0

    if-eqz v0, :cond_e

    const/4 v0, 0x1

    .line 138
    :goto_d
    return v0

    .line 139
    :cond_e
    const/4 v0, 0x0

    goto :goto_d
.end method

.method private static c()Z
    .registers 3

    .prologue
    const/4 v0, 0x0

    .line 147
    const-string v1, "ro.miui.ui.version.code"

    invoke-static {v1, v0}, Ldxoptimizer/qh;->a(Ljava/lang/String;I)I

    move-result v1

    .line 149
    const/4 v2, 0x6

    if-lt v1, v2, :cond_b

    .line 152
    :goto_a
    return v0

    :cond_b
    const/4 v0, 0x1

    goto :goto_a
.end method

.method private static d()Landroid/os/IBinder;
    .registers 2

    .prologue
    .line 156
    const/4 v0, 0x1

    const-string v1, "Accessibility"

    invoke-static {v0, v1}, Ldxoptimizer/bya;->a(ILjava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    return-object v0
.end method