d.smali
.class public Lgb/d;
.super Lcom/shopee/react/Interface/SingleProcessReactInterface;
.source "ReactInterfaceImpl.kt"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lgb/d$a;
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000X\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010!\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0005\u0008\u0016\u0018\u0000 2\u00020\u0001:\u0001 B\u0005\u00a2\u0006\u0002\u0010\u0002J\n\u0010\u0003\u001a\u0004\u0018\u00010\u0004H\u0002J\u0008\u0010\u0005\u001a\u00020\u0006H\u0016J\u0008\u0010\u0007\u001a\u00020\u0008H\u0016J\u0008\u0010\t\u001a\u00020\nH\u0016J\u0008\u0010\u000b\u001a\u00020\u000cH\u0016J\u0008\u0010\r\u001a\u00020\u0008H\u0016J\n\u0010\u000e\u001a\u0004\u0018\u00010\u0004H\u0016J\u0008\u0010\u000f\u001a\u00020\u0008H\u0016J\u0010\u0010\u0010\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00120\u0011H\u0016J\u000e\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u00020\u00150\u0014H\u0016J\n\u0010\u0016\u001a\u0004\u0018\u00010\u0017H\u0016J\u0014\u0010\u0018\u001a\u000e\u0012\u0004\u0012\u00020\u0008\u0012\u0004\u0012\u00020\u001a0\u0019H\u0016J\u0008\u0010\u001b\u001a\u00020\u001cH\u0016J\u0008\u0010\u001d\u001a\u00020\u001cH\u0016J\u0008\u0010\u001e\u001a\u00020\u001cH\u0016J\u0008\u0010\u001f\u001a\u00020\u001cH\u0016\u00a8\u0006!"
}
d2 = {
"Lcom/shopee/android/react/impl/ReactInterfaceImpl;",
"Lcom/shopee/react/Interface/SingleProcessReactInterface;",
"()V",
"getAnimator",
"Lcom/shopee/navigator/animation/NavigationAnimator;",
"getAppBundleVersion",
"",
"getAppVersionName",
"",
"getHotUpdateType",
"Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;",
"getLog",
"Lcom/shopee/react/log/ILog;",
"getManifestUrl",
"getNavigationAnimator",
"getOsVersion",
"getReactHostActivity",
"Ljava/lang/Class;",
"Landroid/app/Activity;",
"getReactPackages",
"",
"Lcom/facebook/react/ReactPackage;",
"getReactUpdateInterceptor",
"Lcom/shopee/react/update/ReactUpdateInterceptor;",
"getUpdateCommonParams",
"Ljava/util/HashMap;",
"",
"isDevMode",
"",
"isEnableDebugBundle",
"isEnableHermes",
"isEnablePreload",
"Companion",
"impl_release"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# static fields
.field public static final a:Z
.field public static final b:Z
# direct methods
.method public static constructor <clinit>()V
.registers 2
new-instance v0, Lgb/d$a;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lgb/d$a;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sget-object v0, Ljd/b;->c:Ljd/b$a;
invoke-virtual {v0}, Ljd/b$a;->b()Z
move-result v0
sput-boolean v0, Lgb/d;->a:Z
sget-object v0, Ljd/b;->c:Ljd/b$a;
invoke-virtual {v0}, Ljd/b$a;->b()Z
move-result v0
sput-boolean v0, Lgb/d;->b:Z
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lcom/shopee/react/Interface/SingleProcessReactInterface;-><init>()V
return-void
.end method
# virtual methods
.method public final a()Lmm/b;
.registers 5
new-instance v0, Lgb/d$c;
invoke-direct {v0}, Lgb/d$c;-><init>()V
new-instance v1, Lgb/d$b;
invoke-direct {v1}, Lgb/d$b;-><init>()V
new-instance v2, Lmm/b$b;
invoke-direct {v2}, Lmm/b$b;-><init>()V
const/4 v3, 0x0
invoke-virtual {v2, v3, v0}, Lmm/b$b;->a(ILmm/a;)Lmm/b$b;
const/4 v0, 0x1
invoke-virtual {v2, v0, v1}, Lmm/b$b;->a(ILmm/a;)Lmm/b$b;
invoke-static {}, Lnm/a;->d()Lmm/a;
move-result-object v0
const/4 v1, 0x2
invoke-virtual {v2, v1, v0}, Lmm/b$b;->a(ILmm/a;)Lmm/b$b;
invoke-static {}, Lnm/a;->b()Lmm/a;
move-result-object v0
const/4 v1, 0x3
invoke-virtual {v2, v1, v0}, Lmm/b$b;->a(ILmm/a;)Lmm/b$b;
invoke-virtual {v2}, Lmm/b$b;->a()Lmm/b;
move-result-object v0
return-object v0
.end method
.method public getAppBundleVersion()I
.registers 2
sget-object v0, Lgb/e;->e:Lgb/e;
invoke-virtual {v0}, Lgb/e;->b()Lnb/b;
move-result-object v0
if-eqz v0, :cond_d
invoke-interface {v0}, Lnb/b;->getAppBundleVersion()I
move-result v0
goto :goto_e
:cond_d
const/4 v0, 0x0
:goto_e
return v0
.end method
.method public getAppVersionName()Ljava/lang/String;
.registers 2
sget-object v0, Lgb/e;->e:Lgb/e;
invoke-virtual {v0}, Lgb/e;->b()Lnb/b;
move-result-object v0
if-eqz v0, :cond_f
invoke-interface {v0}, Lnb/b;->getAppVersionName()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_f
goto :goto_11
:cond_f
const-string v0, ""
:goto_11
return-object v0
.end method
.method public getHotUpdateType()Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
.registers 4
sget-object v0, Ljd/b;->c:Ljd/b$a;
invoke-virtual {v0}, Ljd/b$a;->b()Z
move-result v0
if-eqz v0, :cond_2c
sget-object v0, Lld/a;->b:Lld/a;
const-string v1, "react_debug_info"
invoke-virtual {v0, v1}, Lld/a;->a(Ljava/lang/String;)Landroid/content/SharedPreferences;
move-result-object v0
sget-object v1, Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;->FORBID:Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I
move-result v1
const-string v2, "hot_update_type"
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result v0
invoke-static {}, Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;->values()[Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
move-result-object v1
invoke-static {v1, v0}, Lkotlin/collections/ArraysKt___ArraysKt;->getOrNull([Ljava/lang/Object;I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
if-eqz v0, :cond_29
goto :goto_2e
:cond_29
sget-object v0, Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;->FORBID:Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
goto :goto_2e
:cond_2c
sget-object v0, Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;->NEWEST:Lcom/shopee/react/Interface/ReactInterface$HotUpdateType;
:goto_2e
return-object v0
.end method
.method public getLog()Lcom/shopee/react/log/ILog;
.registers 2
new-instance v0, Lkb/a;
invoke-direct {v0}, Lkb/a;-><init>()V
return-object v0
.end method
.method public getManifestUrl()Ljava/lang/String;
.registers 2
sget-object v0, Lgb/e;->e:Lgb/e;
invoke-virtual {v0}, Lgb/e;->b()Lnb/b;
move-result-object v0
if-eqz v0, :cond_f
invoke-interface {v0}, Lnb/b;->a()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_f
goto :goto_11
:cond_f
const-string v0, ""
:goto_11
return-object v0
.end method
.method public getNavigationAnimator()Lmm/b;
.registers 2
invoke-virtual {p0}, Lgb/d;->a()Lmm/b;
move-result-object v0
return-object v0
.end method
.method public getOsVersion()Ljava/lang/String;
.registers 2
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getReactHostActivity()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"+",
"Landroid/app/Activity;",
">;"
}
.end annotation
const-class v0, Lcom/shopee/android/react/impl/activity/BusinessReactActivity;
return-object v0
.end method
.method public getReactPackages()Ljava/util/List;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/facebook/react/ReactPackage;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
new-instance v1, Lgb/c;
invoke-direct {v1}, Lgb/c;-><init>()V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v1, Lcom/horcrux/svg/SvgPackage;
invoke-direct {v1}, Lcom/horcrux/svg/SvgPackage;-><init>()V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
new-instance v1, Li/s;
invoke-direct {v1}, Li/s;-><init>()V
invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
return-object v0
.end method
.method public getReactUpdateInterceptor()Lcom/shopee/react/update/ReactUpdateInterceptor;
.registers 2
new-instance v0, Lgb/d$d;
invoke-direct {v0}, Lgb/d$d;-><init>()V
return-object v0
.end method
.method public getUpdateCommonParams()Ljava/util/HashMap;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/Object;",
">;"
}
.end annotation
sget-object v0, Lgb/e;->e:Lgb/e;
invoke-virtual {v0}, Lgb/e;->b()Lnb/b;
move-result-object v0
if-eqz v0, :cond_f
invoke-interface {v0}, Lnb/b;->getUpdateCommonParams()Ljava/util/HashMap;
move-result-object v0
if-eqz v0, :cond_f
goto :goto_14
:cond_f
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
:goto_14
return-object v0
.end method
.method public isDevMode()Z
.registers 2
sget-boolean v0, Lgb/d;->a:Z
return v0
.end method
.method public isEnableDebugBundle()Z
.registers 2
sget-boolean v0, Lgb/d;->b:Z
return v0
.end method
.method public isEnableHermes()Z
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public isEnablePreload()Z
.registers 2
const/4 v0, 0x1
return v0
.end method