PlatformUtil.smali
.class public Lcom/sdk/orion/utils/PlatformUtil;
.super Ljava/lang/Object;
# static fields
.field public static final XIAOBAO:I = 0x1
.field private static final XIAOBAO_OVS_CLIENT_ID:Ljava/lang/String; = "1503470121484"
.field public static final XIAOBAO_TAIWAN:I = 0x4
.field private static final XIAOBAO_TAIWAN_OVS_CLIENT_ID:Ljava/lang/String; = "1529920911135"
.field public static final XIAOMEI:I = 0x3
.field private static final XIAOMEI_OVS_CLIENT_ID:Ljava/lang/String; = "1507867446289"
.field public static final XIAOYA:I = 0x2
.field private static final XIAOYA_OVS_CLIENT_ID:Ljava/lang/String; = "1508751991541"
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getPlatformType()I
.registers 4
const/4 v1, 0x2
const/4 v0, 0x1
invoke-static {}, Lcom/sdk/orion/utils/Constant;->getOvsClientId()Ljava/lang/String;
move-result-object v2
const-string/jumbo v3, "1503470121484"
invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_10
:goto_f
return v0
:cond_10
const-string/jumbo v3, "1508751991541"
invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_1b
move v0, v1
goto :goto_f
:cond_1b
const-string/jumbo v3, "1529920911135"
invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_26
const/4 v0, 0x4
goto :goto_f
:cond_26
const-string/jumbo v3, "1507867446289"
invoke-virtual {v2, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_31
const/4 v0, 0x3
goto :goto_f
:cond_31
invoke-static {v0}, Lcom/sdk/orion/utils/OrionSwitchUtil;->setNeedSwich(Z)V
move v0, v1
goto :goto_f
.end method
.method public static isXiaobaoTaiWan()Z
.registers 2
const/4 v0, 0x4
invoke-static {}, Lcom/sdk/orion/utils/PlatformUtil;->getPlatformType()I
move-result v1
if-ne v0, v1, :cond_9
const/4 v0, 0x1
:goto_8
return v0
:cond_9
const/4 v0, 0x0
goto :goto_8
.end method