x.smali
.class Lcom/cleanmaster/notification/x;
.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 279
iput-object p1, p0, Lcom/cleanmaster/notification/x;->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 283
:try_start_0
const-string v0, "audio"
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/media/AudioManager;
.line 284
invoke-virtual {v0}, Landroid/media/AudioManager;->getRingerMode()I
move-result v0
.line 285
iget-object v1, p0, Lcom/cleanmaster/notification/x;->a:Lcom/cleanmaster/notification/s;
invoke-static {v1}, Lcom/cleanmaster/notification/s;->f(Lcom/cleanmaster/notification/s;)I
move-result v1
if-eq v1, v0, :cond_2a
.line 286
iget-object v1, p0, Lcom/cleanmaster/notification/x;->a:Lcom/cleanmaster/notification/s;
invoke-static {v1, v0}, Lcom/cleanmaster/notification/s;->b(Lcom/cleanmaster/notification/s;I)I
.line 287
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;->getPermanentNotificationVolumeUtilization()I
move-result v0
.line 288
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;->setPermanentNotificationVolumeUtilization(I)V
:try_end_2a
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_2a} :catch_2b
.line 292
:cond_2a
:goto_2a
return-void
.line 290
:catch_2b
move-exception v0
goto :goto_2a
.end method
.method public onReceiveInterAsync(Landroid/content/Context;Landroid/content/Intent;)V
.registers 3
.prologue
.line 297
return-void
.end method