ab.smali

.class Lcom/cleanmaster/service/ab;
.super Ljava/lang/Object;
.source "PermanentService.java"

# interfaces
.implements Landroid/os/Handler$Callback;


# instance fields
.field final synthetic a:Lcom/cleanmaster/service/PermanentService;


# direct methods
.method constructor <init>(Lcom/cleanmaster/service/PermanentService;)V
    .registers 2

    .prologue
    .line 1098
    iput-object p1, p0, Lcom/cleanmaster/service/ab;->a:Lcom/cleanmaster/service/PermanentService;

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

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)Z
    .registers 4

    .prologue
    .line 1102
    invoke-static {}, Lcom/cm/plugincluster/loststars/proxy/LostStarsPluginDelegate;->getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    move-result-object v1

    .line 1103
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_32

    .line 1124
    :cond_9
    :goto_9
    const/4 v0, 0x1

    return v0

    .line 1107
    :pswitch_b
    :try_start_b
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/RuntimeCheck;->IsServiceProcess()Z

    move-result v0

    if-eqz v0, :cond_20

    .line 1108
    invoke-interface {v1}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->isFloatServiceDirty()Z

    move-result v0

    .line 1113
    :goto_15
    if-eqz v0, :cond_9

    .line 1114
    invoke-interface {v1}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->stopFloatService()V
    :try_end_1a
    .catch Landroid/os/RemoteException; {:try_start_b .. :try_end_1a} :catch_1b

    goto :goto_9

    .line 1116
    :catch_1b
    move-exception v0

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

    goto :goto_9

    .line 1110
    :cond_20
    :try_start_20
    invoke-static {}, Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;->getIns()Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/synipc/SyncIpcCtrl;->getIPCClient()Lcom/cleanmaster/hpsharelib/synipc/ISyncIpcService;

    move-result-object v0

    invoke-interface {v0}, Lcom/cleanmaster/hpsharelib/synipc/ISyncIpcService;->isFloatServiceDirty()Z
    :try_end_2b
    .catch Landroid/os/RemoteException; {:try_start_20 .. :try_end_2b} :catch_1b

    move-result v0

    goto :goto_15

    .line 1121
    :pswitch_2d
    invoke-interface {v1}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->startFloatServiceIfNotExist()V

    goto :goto_9

    .line 1103
    nop

    :pswitch_data_32
    .packed-switch 0x0
        :pswitch_b
        :pswitch_2d
    .end packed-switch
.end method