d$c.smali

.class Lcom/cm/root/d$c;
.super Ljava/lang/Object;
.source "RootManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/cm/root/d;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "c"
.end annotation


# instance fields
.field final synthetic a:Lcom/cm/root/d;


# direct methods
.method private constructor <init>(Lcom/cm/root/d;)V
    .registers 2

    .prologue
    .line 48
    iput-object p1, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/cm/root/d;Lcom/cm/root/e;)V
    .registers 3

    .prologue
    .line 48
    invoke-direct {p0, p1}, Lcom/cm/root/d$c;-><init>(Lcom/cm/root/d;)V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4

    .prologue
    .line 54
    :try_start_0
    const-string v0, "TimeoutThread start"

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/debug/Logg;->w(Ljava/lang/String;)V

    .line 55
    const-wide/32 v0, 0xc350

    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_b
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_b} :catch_42

    .line 62
    :goto_b
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-static {v0}, Lcom/cm/root/d;->a(Lcom/cm/root/d;)Ljava/lang/Object;

    move-result-object v1

    monitor-enter v1

    .line 64
    :try_start_12
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    iget-object v0, v0, Lcom/cm/root/d;->a:Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    const/4 v2, 0x3

    if-ne v0, v2, :cond_40

    .line 66
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-static {v0}, Lcom/cm/root/d;->b(Lcom/cm/root/d;)Lcom/cm/root/h;

    move-result-object v0

    if-eqz v0, :cond_2e

    .line 67
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-static {v0}, Lcom/cm/root/d;->b(Lcom/cm/root/d;)Lcom/cm/root/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cm/root/h;->a()V

    .line 68
    :cond_2e
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-static {v0}, Lcom/cm/root/d;->c(Lcom/cm/root/d;)Lcom/cm/plugincluster/core/interfaces/boost/IRootManagerCallback;

    move-result-object v0

    if-eqz v0, :cond_40

    .line 69
    iget-object v0, p0, Lcom/cm/root/d$c;->a:Lcom/cm/root/d;

    invoke-static {v0}, Lcom/cm/root/d;->c(Lcom/cm/root/d;)Lcom/cm/plugincluster/core/interfaces/boost/IRootManagerCallback;

    move-result-object v0

    const/4 v2, 0x4

    invoke-interface {v0, v2}, Lcom/cm/plugincluster/core/interfaces/boost/IRootManagerCallback;->onRootEnd(I)V

    .line 71
    :cond_40
    monitor-exit v1
    :try_end_41
    .catchall {:try_start_12 .. :try_end_41} :catchall_47

    .line 72
    return-void

    .line 56
    :catch_42
    move-exception v0

    .line 59
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_b

    .line 71
    :catchall_47
    move-exception v0

    :try_start_48
    monitor-exit v1
    :try_end_49
    .catchall {:try_start_48 .. :try_end_49} :catchall_47

    throw v0
.end method