ScreenSaverNotificationReceiver.smali
.class public Lcom/cleanmaster/screensave/ScreenSaverNotificationReceiver;
.super Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.source "ScreenSaverNotificationReceiver.java"
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 23
invoke-direct {p0}, Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;-><init>()V
.line 24
return-void
.end method
# virtual methods
.method public onReceiveInter(Landroid/content/Context;Landroid/content/Intent;)V
.registers 7
.prologue
const/4 v3, 0x1
const/4 v2, 0x0
.line 33
if-eqz p2, :cond_2d
.line 34
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object v0
.line 35
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_2d
const-string v1, "screen_saver_state_changed"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_2d
.line 36
sget-boolean v0, Lcom/cleanmaster/screensave/ScreenSaveUtils;->a:Z
if-eqz v0, :cond_21
.line 37
const-string v0, "screen_saver"
const-string v1, "--- screen saver state changed"
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 39
:cond_21
const-string/jumbo v0, "type"
invoke-virtual {p2, v0, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
move-result v0
.line 40
if-ne v0, v3, :cond_2e
.line 41
invoke-static {v3}, Lcom/cleanmaster/screensave/ScreenSaveUtils;->b(Z)V
.line 49
:cond_2d
:goto_2d
return-void
.line 42
:cond_2e
const/4 v1, 0x2
if-ne v0, v1, :cond_2d
.line 43
invoke-static {v2}, Lcom/cleanmaster/screensave/ScreenSaveUtils;->b(Z)V
goto :goto_2d
.end method
.method public onReceiveInterAsync(Landroid/content/Context;Landroid/content/Intent;)V
.registers 3
.prologue
.line 28
return-void
.end method