2019-02-17 02:24:41 +00:00
.class public final L com/adjust/sdk/f ;
2019-02-04 20:08:30 +00:00
.super L java/lang/Object ;
2019-02-17 02:24:41 +00:00
.source "AdjustConfig.java"
2019-02-04 20:08:30 +00:00
# instance fields
2019-05-03 18:53:54 +00:00
.field bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cG : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cH : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cI : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cJ : Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cK : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field public cL : L com/adjust/sdk/af ;
2019-02-21 02:16:48 +00:00
2019-05-03 18:53:54 +00:00
.field cM : L java/lang/Boolean ;
2019-02-21 02:16:48 +00:00
2019-05-03 18:53:54 +00:00
.field cN : L java/lang/Class ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cO : L com/adjust/sdk/aj ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cP : L com/adjust/sdk/ai ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cQ : L com/adjust/sdk/al ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cR : L com/adjust/sdk/ak ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cS : L com/adjust/sdk/ag ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cT : Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cU : L java/lang/Double ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field public cV : L java/util/List ;
2019-02-17 02:24:41 +00:00
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/util/List<" ,
"Lcom/adjust/sdk/aa;" ,
">;"
}
.end annotation
.end field
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cW : L java/lang/String ;
.field public cX : L java/lang/Boolean ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field public cY : Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field cZ : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field public context : L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field da : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
.field db : Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field processName : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
.field public pushToken : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
# direct methods
.method public constructor <init> ( L android/content/Context ;L java/lang/String ;L java/lang/String ;) V
2019-05-03 18:53:54 +00:00
.locals 6
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static { } , L com/adjust/sdk/j ;-> X ( ) L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
sget-object v0 , L com/adjust/sdk/ad ;-> es : L com/adjust/sdk/ad ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v1 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const-string v2 , "production"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { v2 , p3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
move-result v3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v1 , v0 , v3 } , L com/adjust/sdk/x ;-> a ( L com/adjust/sdk/ad ;Z ) V
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p2 } , L java/lang/String ;-> length ( ) I
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
const/4 v1 , 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/4 v3 , 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const/16 v4 , 0xc
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
if-eq v0 , v4 , :cond_0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
new-array v4 , v1 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p2 , v4 , v3
const-string v5 , "Malformed App Token \'%s\'"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v5 , v4 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
const/4 v0 , 0x0
2019-02-17 02:24:41 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_0
const/4 v0 , 0x1
2019-02-17 02:24:41 +00:00
:goto_0
if-nez v0 , :cond_1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_1
2019-02-04 20:08:30 +00:00
const/4 v1 , 0x0
2019-05-03 18:53:54 +00:00
goto :goto_7
2019-02-04 20:08:30 +00:00
:cond_1
2019-02-17 02:24:41 +00:00
if-nez p3 , :cond_2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v3 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "Missing environment"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_2
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_2
const-string v0 , "sandbox"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p3 , v0 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
move-result v0
2019-02-17 02:24:41 +00:00
if-eqz v0 , :cond_3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v3 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "SANDBOX: Adjust is running in Sandbox mode. Use this setting for testing. Don\'t forget to set the environment to `production` before publishing!"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_3
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_4
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_3
2019-05-03 18:53:54 +00:00
invoke-virtual { p3 , v2 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-eqz v0 , :cond_4
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v3 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "PRODUCTION: Adjust is running in Production mode. Use this setting only for the build that you want to publish. Set the environment to `sandbox` if you want to test your app!"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_3
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_4
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v1 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
aput-object p3 , v2 , v3
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "Unknown environment \'%s\'"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_2
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_4
2019-02-17 02:24:41 +00:00
if-nez v0 , :cond_5
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_5
if-nez p1 , :cond_6
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v3 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "Missing context"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_5
2019-02-17 02:24:41 +00:00
const/4 v0 , 0x0
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_6
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_6
const-string v0 , "android.permission.INTERNET"
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-static { p1 , v0 } , L com/adjust/sdk/az ;-> a ( L android/content/Context ;L java/lang/String ;) Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
if-nez v0 , :cond_7
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0 , p0 , L com/adjust/sdk/f ;-> bQ : L com/adjust/sdk/x ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
new-array v2 , v3 , [ L java/lang/Object ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
const-string v4 , "Missing permission: INTERNET"
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
invoke-interface { v0 , v4 , v2 } , L com/adjust/sdk/x ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_5
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_7
const/4 v0 , 0x1
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
:goto_6
2019-02-17 02:24:41 +00:00
if-nez v0 , :cond_8
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
goto :goto_1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_8
2019-05-03 18:53:54 +00:00
:goto_7
2019-02-17 02:24:41 +00:00
if-eqz v1 , :cond_9
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
invoke-virtual { p1 } , L android/content/Context ;-> getApplicationContext ( ) L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
iput-object p1 , p0 , L com/adjust/sdk/f ;-> context : L android/content/Context ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p2 , p0 , L com/adjust/sdk/f ;-> cG : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-object p3 , p0 , L com/adjust/sdk/f ;-> cH : L java/lang/String ;
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-boolean v3 , p0 , L com/adjust/sdk/f ;-> cJ : Z
2019-02-04 20:08:30 +00:00
2019-05-03 18:53:54 +00:00
iput-boolean v3 , p0 , L com/adjust/sdk/f ;-> cT : Z
2019-02-04 20:08:30 +00:00
2019-02-17 02:24:41 +00:00
:cond_9
return-void
2019-02-04 20:08:30 +00:00
.end method