188 lines
6.0 KiB
Smali
188 lines
6.0 KiB
Smali
.class public Lcom/moji/MJAdModuleBusIndex;
|
|
.super Ljava/lang/Object;
|
|
.source "MJAdModuleBusIndex.java"
|
|
|
|
# interfaces
|
|
.implements Lorg/greenrobot/eventbus/meta/SubscriberInfoIndex;
|
|
|
|
|
|
# static fields
|
|
.field private static final a:Ljava/util/Map;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/Class<",
|
|
"*>;",
|
|
"Lorg/greenrobot/eventbus/meta/SubscriberInfo;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 9
|
|
|
|
.line 18
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
sput-object v0, Lcom/moji/MJAdModuleBusIndex;->a:Ljava/util/Map;
|
|
|
|
.line 20
|
|
new-instance v0, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;
|
|
|
|
const-class v1, Lcom/moji/mjad/service/MJAdService;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-array v3, v2, [Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
new-instance v4, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
const-string v5, "EventUpdateSplashAd"
|
|
|
|
const-class v6, Lcom/moji/base/UpdateSplashAdEvent;
|
|
|
|
sget-object v7, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
|
|
|
|
invoke-direct {v4, v5, v6, v7}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;-><init>(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;-><init>(Ljava/lang/Class;Z[Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;)V
|
|
|
|
invoke-static {v0}, Lcom/moji/MJAdModuleBusIndex;->a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V
|
|
|
|
.line 24
|
|
new-instance v0, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;
|
|
|
|
const-class v1, Lcom/moji/mjad/base/view/videoview/AdVideoView;
|
|
|
|
new-array v3, v2, [Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
new-instance v4, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
const-string v6, "eventOnNetWorkChange"
|
|
|
|
const-class v7, Lcom/moji/mjad/common/receiver/NetWorkChangeEvent;
|
|
|
|
sget-object v8, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
|
|
|
|
invoke-direct {v4, v6, v7, v8}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;-><init>(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;-><init>(Ljava/lang/Class;Z[Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;)V
|
|
|
|
invoke-static {v0}, Lcom/moji/MJAdModuleBusIndex;->a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V
|
|
|
|
.line 30
|
|
new-instance v0, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;
|
|
|
|
const-class v1, Lcom/moji/mjad/common/view/CommonAdView;
|
|
|
|
new-array v3, v2, [Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
new-instance v4, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
const-string v6, "eventOnNetWorkChange"
|
|
|
|
const-class v7, Lcom/moji/mjad/common/receiver/NetWorkChangeEvent;
|
|
|
|
sget-object v8, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
|
|
|
|
invoke-direct {v4, v6, v7, v8}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;-><init>(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;-><init>(Ljava/lang/Class;Z[Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;)V
|
|
|
|
invoke-static {v0}, Lcom/moji/MJAdModuleBusIndex;->a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V
|
|
|
|
.line 36
|
|
new-instance v0, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;
|
|
|
|
const-class v1, Lcom/moji/mjad/nativepage/VideoNativeActivity;
|
|
|
|
new-array v3, v2, [Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
new-instance v4, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;
|
|
|
|
const-string v6, "eventOnNetWorkChange"
|
|
|
|
const-class v7, Lcom/moji/mjad/common/receiver/NetWorkChangeEvent;
|
|
|
|
sget-object v8, Lorg/greenrobot/eventbus/ThreadMode;->MAIN:Lorg/greenrobot/eventbus/ThreadMode;
|
|
|
|
invoke-direct {v4, v6, v7, v8}, Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;-><init>(Ljava/lang/String;Ljava/lang/Class;Lorg/greenrobot/eventbus/ThreadMode;)V
|
|
|
|
aput-object v4, v3, v5
|
|
|
|
invoke-direct {v0, v1, v2, v3}, Lorg/greenrobot/eventbus/meta/SimpleSubscriberInfo;-><init>(Ljava/lang/Class;Z[Lorg/greenrobot/eventbus/meta/SubscriberMethodInfo;)V
|
|
|
|
invoke-static {v0}, Lcom/moji/MJAdModuleBusIndex;->a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 14
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Lorg/greenrobot/eventbus/meta/SubscriberInfo;)V
|
|
.locals 2
|
|
|
|
.line 45
|
|
sget-object v0, Lcom/moji/MJAdModuleBusIndex;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {p0}, Lorg/greenrobot/eventbus/meta/SubscriberInfo;->a()Ljava/lang/Class;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v0, v1, p0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Ljava/lang/Class;)Lorg/greenrobot/eventbus/meta/SubscriberInfo;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Class<",
|
|
"*>;)",
|
|
"Lorg/greenrobot/eventbus/meta/SubscriberInfo;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 50
|
|
sget-object v0, Lcom/moji/MJAdModuleBusIndex;->a:Ljava/util/Map;
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Lorg/greenrobot/eventbus/meta/SubscriberInfo;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|