j.smali
.class final Lcom/cm/reminder/view/j;
.super Ljava/lang/Object;
.source "ReminderDialogUtil.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field final synthetic a:Landroid/app/Dialog;
.field final synthetic b:Lcom/cm/reminder/system/a/a;
.field final synthetic c:Landroid/app/Activity;
# direct methods
.method constructor <init>(Landroid/app/Dialog;Lcom/cm/reminder/system/a/a;Landroid/app/Activity;)V
.registers 4
.prologue
.line 181
iput-object p1, p0, Lcom/cm/reminder/view/j;->a:Landroid/app/Dialog;
iput-object p2, p0, Lcom/cm/reminder/view/j;->b:Lcom/cm/reminder/system/a/a;
iput-object p3, p0, Lcom/cm/reminder/view/j;->c:Landroid/app/Activity;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.registers 4
.prologue
.line 184
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v0
.line 185
iget-object v1, p0, Lcom/cm/reminder/view/j;->a:Landroid/app/Dialog;
if-eqz v1, :cond_d
.line 186
iget-object v1, p0, Lcom/cm/reminder/view/j;->a:Landroid/app/Dialog;
invoke-virtual {v1}, Landroid/app/Dialog;->dismiss()V
.line 188
:cond_d
sget v1, Lcom/cm/reminder/R$id;->calendar_dialog_right_btn:I
if-ne v0, v1, :cond_33
.line 189
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cm/reminder/system/d;->b(Landroid/content/Context;)Z
move-result v0
if-eqz v0, :cond_27
.line 190
const/4 v0, 0x1
invoke-static {v0}, Lcom/cm/reminder/system/d;->a(Z)V
.line 191
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cm/reminder/system/ui/SyncCalendarBroadcastReceiver;->a(Landroid/content/Context;)V
.line 202
:cond_26
:goto_26
return-void
.line 193
:cond_27
iget-object v0, p0, Lcom/cm/reminder/view/j;->b:Lcom/cm/reminder/system/a/a;
if-eqz v0, :cond_26
.line 194
iget-object v0, p0, Lcom/cm/reminder/view/j;->b:Lcom/cm/reminder/system/a/a;
iget-object v1, p0, Lcom/cm/reminder/view/j;->c:Landroid/app/Activity;
invoke-virtual {v0, v1}, Lcom/cm/reminder/system/a/a;->b(Landroid/app/Activity;)V
goto :goto_26
.line 197
:cond_33
sget v1, Lcom/cm/reminder/R$id;->calendar_dialog_left_btn:I
if-ne v0, v1, :cond_3f
.line 198
invoke-static {}, Lcom/cm/reminder/c/j;->a()Lcom/cm/reminder/c/j;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/reminder/c/j;->c()V
goto :goto_26
.line 199
:cond_3f
sget v1, Lcom/cm/reminder/R$id;->calendar_dialog_right_close:I
if-ne v0, v1, :cond_26
.line 200
invoke-static {}, Lcom/cm/reminder/c/j;->a()Lcom/cm/reminder/c/j;
move-result-object v0
invoke-virtual {v0}, Lcom/cm/reminder/c/j;->d()V
goto :goto_26
.end method