s.smali
.class public Lcom/cleanmaster/notification/s;
.super Ljava/lang/Object;
.source "NotificationFeatureUtilizationMonitor.java"
# static fields
.field private static a:Lcom/cleanmaster/notification/s;
# instance fields
.field private b:Z
.field private c:Landroid/database/ContentObserver;
.field private d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.field private e:I
.field private f:Landroid/database/Cursor;
.field private g:Landroid/content/ContentQueryMap;
.field private h:Ljava/util/Observer;
.field private i:Z
.field private j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.field private k:I
.field private l:Landroid/database/ContentObserver;
.field private m:Landroid/database/ContentObserver;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 46
const/4 v0, 0x0
sput-object v0, Lcom/cleanmaster/notification/s;->a:Lcom/cleanmaster/notification/s;
return-void
.end method
.method private constructor <init>()V
.registers 2
.prologue
.line 67
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 48
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/cleanmaster/notification/s;->b:Z
.line 69
return-void
.end method
.method private a(Landroid/content/Context;Ljava/lang/String;)I
.registers 5
.prologue
.line 544
const/4 v0, 0x0
.line 547
:try_start_1
new-instance v1, Lcom/cleanmaster/hpsharelib/dao/DetectAppOpenDaoImpl;
invoke-direct {v1, p1}, Lcom/cleanmaster/hpsharelib/dao/DetectAppOpenDaoImpl;-><init>(Landroid/content/Context;)V
invoke-virtual {v1, p2}, Lcom/cleanmaster/hpsharelib/dao/DetectAppOpenDaoImpl;->getTotalOpenCountByPKGList(Ljava/lang/String;)I
:try_end_9
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_9} :catch_b
move-result v0
.line 551
:goto_a
return v0
.line 548
:catch_b
move-exception v1
goto :goto_a
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;)I
.registers 2
.prologue
.line 44
iget v0, p0, Lcom/cleanmaster/notification/s;->e:I
return v0
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;I)I
.registers 2
.prologue
.line 44
iput p1, p0, Lcom/cleanmaster/notification/s;->e:I
return p1
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;Landroid/content/ContentQueryMap;)Landroid/content/ContentQueryMap;
.registers 2
.prologue
.line 44
iput-object p1, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
return-object p1
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;Landroid/database/Cursor;)Landroid/database/Cursor;
.registers 2
.prologue
.line 44
iput-object p1, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
return-object p1
.end method
.method public static a()Lcom/cleanmaster/notification/s;
.registers 2
.prologue
.line 72
sget-object v0, Lcom/cleanmaster/notification/s;->a:Lcom/cleanmaster/notification/s;
if-nez v0, :cond_13
.line 73
const-class v1, Lcom/cleanmaster/notification/s;
monitor-enter v1
.line 74
:try_start_7
sget-object v0, Lcom/cleanmaster/notification/s;->a:Lcom/cleanmaster/notification/s;
if-nez v0, :cond_12
.line 75
new-instance v0, Lcom/cleanmaster/notification/s;
invoke-direct {v0}, Lcom/cleanmaster/notification/s;-><init>()V
sput-object v0, Lcom/cleanmaster/notification/s;->a:Lcom/cleanmaster/notification/s;
.line 76
:cond_12
monitor-exit v1
:try_end_13
.catchall {:try_start_7 .. :try_end_13} :catchall_16
.line 78
:cond_13
sget-object v0, Lcom/cleanmaster/notification/s;->a:Lcom/cleanmaster/notification/s;
return-object v0
.line 76
:catchall_16
move-exception v0
:try_start_17
monitor-exit v1
:try_end_18
.catchall {:try_start_17 .. :try_end_18} :catchall_16
throw v0
.end method
.method private a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
.registers 7
.prologue
.line 382
new-instance v1, Ljava/lang/StringBuffer;
invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V
.line 385
:try_start_5
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v0
.line 386
const/high16 v2, 0x10000
invoke-virtual {v0, p2, v2}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v0
.line 387
if-eqz v0, :cond_41
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v2
if-lez v2, :cond_41
.line 388
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v2
:cond_1b
:goto_1b
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_41
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/pm/ResolveInfo;
.line 389
iget-object v0, v0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
.line 390
if-eqz v0, :cond_1b
.line 391
const-string v3, "\'"
invoke-virtual {v1, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 392
iget-object v0, v0, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
invoke-virtual {v1, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 393
const-string v0, "\'"
invoke-virtual {v1, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 394
const-string v0, ","
invoke-virtual {v1, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
:try_end_3f
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_3f} :catch_40
goto :goto_1b
.line 398
:catch_40
move-exception v0
.line 401
:cond_41
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
.line 402
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_56
.line 403
const/4 v1, 0x0
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v2
add-int/lit8 v2, v2, -0x1
invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v0
.line 406
:cond_56
return-object v0
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;Ljava/util/Observer;)Ljava/util/Observer;
.registers 2
.prologue
.line 44
iput-object p1, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
return-object p1
.end method
.method static synthetic a(Lcom/cleanmaster/notification/s;Z)Z
.registers 2
.prologue
.line 44
iput-boolean p1, p0, Lcom/cleanmaster/notification/s;->i:Z
return p1
.end method
.method static synthetic b(Lcom/cleanmaster/notification/s;I)I
.registers 2
.prologue
.line 44
iput p1, p0, Lcom/cleanmaster/notification/s;->k:I
return p1
.end method
.method static synthetic b(Lcom/cleanmaster/notification/s;)Landroid/database/Cursor;
.registers 2
.prologue
.line 44
iget-object v0, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
return-object v0
.end method
.method static synthetic c(Lcom/cleanmaster/notification/s;)Landroid/content/ContentQueryMap;
.registers 2
.prologue
.line 44
iget-object v0, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
return-object v0
.end method
.method private d(Landroid/content/Context;)V
.registers 6
.prologue
.line 109
iget-object v0, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
if-nez v0, :cond_36
.line 110
new-instance v0, Lcom/cleanmaster/notification/t;
new-instance v1, Landroid/os/Handler;
invoke-virtual {p1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v2
invoke-direct {v1, v2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
invoke-direct {v0, p0, v1, p1}, Lcom/cleanmaster/notification/t;-><init>(Lcom/cleanmaster/notification/s;Landroid/os/Handler;Landroid/content/Context;)V
iput-object v0, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
.line 122
:try_start_14
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string/jumbo v1, "screen_brightness"
invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
const/4 v2, 0x0
iget-object v3, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
invoke-virtual {v0, v1, v2, v3}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V
.line 123
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string/jumbo v1, "screen_brightness_mode"
invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
const/4 v2, 0x0
iget-object v3, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
invoke-virtual {v0, v1, v2, v3}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V
:try_end_36
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_36} :catch_37
.line 127
:cond_36
:goto_36
return-void
.line 124
:catch_37
move-exception v0
goto :goto_36
.end method
.method static synthetic d(Lcom/cleanmaster/notification/s;)Z
.registers 2
.prologue
.line 44
iget-boolean v0, p0, Lcom/cleanmaster/notification/s;->i:Z
return v0
.end method
.method static synthetic e(Lcom/cleanmaster/notification/s;)Ljava/util/Observer;
.registers 2
.prologue
.line 44
iget-object v0, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
return-object v0
.end method
.method private e(Landroid/content/Context;)V
.registers 4
.prologue
.line 130
iget-object v0, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
if-eqz v0, :cond_10
.line 132
:try_start_4
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
invoke-virtual {v0, v1}, Landroid/content/ContentResolver;->unregisterContentObserver(Landroid/database/ContentObserver;)V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_d} :catch_11
.line 135
:goto_d
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/notification/s;->c:Landroid/database/ContentObserver;
.line 137
:cond_10
return-void
.line 133
:catch_11
move-exception v0
goto :goto_d
.end method
.method static synthetic f(Lcom/cleanmaster/notification/s;)I
.registers 2
.prologue
.line 44
iget v0, p0, Lcom/cleanmaster/notification/s;->k:I
return v0
.end method
.method private f(Landroid/content/Context;)V
.registers 5
.prologue
.line 140
invoke-static {p1}, Lcom/cleanmaster/hpsharelib/base/util/net/NetworkUtil;->isAllowAccessNetwork(Landroid/content/Context;)Z
move-result v0
if-nez v0, :cond_7
.line 182
:cond_6
:goto_6
return-void
.line 143
:cond_7
iget-object v0, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
if-nez v0, :cond_6
.line 145
:try_start_b
const-string/jumbo 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 146
if-eqz v0, :cond_1c
.line 147
invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getWifiState()I
move-result v0
iput v0, p0, Lcom/cleanmaster/notification/s;->e:I
:try_end_1c
.catch Ljava/lang/Exception; {:try_start_b .. :try_end_1c} :catch_39
.line 152
:cond_1c
:goto_1c
new-instance v0, Lcom/cleanmaster/notification/u;
invoke-direct {v0, p0}, Lcom/cleanmaster/notification/u;-><init>(Lcom/cleanmaster/notification/s;)V
iput-object v0, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.line 176
:try_start_23
new-instance v0, Landroid/content/IntentFilter;
invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V
.line 177
const-string v1, "android.net.wifi.WIFI_STATE_CHANGED"
invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 178
invoke-static {p1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->getInstance(Landroid/content/Context;)Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;
move-result-object v1
iget-object v2, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
invoke-virtual {v1, v2, v0}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->registerReceiver(Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;Landroid/content/IntentFilter;)V
:try_end_36
.catch Ljava/lang/Exception; {:try_start_23 .. :try_end_36} :catch_37
goto :goto_6
.line 179
:catch_37
move-exception v0
goto :goto_6
.line 149
:catch_39
move-exception v0
goto :goto_1c
.end method
.method private g(Landroid/content/Context;)V
.registers 4
.prologue
.line 185
iget-object v0, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
if-eqz v0, :cond_10
.line 187
:try_start_4
invoke-static {p1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->getInstance(Landroid/content/Context;)Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
invoke-virtual {v0, v1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->unregisterReceiver(Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;)V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_d} :catch_11
.line 190
:goto_d
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/notification/s;->d:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.line 192
:cond_10
return-void
.line 188
:catch_11
move-exception v0
goto :goto_d
.end method
.method private h(Landroid/content/Context;)V
.registers 4
.prologue
.line 195
iget-object v0, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
if-nez v0, :cond_18
iget-object v0, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
if-nez v0, :cond_18
iget-object v0, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
if-nez v0, :cond_18
.line 196
invoke-static {}, Lcom/cleanmaster/base/util/concurrent/BackgroundThread;->getHandler()Landroid/os/Handler;
move-result-object v0
new-instance v1, Lcom/cleanmaster/notification/v;
invoke-direct {v1, p0, p1}, Lcom/cleanmaster/notification/v;-><init>(Lcom/cleanmaster/notification/s;Landroid/content/Context;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
.line 249
:cond_18
return-void
.end method
.method private i(Landroid/content/Context;)V
.registers 5
.prologue
const/4 v2, 0x0
.line 252
iget-object v0, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
if-eqz v0, :cond_10
iget-object v0, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
if-eqz v0, :cond_10
.line 254
:try_start_9
iget-object v0, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
iget-object v1, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
invoke-virtual {v0, v1}, Landroid/content/ContentQueryMap;->deleteObserver(Ljava/util/Observer;)V
:try_end_10
.catch Ljava/lang/Exception; {:try_start_9 .. :try_end_10} :catch_22
.line 259
:cond_10
:goto_10
iget-object v0, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
if-eqz v0, :cond_1b
.line 261
:try_start_14
iget-object v0, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
invoke-interface {v0}, Landroid/database/Cursor;->close()V
:try_end_19
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_19} :catch_20
.line 264
:goto_19
iput-object v2, p0, Lcom/cleanmaster/notification/s;->f:Landroid/database/Cursor;
.line 267
:cond_1b
iput-object v2, p0, Lcom/cleanmaster/notification/s;->g:Landroid/content/ContentQueryMap;
.line 268
iput-object v2, p0, Lcom/cleanmaster/notification/s;->h:Ljava/util/Observer;
.line 269
return-void
.line 262
:catch_20
move-exception v0
goto :goto_19
.line 255
:catch_22
move-exception v0
goto :goto_10
.end method
.method private j(Landroid/content/Context;)V
.registers 5
.prologue
.line 272
iget-object v0, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
if-nez v0, :cond_2c
.line 274
:try_start_4
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 275
invoke-virtual {v0}, Landroid/media/AudioManager;->getRingerMode()I
move-result v0
iput v0, p0, Lcom/cleanmaster/notification/s;->k:I
:try_end_12
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_12} :catch_2f
.line 279
:goto_12
new-instance v0, Lcom/cleanmaster/notification/x;
invoke-direct {v0, p0}, Lcom/cleanmaster/notification/x;-><init>(Lcom/cleanmaster/notification/s;)V
iput-object v0, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.line 301
:try_start_19
new-instance v0, Landroid/content/IntentFilter;
invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V
.line 302
const-string v1, "android.media.RINGER_MODE_CHANGED"
invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
.line 303
invoke-static {p1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->getInstance(Landroid/content/Context;)Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;
move-result-object v1
iget-object v2, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
invoke-virtual {v1, v2, v0}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->registerReceiver(Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;Landroid/content/IntentFilter;)V
:try_end_2c
.catch Ljava/lang/Exception; {:try_start_19 .. :try_end_2c} :catch_2d
.line 307
:cond_2c
:goto_2c
return-void
.line 304
:catch_2d
move-exception v0
goto :goto_2c
.line 276
:catch_2f
move-exception v0
goto :goto_12
.end method
.method private k(Landroid/content/Context;)V
.registers 4
.prologue
.line 310
iget-object v0, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
if-eqz v0, :cond_10
.line 312
:try_start_4
invoke-static {p1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->getInstance(Landroid/content/Context;)Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
invoke-virtual {v0, v1}, Lcom/cleanmaster/hpcommonlib/utils/CmBroadcastManager;->unregisterReceiver(Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;)V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_d} :catch_11
.line 315
:goto_d
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/notification/s;->j:Lcom/cleanmaster/hpcommonlib/utils/CMBaseReceiver;
.line 317
:cond_10
return-void
.line 313
:catch_11
move-exception v0
goto :goto_d
.end method
.method private l(Landroid/content/Context;)V
.registers 6
.prologue
.line 320
iget-object v0, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
if-nez v0, :cond_25
.line 321
new-instance v0, Lcom/cleanmaster/notification/y;
new-instance v1, Landroid/os/Handler;
invoke-virtual {p1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v2
invoke-direct {v1, v2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
invoke-direct {v0, p0, v1, p1}, Lcom/cleanmaster/notification/y;-><init>(Lcom/cleanmaster/notification/s;Landroid/os/Handler;Landroid/content/Context;)V
iput-object v0, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
.line 330
:try_start_14
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string/jumbo v1, "screen_off_timeout"
invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
const/4 v2, 0x0
iget-object v3, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
invoke-virtual {v0, v1, v2, v3}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V
:try_end_25
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_25} :catch_26
.line 334
:cond_25
:goto_25
return-void
.line 331
:catch_26
move-exception v0
goto :goto_25
.end method
.method private m(Landroid/content/Context;)V
.registers 4
.prologue
.line 337
iget-object v0, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
if-eqz v0, :cond_10
.line 339
:try_start_4
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
invoke-virtual {v0, v1}, Landroid/content/ContentResolver;->unregisterContentObserver(Landroid/database/ContentObserver;)V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_d} :catch_11
.line 342
:goto_d
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/notification/s;->l:Landroid/database/ContentObserver;
.line 344
:cond_10
return-void
.line 340
:catch_11
move-exception v0
goto :goto_d
.end method
.method private n(Landroid/content/Context;)V
.registers 6
.prologue
.line 347
iget-object v0, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
if-nez v0, :cond_24
.line 348
new-instance v0, Lcom/cleanmaster/notification/z;
new-instance v1, Landroid/os/Handler;
invoke-virtual {p1}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v2
invoke-direct {v1, v2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
invoke-direct {v0, p0, v1, p1}, Lcom/cleanmaster/notification/z;-><init>(Lcom/cleanmaster/notification/s;Landroid/os/Handler;Landroid/content/Context;)V
iput-object v0, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
.line 357
:try_start_14
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string v1, "accelerometer_rotation"
invoke-static {v1}, Landroid/provider/Settings$System;->getUriFor(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
const/4 v2, 0x0
iget-object v3, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
invoke-virtual {v0, v1, v2, v3}, Landroid/content/ContentResolver;->registerContentObserver(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V
:try_end_24
.catch Ljava/lang/Exception; {:try_start_14 .. :try_end_24} :catch_25
.line 361
:cond_24
:goto_24
return-void
.line 358
:catch_25
move-exception v0
goto :goto_24
.end method
.method private o(Landroid/content/Context;)V
.registers 4
.prologue
.line 364
iget-object v0, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
if-eqz v0, :cond_10
.line 366
:try_start_4
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
iget-object v1, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
invoke-virtual {v0, v1}, Landroid/content/ContentResolver;->unregisterContentObserver(Landroid/database/ContentObserver;)V
:try_end_d
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_d} :catch_11
.line 369
:goto_d
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/notification/s;->m:Landroid/database/ContentObserver;
.line 371
:cond_10
return-void
.line 367
:catch_11
move-exception v0
goto :goto_d
.end method
.method private p(Landroid/content/Context;)I
.registers 4
.prologue
.line 374
new-instance v0, Landroid/content/Intent;
const-string v1, "android.media.action.STILL_IMAGE_CAMERA"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 376
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 378
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private q(Landroid/content/Context;)I
.registers 4
.annotation build Landroid/annotation/SuppressLint;
value = {
"InlinedApi"
}
.end annotation
.prologue
.line 411
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.SET_ALARM"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 413
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 415
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private r(Landroid/content/Context;)I
.registers 4
.prologue
.line 419
new-instance v0, Ljava/lang/StringBuffer;
invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V
.line 421
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 422
const-string v1, "com.android.calculator2"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 423
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 425
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 427
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 428
const-string v1, "com.sec.android.app.popupcalculator"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 429
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 431
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 433
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 434
const-string v1, "com.sec.android.app.calculator"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 435
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 437
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private s(Landroid/content/Context;)I
.registers 4
.prologue
.line 441
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.MUSIC_PLAYER"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 443
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 445
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private t(Landroid/content/Context;)I
.registers 5
.prologue
.line 449
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.VIEW"
sget-object v2, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
.line 451
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 453
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private u(Landroid/content/Context;)I
.registers 4
.prologue
.line 457
new-instance v0, Landroid/content/Intent;
const-string v1, "android.settings.SETTINGS"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 459
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 461
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private v(Landroid/content/Context;)I
.registers 4
.prologue
.line 465
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
.line 466
const-string v1, "android.intent.action.GET_CONTENT"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
.line 467
const-string v1, "file/*"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
.line 469
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 471
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private w(Landroid/content/Context;)I
.registers 4
.prologue
.line 475
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
.line 476
const-string v1, "android.intent.action.VIEW"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
.line 477
const-string v1, "http://"
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
.line 479
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 481
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private x(Landroid/content/Context;)I
.registers 4
.prologue
.line 485
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.SEND"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 486
const-string v1, "mailto:"
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
.line 487
const-string v1, "message/*"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;
.line 489
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 491
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private y(Landroid/content/Context;)I
.registers 4
.prologue
.line 495
new-instance v0, Ljava/lang/StringBuffer;
invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V
.line 497
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 498
const-string v1, "com.android.calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 499
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 501
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 503
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 504
const-string v1, "com.google.android.calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 505
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 507
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 509
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 510
const-string v1, "com.htc.calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 511
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 513
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 515
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 516
const-string v1, "com.yulong.android.calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 517
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 519
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 521
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 522
const-string v1, "com.lenovo.app.Calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 523
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 525
const-string v1, ","
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 527
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 528
const-string v1, "com.lenovo.calendar"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 529
const-string v1, "\'"
invoke-virtual {v0, v1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 531
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
.method private z(Landroid/content/Context;)I
.registers 4
.prologue
.line 535
new-instance v0, Landroid/content/Intent;
const-string v1, "android.intent.action.VIEW"
invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
.line 536
const-string v1, "geo:"
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
.line 538
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Landroid/content/Intent;)Ljava/lang/String;
move-result-object v0
.line 540
invoke-direct {p0, p1, v0}, Lcom/cleanmaster/notification/s;->a(Landroid/content/Context;Ljava/lang/String;)I
move-result v0
return v0
.end method
# virtual methods
.method public a(Landroid/content/Context;)V
.registers 3
.prologue
.line 82
iget-boolean v0, p0, Lcom/cleanmaster/notification/s;->b:Z
if-eqz v0, :cond_5
.line 92
:goto_4
return-void
.line 85
:cond_5
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/cleanmaster/notification/s;->b:Z
.line 86
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->d(Landroid/content/Context;)V
.line 87
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->f(Landroid/content/Context;)V
.line 88
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->h(Landroid/content/Context;)V
.line 89
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->j(Landroid/content/Context;)V
.line 90
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->l(Landroid/content/Context;)V
.line 91
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->n(Landroid/content/Context;)V
goto :goto_4
.end method
.method public b(Landroid/content/Context;)V
.registers 3
.prologue
.line 95
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->e(Landroid/content/Context;)V
.line 96
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->g(Landroid/content/Context;)V
.line 97
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->i(Landroid/content/Context;)V
.line 98
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->k(Landroid/content/Context;)V
.line 99
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->m(Landroid/content/Context;)V
.line 100
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->o(Landroid/content/Context;)V
.line 101
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/cleanmaster/notification/s;->b:Z
.line 102
return-void
.end method
.method public c(Landroid/content/Context;)Ljava/util/Map;
.registers 8
.annotation build Landroid/annotation/SuppressLint;
value = {
"UseSparseArrays"
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Ljava/util/Map",
"<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.prologue
const/16 v2, 0xa
.line 556
new-instance v3, Ljava/util/HashMap;
invoke-direct {v3}, Ljava/util/HashMap;-><init>()V
.line 558
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;->getPermanentNotificationBrightnessUtilization()I
move-result v0
.line 559
const/4 v1, 0x1
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 561
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 562
const/4 v1, 0x2
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 564
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;->getPermanentNotificationDataUtilization()I
move-result v0
.line 565
const/4 v1, 0x3
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 567
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 568
const/4 v1, 0x4
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 570
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;->getPermanentNotificationScreenTimeoutUtilization()I
move-result v0
.line 571
const/16 v1, 0xf
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 573
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;->getPermanentNotificationRotateUtilization()I
move-result v0
.line 574
const/16 v1, 0x19
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 576
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->p(Landroid/content/Context;)I
move-result v0
.line 577
const/4 v1, 0x5
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 579
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->q(Landroid/content/Context;)I
move-result v0
.line 580
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 582
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->r(Landroid/content/Context;)I
move-result v0
.line 583
const/4 v1, 0x6
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 585
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->s(Landroid/content/Context;)I
move-result v0
.line 586
const/16 v1, 0x20
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 588
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->t(Landroid/content/Context;)I
move-result v0
.line 589
const/16 v1, 0x10
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 591
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->u(Landroid/content/Context;)I
move-result v0
.line 592
const/16 v1, 0xd
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 594
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->v(Landroid/content/Context;)I
move-result v0
.line 595
const/16 v1, 0x21
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 597
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->w(Landroid/content/Context;)I
move-result v0
.line 598
const/16 v1, 0x1e
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 600
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->x(Landroid/content/Context;)I
move-result v0
.line 601
const/16 v1, 0x23
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 603
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->y(Landroid/content/Context;)I
move-result v0
.line 604
const/4 v1, 0x7
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 606
invoke-direct {p0, p1}, Lcom/cleanmaster/notification/s;->z(Landroid/content/Context;)I
move-result v0
.line 607
const/16 v1, 0x22
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 609
new-instance v4, Ljava/util/ArrayList;
invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V
.line 610
invoke-interface {v3}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
invoke-interface {v4, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
.line 611
invoke-static {v4}, Ljava/util/Collections;->sort(Ljava/util/List;)V
.line 613
const/4 v0, 0x0
.line 615
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v5
.line 616
if-lez v5, :cond_167
.line 617
if-lt v5, v2, :cond_177
.line 618
add-int/lit8 v1, v5, -0x1
move v2, v1
move v1, v0
:goto_153
add-int/lit8 v0, v5, -0xa
if-lt v2, v0, :cond_166
.line 619
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
add-int/2addr v1, v0
.line 618
add-int/lit8 v0, v2, -0x1
move v2, v0
goto :goto_153
:cond_166
move v0, v1
.line 628
:cond_167
:goto_167
div-int/lit8 v0, v0, 0xa
.line 630
const/16 v1, 0xb
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
invoke-interface {v3, v1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 632
return-object v3
.line 622
:cond_177
add-int/lit8 v1, v5, -0x1
move v2, v1
move v1, v0
:goto_17b
if-ltz v2, :cond_18c
.line 623
invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
add-int/2addr v1, v0
.line 622
add-int/lit8 v0, v2, -0x1
move v2, v0
goto :goto_17b
:cond_18c
move v0, v1
goto :goto_167
.end method