101 lines
2.9 KiB
Smali
101 lines
2.9 KiB
Smali
.class Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$10;
|
|
.super Ljava/lang/Object;
|
|
.source "SettingDevelopConsoleFragment.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/moji/dialog/control/MJDialogDefaultControl$SingleButtonCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->a(Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;)V
|
|
.locals 0
|
|
|
|
.line 478
|
|
iput-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$10;->a:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/moji/dialog/MJDialog;Lcom/moji/dialog/type/ETypeAction;)V
|
|
.locals 4
|
|
.param p1 # Lcom/moji/dialog/MJDialog;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lcom/moji/dialog/type/ETypeAction;
|
|
.annotation build Landroid/support/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 481
|
|
iget-object p1, p0, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment$10;->a:Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/mjweather/setting/fragment/SettingDevelopConsoleFragment;->getActivity()Landroid/app/Activity;
|
|
|
|
move-result-object p1
|
|
|
|
.line 482
|
|
new-instance p2, Landroid/content/Intent;
|
|
|
|
const-class v0, Lcom/moji/mjweather/MainActivity;
|
|
|
|
invoke-direct {p2, p1, v0}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
|
|
|
const v0, 0x1e240
|
|
|
|
const/high16 v1, 0x10000000
|
|
|
|
.line 484
|
|
invoke-static {p1, v0, p2, v1}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "alarm"
|
|
|
|
.line 485
|
|
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/app/AlarmManager;
|
|
|
|
.line 486
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x64
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {p1, v2, v0, v1, p2}, Landroid/app/AlarmManager;->set(IJLandroid/app/PendingIntent;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 487
|
|
invoke-static {p1}, Ljava/lang/System;->exit(I)V
|
|
|
|
return-void
|
|
.end method
|