u.smali
.class Lcom/cleanmaster/notification/u;
.super Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.source "NotificationFeatureUtilizationMonitor.java"
# instance fields
.field final synthetic a:Lcom/cleanmaster/notification/s;
# direct methods
.method constructor <init>(Lcom/cleanmaster/notification/s;)V
.registers 2
.prologue
.line 152
iput-object p1, p0, Lcom/cleanmaster/notification/u;->a:Lcom/cleanmaster/notification/s;
invoke-direct {p0}, Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public onReceiveInter(Landroid/content/Context;Landroid/content/Intent;)V
.registers 5
.prologue
.line 156
:try_start_0
const-string v0, "wifi"
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/net/wifi/WifiManager;
.line 157
if-eqz v0, :cond_32
.line 158
invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getWifiState()I
move-result v0
.line 159
const/4 v1, 0x3
if-eq v0, v1, :cond_14
const/4 v1, 0x1
if-ne v0, v1, :cond_32
:cond_14
iget-object v1, p0, Lcom/cleanmaster/notification/u;->a:Lcom/cleanmaster/notification/s;
invoke-static {v1}, Lcom/cleanmaster/notification/s;->a(Lcom/cleanmaster/notification/s;)I
move-result v1
if-eq v1, v0, :cond_32
.line 160
iget-object v1, p0, Lcom/cleanmaster/notification/u;->a:Lcom/cleanmaster/notification/s;
invoke-static {v1, v0}, Lcom/cleanmaster/notification/s;->a(Lcom/cleanmaster/notification/s;I)I
.line 161
invoke-static {p1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getPermanentNotificationWIFIUtilization()I
move-result v0
.line 162
invoke-static {p1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v1
add-int/lit8 v0, v0, 0x1
invoke-virtual {v1, v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setPermanentNotificationWIFIUtilization(I)V
:try_end_32
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_32} :catch_33
.line 167
:cond_32
:goto_32
return-void
.line 165
:catch_33
move-exception v0
goto :goto_32
.end method
.method public onReceiveInterAsync(Landroid/content/Context;Landroid/content/Intent;)V
.registers 3
.prologue
.line 172
return-void
.end method