1306 lines
34 KiB
Smali
1306 lines
34 KiB
Smali
.class public Lcom/moji/push/PushNotifyDistributor;
|
|
.super Lcom/moji/tool/thread/task/MJAsyncTask;
|
|
.source "PushNotifyDistributor.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/moji/tool/thread/task/MJAsyncTask<",
|
|
"Landroid/content/Intent;",
|
|
"Ljava/lang/Void;",
|
|
"Lcom/moji/push/PushType;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private a:Landroid/content/Context;
|
|
|
|
.field private b:Ljava/lang/String;
|
|
|
|
.field private c:Ljava/lang/String;
|
|
|
|
.field private d:Landroid/os/Bundle;
|
|
|
|
.field private e:Ljava/lang/String;
|
|
|
|
.field private f:Ljava/lang/String;
|
|
|
|
.field private g:Ljava/lang/String;
|
|
|
|
.field private h:Ljava/lang/String;
|
|
|
|
.field private i:Ljava/lang/String;
|
|
|
|
.field private j:Ljava/lang/String;
|
|
|
|
.field private k:Ljava/lang/String;
|
|
|
|
.field private l:Ljava/lang/String;
|
|
|
|
.field private m:Ljava/lang/String;
|
|
|
|
.field private n:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 58
|
|
sget-object v0, Lcom/moji/tool/thread/ThreadPriority;->NORMAL:Lcom/moji/tool/thread/ThreadPriority;
|
|
|
|
invoke-direct {p0, v0}, Lcom/moji/tool/thread/task/MJAsyncTask;-><init>(Lcom/moji/tool/thread/ThreadPriority;)V
|
|
|
|
.line 59
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/moji/push/PushNotifyDistributor;->a:Landroid/content/Context;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic a(Lcom/moji/push/PushNotifyDistributor;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 40
|
|
iget-object p0, p0, Lcom/moji/push/PushNotifyDistributor;->c:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private a(Lorg/json/JSONObject;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
const-string v0, ""
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
:try_start_0
|
|
const-string v1, "ids"
|
|
|
|
.line 276
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const-string v1, "ids"
|
|
|
|
.line 277
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, ""
|
|
|
|
const-string v3, "propertys"
|
|
|
|
.line 279
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const-string v3, "propertys"
|
|
|
|
.line 280
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const-string v3, "type"
|
|
|
|
.line 281
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 282
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v3, "-"
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "type"
|
|
|
|
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 285
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-object v0, p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 288
|
|
invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static b(Lorg/json/JSONObject;)V
|
|
.locals 2
|
|
|
|
const-string v0, "m10"
|
|
|
|
const-string v1, "ids"
|
|
|
|
.line 294
|
|
invoke-virtual {p0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 295
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p0
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->NEWLIVEVIEW_PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p0, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method protected varargs a([Landroid/content/Intent;)Lcom/moji/push/PushType;
|
|
.locals 7
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 64
|
|
aget-object p1, p1, v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_f
|
|
|
|
const-string v2, "bundle"
|
|
|
|
.line 66
|
|
invoke-virtual {p1, v2}, Landroid/content/Intent;->getBundleExtra(Ljava/lang/String;)Landroid/os/Bundle;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v2, "system_notify"
|
|
|
|
.line 67
|
|
invoke-virtual {p1, v2, v0}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p0, Lcom/moji/push/PushNotifyDistributor;->n:I
|
|
|
|
const-string v2, "push_type"
|
|
|
|
.line 68
|
|
invoke-virtual {p1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 69
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 70
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "target_url"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
.line 71
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "msgtype"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
.line 72
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "push_task_id"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->h:Ljava/lang/String;
|
|
|
|
.line 73
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "push_message_id"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->i:Ljava/lang/String;
|
|
|
|
.line 74
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "alert_icon"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->j:Ljava/lang/String;
|
|
|
|
.line 75
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "notifyication_city_id"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->k:Ljava/lang/String;
|
|
|
|
.line 76
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "subscribe_title"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->l:Ljava/lang/String;
|
|
|
|
.line 77
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v3, "subscribe_content"
|
|
|
|
invoke-virtual {v2, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
iput-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->m:Ljava/lang/String;
|
|
|
|
.line 79
|
|
:cond_0
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_f
|
|
|
|
.line 80
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
const/4 v4, 0x2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
.line 81
|
|
new-array v2, v4, [Ljava/lang/Object;
|
|
|
|
iget-object v4, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
iget v0, p0, Lcom/moji/push/PushNotifyDistributor;->n:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, v2, v3
|
|
|
|
invoke-static {v2}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
.line 82
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v2, v3, p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;
|
|
|
|
goto :goto_1
|
|
|
|
.line 83
|
|
:cond_1
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
.line 84
|
|
new-array v2, v4, [Ljava/lang/Object;
|
|
|
|
iget-object v4, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
aput-object v4, v2, v0
|
|
|
|
iget v0, p0, Lcom/moji/push/PushNotifyDistributor;->n:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, v2, v3
|
|
|
|
invoke-static {v2}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
.line 85
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v2, v3, p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
const-string v2, ""
|
|
|
|
.line 88
|
|
iget-object v5, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
.line 89
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v5, "openjson"
|
|
|
|
invoke-virtual {v2, v5}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
:cond_3
|
|
const-string v5, ""
|
|
|
|
.line 92
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v6
|
|
|
|
if-nez v6, :cond_4
|
|
|
|
.line 94
|
|
:try_start_0
|
|
new-instance v6, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v6, v2}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 95
|
|
invoke-direct {p0, v6}, Lcom/moji/push/PushNotifyDistributor;->a(Lorg/json/JSONObject;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
move-object v5, v6
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v6
|
|
|
|
.line 97
|
|
invoke-virtual {v6}, Lorg/json/JSONException;->printStackTrace()V
|
|
|
|
:cond_4
|
|
:goto_0
|
|
const/4 v6, 0x3
|
|
|
|
.line 100
|
|
new-array v6, v6, [Ljava/lang/Object;
|
|
|
|
aput-object v2, v6, v0
|
|
|
|
iget v0, p0, Lcom/moji/push/PushNotifyDistributor;->n:I
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
aput-object v0, v6, v3
|
|
|
|
aput-object v5, v6, v4
|
|
|
|
invoke-static {v6}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
.line 101
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v2
|
|
|
|
sget-object v3, Lcom/moji/statistics/EVENT_TAG;->PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {v2, v3, p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;
|
|
|
|
.line 103
|
|
:goto_1
|
|
invoke-static {}, Lcom/igexin/sdk/PushManager;->getInstance()Lcom/igexin/sdk/PushManager;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->a:Landroid/content/Context;
|
|
|
|
iget-object v3, p0, Lcom/moji/push/PushNotifyDistributor;->h:Ljava/lang/String;
|
|
|
|
iget-object v4, p0, Lcom/moji/push/PushNotifyDistributor;->i:Ljava/lang/String;
|
|
|
|
sget-object v5, Lcom/moji/push/FeedMessageType;->PUSH_CLICK:Lcom/moji/push/FeedMessageType;
|
|
|
|
invoke-virtual {v5}, Lcom/moji/push/FeedMessageType;->value()I
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v0, v2, v3, v4, v5}, Lcom/igexin/sdk/PushManager;->sendFeedbackMessage(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)Z
|
|
|
|
.line 104
|
|
invoke-static {p1}, Lcom/moji/push/PushType;->getPushTypeByTag(Ljava/lang/String;)Lcom/moji/push/PushType;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_f
|
|
|
|
.line 106
|
|
sget-object v0, Lcom/moji/push/PushNotifyDistributor$2;->a:[I
|
|
|
|
invoke-virtual {p1}, Lcom/moji/push/PushType;->ordinal()I
|
|
|
|
move-result v2
|
|
|
|
aget v0, v0, v2
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
goto/16 :goto_2
|
|
|
|
.line 174
|
|
:pswitch_0
|
|
sget-object p1, Lcom/moji/push/PushType;->COMMERCE:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
.line 172
|
|
:pswitch_1
|
|
sget-object p1, Lcom/moji/push/PushType;->WEATHER_AQI:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
.line 163
|
|
:pswitch_2
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 164
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "openjson"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->e:Ljava/lang/String;
|
|
|
|
.line 166
|
|
:cond_5
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->e:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_6
|
|
|
|
.line 167
|
|
sget-object p1, Lcom/moji/push/PushType;->NATIVE_SKIP:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
:cond_6
|
|
return-object v1
|
|
|
|
:pswitch_3
|
|
return-object v1
|
|
|
|
:pswitch_4
|
|
return-object p1
|
|
|
|
.line 146
|
|
:pswitch_5
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_7
|
|
|
|
.line 147
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "notifyication_file_url"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->c:Ljava/lang/String;
|
|
|
|
.line 149
|
|
:cond_7
|
|
sget-object p1, Lcom/moji/push/PushType;->LIFE_SKIN_ACTIVITY:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
.line 136
|
|
:pswitch_6
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_8
|
|
|
|
.line 137
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "target_url"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
.line 138
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "title"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->f:Ljava/lang/String;
|
|
|
|
.line 140
|
|
:cond_8
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_9
|
|
|
|
.line 141
|
|
sget-object p1, Lcom/moji/push/PushType;->LIFE_H5:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
:cond_9
|
|
return-object v1
|
|
|
|
.line 120
|
|
:pswitch_7
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_a
|
|
|
|
.line 121
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "target_url"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
.line 122
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
const-string v0, "title"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->f:Ljava/lang/String;
|
|
|
|
.line 124
|
|
:cond_a
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_c
|
|
|
|
.line 125
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
const-string v0, "opentype=feeds"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_b
|
|
|
|
.line 126
|
|
sget-object p1, Lcom/moji/push/PushType;->MO_MESSAGE:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
.line 128
|
|
:cond_b
|
|
sget-object p1, Lcom/moji/push/PushType;->LIFE_H5:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
:cond_c
|
|
return-object v1
|
|
|
|
.line 114
|
|
:pswitch_8
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_d
|
|
|
|
.line 115
|
|
sget-object p1, Lcom/moji/push/PushType;->WEATHER_ALERT:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
:cond_d
|
|
return-object v1
|
|
|
|
.line 108
|
|
:pswitch_9
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->d:Landroid/os/Bundle;
|
|
|
|
if-eqz p1, :cond_e
|
|
|
|
.line 109
|
|
sget-object p1, Lcom/moji/push/PushType;->WEATHER_SUBSCRIBE:Lcom/moji/push/PushType;
|
|
|
|
return-object p1
|
|
|
|
:cond_e
|
|
return-object v1
|
|
|
|
:cond_f
|
|
:goto_2
|
|
return-object v1
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_9
|
|
:pswitch_8
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_6
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_4
|
|
:pswitch_3
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 40
|
|
check-cast p1, [Landroid/content/Intent;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/push/PushNotifyDistributor;->a([Landroid/content/Intent;)Lcom/moji/push/PushType;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method protected a(Lcom/moji/push/PushType;)V
|
|
.locals 6
|
|
|
|
.line 185
|
|
invoke-super {p0, p1}, Lcom/moji/tool/thread/task/MJAsyncTask;->a(Ljava/lang/Object;)V
|
|
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 187
|
|
invoke-static {}, Lcom/moji/router/MJRouter;->a()Lcom/moji/router/MJRouter;
|
|
|
|
move-result-object v0
|
|
|
|
.line 189
|
|
sget-object v1, Lcom/moji/push/PushNotifyDistributor$2;->a:[I
|
|
|
|
invoke-virtual {p1}, Lcom/moji/push/PushType;->ordinal()I
|
|
|
|
move-result v2
|
|
|
|
aget v1, v1, v2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
packed-switch v1, :pswitch_data_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
packed-switch v1, :pswitch_data_1
|
|
|
|
packed-switch v1, :pswitch_data_2
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 261
|
|
:pswitch_0
|
|
invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/moji/push/event/CommerceEvent;
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v1}, Lcom/moji/push/event/CommerceEvent;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/bus/Bus;->c(Ljava/lang/Object;)V
|
|
|
|
.line 262
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/moji/statistics/EVENT_TAG;->PUSH_CLICK_COMMERCE:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
goto/16 :goto_3
|
|
|
|
:pswitch_1
|
|
const-string p1, "aqi/main"
|
|
|
|
.line 250
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "CITY_ID"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->k:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->k:Ljava/lang/String;
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
:goto_0
|
|
invoke-virtual {p1, v0, v3}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;I)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 234
|
|
:pswitch_2
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->e:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
:try_start_1
|
|
const-string v1, "propertys"
|
|
|
|
.line 235
|
|
invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "from"
|
|
|
|
const-string v5, "push"
|
|
|
|
.line 236
|
|
invoke-virtual {v1, v2, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v1, "PushNotifyDistributor"
|
|
|
|
.line 237
|
|
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v1, v2}, Lcom/moji/tool/log/MJLogger;->c(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 238
|
|
new-instance v1, Lcom/moji/open/OpenNewPage;
|
|
|
|
invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v1, v2}, Lcom/moji/open/OpenNewPage;-><init>(Landroid/content/Context;)V
|
|
|
|
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v1, v2}, Lcom/moji/open/OpenNewPage;->b(Ljava/lang/String;)V
|
|
|
|
.line 240
|
|
invoke-static {v0}, Lcom/moji/push/PushNotifyDistributor;->b(Lorg/json/JSONObject;)V
|
|
:try_end_1
|
|
.catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
move-object v0, v2
|
|
|
|
:goto_1
|
|
const-string v2, "PushNotifyDistributor"
|
|
|
|
.line 242
|
|
invoke-static {v2, v1}, Lcom/moji/tool/log/MJLogger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
.line 244
|
|
:goto_2
|
|
invoke-direct {p0, v0}, Lcom/moji/push/PushNotifyDistributor;->a(Lorg/json/JSONObject;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 245
|
|
new-array v1, v4, [Ljava/lang/Object;
|
|
|
|
aput-object v0, v1, v3
|
|
|
|
invoke-static {v1}, Lcom/moji/statistics/EventParams;->getProperty([Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
move-result-object v0
|
|
|
|
.line 247
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Lcom/moji/statistics/EVENT_TAG;->PUSH_OPEN_SUCCESS:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/push/PushType;->getTag()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, v2, p1, v0}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;Lorg/json/JSONObject;)Lcom/moji/statistics/EventManager;
|
|
|
|
return-void
|
|
|
|
.line 203
|
|
:pswitch_3
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->SHOWER_PUSH_CLICK:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1, v1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;)Lcom/moji/statistics/EventManager;
|
|
|
|
const-string p1, "short/time"
|
|
|
|
.line 204
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "caller"
|
|
|
|
invoke-virtual {p1, v0, v4}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;I)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto/16 :goto_3
|
|
|
|
:pswitch_4
|
|
const-string p1, "avatar/shop"
|
|
|
|
.line 200
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto/16 :goto_3
|
|
|
|
.line 254
|
|
:pswitch_5
|
|
invoke-static {}, Lcom/moji/tool/DeviceTool;->m()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 255
|
|
new-instance v0, Lcom/moji/appupdate/DynamicConfigManager;
|
|
|
|
invoke-direct {v0}, Lcom/moji/appupdate/DynamicConfigManager;-><init>()V
|
|
|
|
invoke-virtual {v0, v4, v3}, Lcom/moji/appupdate/DynamicConfigManager;->a(ZZ)V
|
|
|
|
.line 258
|
|
:cond_1
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->PUSH_OPEN_SUCCESS:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/push/PushType;->getTag()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
return-void
|
|
|
|
.line 215
|
|
:pswitch_6
|
|
iget-object v0, p0, Lcom/moji/push/PushNotifyDistributor;->c:Ljava/lang/String;
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 216
|
|
const-class v0, Lcom/moji/iapi/IAPISkin;
|
|
|
|
new-instance v1, Lcom/moji/push/PushNotifyDistributor$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/moji/push/PushNotifyDistributor$1;-><init>(Lcom/moji/push/PushNotifyDistributor;)V
|
|
|
|
invoke-static {v0, v1}, Lcom/moji/api/APIManager;->a(Ljava/lang/Class;Lcom/moji/api/APIListener;)V
|
|
|
|
.line 229
|
|
:cond_2
|
|
invoke-static {}, Lcom/moji/statistics/EventManager;->a()Lcom/moji/statistics/EventManager;
|
|
|
|
move-result-object v0
|
|
|
|
sget-object v1, Lcom/moji/statistics/EVENT_TAG;->PUSH_OPEN_SUCCESS:Lcom/moji/statistics/EVENT_TAG;
|
|
|
|
invoke-virtual {p1}, Lcom/moji/push/PushType;->getTag()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, v1, p1}, Lcom/moji/statistics/EventManager;->a(Lcom/moji/statistics/EVENT_TAG;Ljava/lang/String;)Lcom/moji/statistics/EventManager;
|
|
|
|
return-void
|
|
|
|
:pswitch_7
|
|
const-string p1, "web/activity"
|
|
|
|
.line 211
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "target_url"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "title"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->f:Ljava/lang/String;
|
|
|
|
.line 212
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_3
|
|
|
|
:pswitch_8
|
|
const-string p1, "feed/detail"
|
|
|
|
.line 207
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "feeddetail_feed_url"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->b:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "feeddetail_title"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->a:Landroid/content/Context;
|
|
|
|
sget v2, Lcom/moji/push/R$string;->moji_feed:I
|
|
|
|
.line 208
|
|
invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_3
|
|
|
|
.line 194
|
|
:pswitch_9
|
|
iget-object p1, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_3
|
|
|
|
const-string p1, "weather/alert"
|
|
|
|
.line 195
|
|
invoke-virtual {v0, p1}, Lcom/moji/router/MJRouter;->a(Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "msgtype"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "alert_icon"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->j:Ljava/lang/String;
|
|
|
|
.line 196
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "cityid"
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->k:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object v2
|
|
|
|
goto :goto_3
|
|
|
|
.line 191
|
|
:pswitch_a
|
|
invoke-static {}, Lcom/moji/bus/Bus;->a()Lcom/moji/bus/Bus;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance v0, Lcom/moji/push/event/EveryDayWeatherEvent;
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->l:Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lcom/moji/push/PushNotifyDistributor;->m:Ljava/lang/String;
|
|
|
|
iget-object v4, p0, Lcom/moji/push/PushNotifyDistributor;->g:Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v1, v3, v4}, Lcom/moji/push/event/EveryDayWeatherEvent;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p1, v0}, Lcom/moji/bus/Bus;->c(Ljava/lang/Object;)V
|
|
|
|
:cond_3
|
|
:goto_3
|
|
if-eqz v2, :cond_4
|
|
|
|
const-string p1, "where"
|
|
|
|
const-string v0, "push"
|
|
|
|
.line 266
|
|
invoke-virtual {v2, p1, v0}, Lcom/moji/router/Postcard;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/moji/router/Postcard;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/moji/router/Postcard;->a()V
|
|
|
|
.line 268
|
|
:cond_4
|
|
invoke-static {}, Lcom/igexin/sdk/PushManager;->getInstance()Lcom/igexin/sdk/PushManager;
|
|
|
|
move-result-object p1
|
|
|
|
iget-object v0, p0, Lcom/moji/push/PushNotifyDistributor;->a:Landroid/content/Context;
|
|
|
|
iget-object v1, p0, Lcom/moji/push/PushNotifyDistributor;->h:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lcom/moji/push/PushNotifyDistributor;->i:Ljava/lang/String;
|
|
|
|
sget-object v3, Lcom/moji/push/FeedMessageType;->PUSH_OPEN_SUCCESS:Lcom/moji/push/FeedMessageType;
|
|
|
|
invoke-virtual {v3}, Lcom/moji/push/FeedMessageType;->value()I
|
|
|
|
move-result v3
|
|
|
|
invoke-virtual {p1, v0, v1, v2, v3}, Lcom/igexin/sdk/PushManager;->sendFeedbackMessage(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)Z
|
|
|
|
:cond_5
|
|
return-void
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x1
|
|
:pswitch_a
|
|
:pswitch_9
|
|
:pswitch_8
|
|
.end packed-switch
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0x6
|
|
:pswitch_7
|
|
:pswitch_6
|
|
:pswitch_5
|
|
:pswitch_5
|
|
:pswitch_4
|
|
:pswitch_3
|
|
.end packed-switch
|
|
|
|
:pswitch_data_2
|
|
.packed-switch 0x12
|
|
:pswitch_2
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
.end method
|
|
|
|
.method protected bridge synthetic a(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 40
|
|
check-cast p1, Lcom/moji/push/PushType;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/moji/push/PushNotifyDistributor;->a(Lcom/moji/push/PushType;)V
|
|
|
|
return-void
|
|
.end method
|