g.smali
.class public Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;
.super Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController;
.source "CMController.java"
# interfaces
.implements Lcom/cm/plugincluster/nagativescreen/interfaces/INotificationController;
# direct methods
.method public constructor <init>()V
.registers 3
.prologue
.line 13
invoke-direct {p0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController;-><init>()V
.line 14
const v0, 0x7f0a0a2a
iput v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->t:I
.line 15
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->c:Landroid/content/Context;
iget v1, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->t:I
invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->n:Ljava/lang/String;
.line 16
return-void
.end method
# virtual methods
.method public a()I
.registers 2
.prologue
.line 20
const/4 v0, 0x1
return v0
.end method
.method public a(I)V
.registers 2
.prologue
.line 26
return-void
.end method
.method public b()V
.registers 4
.prologue
.line 35
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
.line 36
invoke-static {}, Lcom/cleanmaster/m/a;->a()Ljava/lang/Class;
move-result-object v1
.line 37
if-eqz v1, :cond_23
.line 38
iget-object v2, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->c:Landroid/content/Context;
invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;
.line 39
const/high16 v1, 0x14000000
invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
.line 41
iget-object v1, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->c:Landroid/content/Context;
invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
.line 43
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->u:Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController$OnControlListener;
if-eqz v0, :cond_23
.line 44
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->u:Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController$OnControlListener;
invoke-interface {v0, p0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController$OnControlListener;->onPageChanged(Lcom/cleanmaster/ui/floatwindow/switchcontrol/SwitchItemController;)V
.line 48
:cond_23
return-void
.end method
.method public c()I
.registers 2
.prologue
.line 52
const/16 v0, 0x8
return v0
.end method
.method public d()Ljava/lang/String;
.registers 2
.prologue
.line 62
iget-object v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->l:Lcom/cleanmaster/hpsharelib/base/imagefont/FontImageType;
iget-object v0, v0, Lcom/cleanmaster/hpsharelib/base/imagefont/FontImageType;->home:Ljava/lang/String;
return-object v0
.end method
.method public getNotificationResId(I)I
.registers 3
.prologue
.line 57
iget v0, p0, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->s:I
return v0
.end method
.method public onClick()V
.registers 1
.prologue
.line 30
invoke-virtual {p0}, Lcom/cleanmaster/ui/floatwindow/switchcontrol/g;->b()V
.line 31
return-void
.end method