al.smali
.class Lcom/cleanmaster/service/al;
.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 1031
iput-object p1, p0, Lcom/cleanmaster/service/al;->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 1035
invoke-static {}, Lcom/cm/plugincluster/loststars/proxy/LostStarsPluginDelegate;->getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;
move-result-object v1
.line 1036
iget v0, p1, Landroid/os/Message;->what:I
packed-switch v0, :pswitch_data_32
.line 1057
:cond_9
:goto_9
const/4 v0, 0x1
return v0
.line 1040
: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 1041
invoke-interface {v1}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->isFloatServiceDirty()Z
move-result v0
.line 1046
:goto_15
if-eqz v0, :cond_9
.line 1047
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 1049
:catch_1b
move-exception v0
.line 1050
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V
goto :goto_9
.line 1043
: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 1054
:pswitch_2d
invoke-interface {v1}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->startFloatServiceIfNotExist()V
goto :goto_9
.line 1036
nop
:pswitch_data_32
.packed-switch 0x0
:pswitch_b
:pswitch_2d
.end packed-switch
.end method