2020-05-11 18:18:42 +00:00
.class public L e/c/a/v ;
2019-12-06 03:29:40 +00:00
.super L java/lang/Object ;
.source "AdjustConfig.java"
# instance fields
.field public a : L android/content/Context ;
.field public b : L java/lang/String ;
.field public c : L java/lang/String ;
.field public d : L java/lang/String ;
.field public e : L java/lang/String ;
.field public f : Z
.field public g : L java/lang/String ;
2020-05-11 18:18:42 +00:00
.field public h : L e/c/a/c1 ;
2019-12-06 03:29:40 +00:00
.field public i : L java/lang/Boolean ;
.field public j : L java/lang/Class ;
2020-05-11 18:18:42 +00:00
.field public k : L e/c/a/g1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
.field public l : L e/c/a/f1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
.field public m : L e/c/a/i1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
.field public n : L e/c/a/h1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
.field public o : L e/c/a/d1 ;
2019-12-06 03:29:40 +00:00
.field public p : Z
.field public q : L java/lang/Double ;
.field public r : L java/util/List ;
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/util/List<" ,
2020-05-11 18:18:42 +00:00
"Le/c/a/x0;" ,
2019-12-06 03:29:40 +00:00
">;"
}
.end annotation
.end field
2020-05-11 18:18:42 +00:00
.field public s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
.field public t : L java/lang/String ;
.field public u : L java/lang/String ;
.field public v : L java/lang/Boolean ;
.field public w : Z
.field public x : L java/lang/String ;
.field public y : L java/lang/String ;
.field public z : Z
# direct methods
.method public constructor <init> ( L android/content/Context ;L java/lang/String ;L java/lang/String ;) V
.locals 5
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
2020-05-11 18:18:42 +00:00
invoke-static { } , L e/c/a/z ;-> a ( ) L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
move-result-object v0
2020-05-11 18:18:42 +00:00
iput-object v0 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
sget-object v0 , L e/c/a/a1 ;-> f : L e/c/a/a1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
invoke-virtual { p0 , v0 , p3 } , L e/c/a/v ;-> a ( L e/c/a/a1 ;L java/lang/String ;) V
2019-12-06 03:29:40 +00:00
const/4 v0 , 0x1
const/4 v1 , 0x0
if-nez p2 , :cond_0
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Missing App Token"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
goto :goto_0
:cond_0
invoke-virtual { p2 } , L java/lang/String ;-> length ( ) I
move-result v2
const/16 v3 , 0xc
if-eq v2 , v3 , :cond_1
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v0 , [ L java/lang/Object ;
aput-object p2 , v3 , v1
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Malformed App Token \'%s\'"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
:goto_0
const/4 v2 , 0x0
goto :goto_1
:cond_1
const/4 v2 , 0x1
:goto_1
if-nez v2 , :cond_2
goto/16 :goto_7
:cond_2
if-nez p3 , :cond_3
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Missing environment"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
goto :goto_3
:cond_3
const-string v2 , "sandbox"
invoke-virtual { p3 , v2 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v2
if-eqz v2 , :cond_4
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +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!"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
goto :goto_2
:cond_4
const-string v2 , "production"
invoke-virtual { p3 , v2 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v2
if-eqz v2 , :cond_5
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +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!"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> f ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
:goto_2
const/4 v2 , 0x1
goto :goto_4
:cond_5
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v0 , [ L java/lang/Object ;
aput-object p3 , v3 , v1
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Unknown environment \'%s\'"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
:goto_3
const/4 v2 , 0x0
:goto_4
if-nez v2 , :cond_6
goto :goto_7
:cond_6
if-nez p1 , :cond_7
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Missing context"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
goto :goto_5
:cond_7
const-string v2 , "android.permission.INTERNET"
2020-05-11 18:18:42 +00:00
invoke-static { p1 , v2 } , L e/c/a/a2 ;-> a ( L android/content/Context ;L java/lang/String ;) Z
2019-12-06 03:29:40 +00:00
move-result v2
if-nez v2 , :cond_8
2020-05-11 18:18:42 +00:00
iget-object v2 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
new-array v3 , v1 , [ L java/lang/Object ;
2020-05-11 18:18:42 +00:00
check-cast v2 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
const-string v4 , "Missing permission: INTERNET"
2020-05-11 18:18:42 +00:00
invoke-virtual { v2 , v4 , v3 } , L e/c/a/b1 ;-> b ( L java/lang/String ;[ L java/lang/Object ;) V
2019-12-06 03:29:40 +00:00
:goto_5
const/4 v2 , 0x0
goto :goto_6
:cond_8
const/4 v2 , 0x1
:goto_6
if-nez v2 , :cond_9
:goto_7
const/4 v0 , 0x0
:cond_9
if-nez v0 , :cond_a
goto :goto_8
:cond_a
invoke-virtual { p1 } , L android/content/Context ;-> getApplicationContext ( ) L android/content/Context ;
move-result-object p1
2020-05-11 18:18:42 +00:00
iput-object p1 , p0 , L e/c/a/v ;-> a : L android/content/Context ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-object p2 , p0 , L e/c/a/v ;-> b : L java/lang/String ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-object p3 , p0 , L e/c/a/v ;-> c : L java/lang/String ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-boolean v1 , p0 , L e/c/a/v ;-> f : Z
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-boolean v1 , p0 , L e/c/a/v ;-> p : Z
2019-12-06 03:29:40 +00:00
:goto_8
return-void
.end method
# virtual methods
2020-05-11 18:18:42 +00:00
.method public final a ( L e/c/a/a1 ;L java/lang/String ;) V
2019-12-06 03:29:40 +00:00
.locals 2
2020-05-11 18:18:42 +00:00
iget-object v0 , p0 , L e/c/a/v ;-> s : L e/c/a/u0 ;
2019-12-06 03:29:40 +00:00
const-string v1 , "production"
invoke-virtual { v1 , p2 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result p2
2020-05-11 18:18:42 +00:00
check-cast v0 , L e/c/a/b1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iget-boolean v1 , v0 , L e/c/a/b1 ;-> b : Z
2019-12-06 03:29:40 +00:00
if-eqz v1 , :cond_0
goto :goto_0
:cond_0
2020-05-11 18:18:42 +00:00
iput-object p1 , v0 , L e/c/a/b1 ;-> a : L e/c/a/a1 ;
2019-12-06 03:29:40 +00:00
2020-05-11 18:18:42 +00:00
iput-boolean p2 , v0 , L e/c/a/b1 ;-> c : Z
2019-12-06 03:29:40 +00:00
:goto_0
return-void
.end method