2020-11-12 02:11:44 +00:00
.class public L f/c/a/w ;
.super L java/lang/Object ;
2020-11-21 21:10:53 +00:00
.source "AdjustConfig.java"
2020-11-14 02:19:59 +00:00
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
# instance fields
2020-11-21 21:10:53 +00:00
.field public A : L java/lang/String ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
.field public B : L java/lang/String ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
.field public C : L java/lang/String ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
.field public a : L java/lang/String ;
.field public b : L java/lang/String ;
.field public c : L java/lang/String ;
.field public d : L android/content/Context ;
.field public e : L java/lang/String ;
.field public f : L java/lang/String ;
.field public g : L java/lang/String ;
.field public h : L java/lang/String ;
.field public i : Z
.field public j : L java/lang/String ;
.field public k : L f/c/a/g1 ;
.field public l : L java/lang/Boolean ;
.field public m : L java/lang/Class ;
.field public n : L f/c/a/k1 ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
.field public o : L f/c/a/j1 ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
.field public p : L f/c/a/m1 ;
.field public q : L f/c/a/l1 ;
.field public r : L f/c/a/h1 ;
.field public s : Z
.field public t : L java/lang/Double ;
.field public u : L java/util/List ;
.annotation system L dalvik/annotation/Signature ;
value = {
"Ljava/util/List<" ,
"Lf/c/a/z0;" ,
">;"
}
.end annotation
.end field
.field public v : L f/c/a/w0 ;
.field public w : L java/lang/String ;
.field public x : L java/lang/String ;
.field public y : L java/lang/Boolean ;
.field public z : Z
# direct methods
.method public constructor <init> ( L android/content/Context ;L java/lang/String ;L java/lang/String ;) V
.locals 3
2020-11-16 01:00:50 +00:00
2020-11-16 22:05:17 +00:00
invoke-direct { p0 } , L java/lang/Object ;-> <init> ( ) V
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
invoke-static { } , L f/c/a/a0 ;-> a ( ) L f/c/a/w0 ;
move-result-object v0
iput-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
sget-object v1 , L f/c/a/e1 ;-> f : L f/c/a/e1 ;
const-string v2 , "production"
invoke-virtual { v2 , p3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v2
invoke-interface { v0 , v1 , v2 } , L f/c/a/w0 ;-> b ( L f/c/a/e1 ;Z ) V
invoke-virtual { p1 } , L android/content/Context ;-> getApplicationContext ( ) L android/content/Context ;
move-result-object p1
iput-object p1 , p0 , L f/c/a/w ;-> d : L android/content/Context ;
iput-object p2 , p0 , L f/c/a/w ;-> e : L java/lang/String ;
iput-object p3 , p0 , L f/c/a/w ;-> f : L java/lang/String ;
const/4 p1 , 0x0
iput-boolean p1 , p0 , L f/c/a/w ;-> i : Z
iput-boolean p1 , p0 , L f/c/a/w ;-> s : Z
2020-11-12 02:11:44 +00:00
return-void
.end method
# virtual methods
2020-11-21 21:10:53 +00:00
.method public a ( ) Z
.locals 5
2020-11-12 02:11:44 +00:00
2020-11-21 21:10:53 +00:00
iget-object v0 , p0 , L f/c/a/w ;-> e : L java/lang/String ;
2020-11-14 02:19:59 +00:00
2020-11-21 21:10:53 +00:00
const/4 v1 , 0x1
2020-11-14 02:19:59 +00:00
2020-11-21 21:10:53 +00:00
const/4 v2 , 0x0
2020-11-14 02:19:59 +00:00
2020-11-21 21:10:53 +00:00
if-nez v0 , :cond_0
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
new-array v3 , v2 , [ L java/lang/Object ;
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
const-string v4 , "Missing App Token"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
:goto_0
const/4 v0 , 0x0
goto :goto_1
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-21 21:10:53 +00:00
invoke-virtual { v0 } , L java/lang/String ;-> length ( ) I
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
move-result v3
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
const/16 v4 , 0xc
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
if-eq v3 , v4 , :cond_1
2020-11-16 01:00:50 +00:00
2020-11-21 21:10:53 +00:00
iget-object v3 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v4 , v1 , [ L java/lang/Object ;
aput-object v0 , v4 , v2
const-string v0 , "Malformed App Token \'%s\'"
invoke-interface { v3 , v0 , v4 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
goto :goto_0
:cond_1
const/4 v0 , 0x1
:goto_1
if-nez v0 , :cond_2
return v2
:cond_2
iget-object v0 , p0 , L f/c/a/w ;-> f : L java/lang/String ;
if-nez v0 , :cond_3
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v3 , v2 , [ L java/lang/Object ;
const-string v4 , "Missing environment"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
:goto_2
const/4 v0 , 0x0
goto :goto_4
:cond_3
const-string v3 , "sandbox"
invoke-virtual { v0 , v3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v3
if-eqz v3 , :cond_4
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v3 , v2 , [ L java/lang/Object ;
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!"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> c ( L java/lang/String ;[ L java/lang/Object ;) V
:goto_3
const/4 v0 , 0x1
goto :goto_4
:cond_4
const-string v3 , "production"
invoke-virtual { v0 , v3 } , L java/lang/String ;-> equals ( L java/lang/Object ;) Z
move-result v3
if-eqz v3 , :cond_5
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v3 , v2 , [ L java/lang/Object ;
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!"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> c ( L java/lang/String ;[ L java/lang/Object ;) V
goto :goto_3
:cond_5
iget-object v3 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v4 , v1 , [ L java/lang/Object ;
aput-object v0 , v4 , v2
const-string v0 , "Unknown environment \'%s\'"
invoke-interface { v3 , v0 , v4 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
goto :goto_2
:goto_4
if-nez v0 , :cond_6
return v2
:cond_6
iget-object v0 , p0 , L f/c/a/w ;-> d : L android/content/Context ;
if-nez v0 , :cond_7
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v3 , v2 , [ L java/lang/Object ;
const-string v4 , "Missing context"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
:goto_5
const/4 v0 , 0x0
goto :goto_6
:cond_7
const-string v3 , "android.permission.INTERNET"
invoke-static { v0 , v3 } , L f/c/a/e2 ;-> a ( L android/content/Context ;L java/lang/String ;) Z
move-result v0
if-nez v0 , :cond_8
iget-object v0 , p0 , L f/c/a/w ;-> v : L f/c/a/w0 ;
new-array v3 , v2 , [ L java/lang/Object ;
const-string v4 , "Missing permission: INTERNET"
invoke-interface { v0 , v4 , v3 } , L f/c/a/w0 ;-> e ( L java/lang/String ;[ L java/lang/Object ;) V
goto :goto_5
:cond_8
const/4 v0 , 0x1
:goto_6
if-nez v0 , :cond_9
return v2
:cond_9
return v1
2020-11-12 02:11:44 +00:00
.end method