forked from distok/cutthecord
Ave Ozkal
0c773d4daf
Apparently as of 9.6.9 we're back to gw v7. They're making the code and more enterprise too over time. Poor discord devs.
2795 lines
84 KiB
Diff
2795 lines
84 KiB
Diff
diff -crB com.discord-970-base/AndroidManifest.xml com.discord-970/AndroidManifest.xml
|
|
*** com.discord-970-base/AndroidManifest.xml 2019-10-10 08:36:59.960419266 +0300
|
|
--- com.discord-970/AndroidManifest.xml 2019-10-10 08:43:21.873427561 +0300
|
|
***************
|
|
*** 113,120 ****
|
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
|
|
</provider>
|
|
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
|
|
! <meta-data android:name="io.fabric.ApiKey" android:value="eaccfe98b3572a0a8721a8c3b10f9909018f5ec6"/>
|
|
! <meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="AIzaSyD-4L6bgKMixqBRtrG2UktVXK6IexXlsog"/>
|
|
<activity android:name="com.yalantis.ucrop.UCropActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
|
|
<service android:exported="false" android:name="com.google.firebase.messaging.FirebaseMessagingService">
|
|
<intent-filter android:priority="-500">
|
|
--- 113,120 ----
|
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
|
|
</provider>
|
|
<meta-data android:name="firebase_crashlytics_collection_enabled" android:value="true"/>
|
|
! <meta-data android:name="io.fabric.ApiKey" android:value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"/>
|
|
! <meta-data android:name="com.google.android.nearby.messages.API_KEY" android:value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"/>
|
|
<activity android:name="com.yalantis.ucrop.UCropActivity" android:theme="@style/Theme.AppCompat.Light.NoActionBar"/>
|
|
<service android:exported="false" android:name="com.google.firebase.messaging.FirebaseMessagingService">
|
|
<intent-filter android:priority="-500">
|
|
diff -crB com.discord-970-base/res/values/strings.xml com.discord-970/res/values/strings.xml
|
|
*** com.discord-970-base/res/values/strings.xml 2019-10-10 08:36:51.980372116 +0300
|
|
--- com.discord-970/res/values/strings.xml 2019-10-10 08:43:21.880094266 +0300
|
|
***************
|
|
*** 999,1005 ****
|
|
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
|
<string name="cloud_sync_modal_or">OR</string>
|
|
<string name="collapse_category">Collapse Category</string>
|
|
! <string name="com.crashlytics.android.build_id">575713a1-c0e2-4b78-bb42-76aaa342325e</string>
|
|
<string name="coming_soon">Coming Soon</string>
|
|
<string name="coming_soon_notifications">Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings.</string>
|
|
<string name="coming_soon_title">COMING SOON!</string>
|
|
--- 999,1005 ----
|
|
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
|
<string name="cloud_sync_modal_or">OR</string>
|
|
<string name="collapse_category">Collapse Category</string>
|
|
! <string name="com.crashlytics.android.build_id">00000000-0000-0000-0000-000000000000</string>
|
|
<string name="coming_soon">Coming Soon</string>
|
|
<string name="coming_soon_notifications">Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings.</string>
|
|
<string name="coming_soon_title">COMING SOON!</string>
|
|
Only in com.discord-970/res/values: strings.xml.orig
|
|
diff -crB com.discord-970-base/smali/com/crashlytics/android/answers/ab.smali com.discord-970/smali/com/crashlytics/android/answers/ab.smali
|
|
*** com.discord-970-base/smali/com/crashlytics/android/answers/ab.smali 2019-10-10 08:36:53.907050167 +0300
|
|
--- com.discord-970/smali/com/crashlytics/android/answers/ab.smali 2019-10-10 08:44:20.073776537 +0300
|
|
***************
|
|
*** 38,205 ****
|
|
|
|
# virtual methods
|
|
.method public final d(Ljava/util/List;)Z
|
|
! .locals 9
|
|
! .annotation system Ldalvik/annotation/Signature;
|
|
! value = {
|
|
! "(",
|
|
! "Ljava/util/List<",
|
|
! "Ljava/io/File;",
|
|
! ">;)Z"
|
|
! }
|
|
! .end annotation
|
|
|
|
! .line 34
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/answers/ab;->BQ()Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! const-string v1, "X-CRASHLYTICS-API-CLIENT-TYPE"
|
|
!
|
|
! const-string v2, "android"
|
|
!
|
|
! .line 38
|
|
! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v1, p0, Lcom/crashlytics/android/answers/ab;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! .line 39
|
|
! invoke-virtual {v1}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-CLIENT-VERSION"
|
|
!
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v1, p0, Lcom/crashlytics/android/answers/ab;->qv:Ljava/lang/String;
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-KEY"
|
|
!
|
|
! .line 40
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 44
|
|
! invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const/4 v2, 0x0
|
|
!
|
|
! const/4 v3, 0x0
|
|
!
|
|
! :goto_0
|
|
! invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
!
|
|
! move-result v4
|
|
!
|
|
! const/4 v5, 0x1
|
|
!
|
|
! if-eqz v4, :cond_0
|
|
!
|
|
! invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! check-cast v4, Ljava/io/File;
|
|
!
|
|
! .line 45
|
|
! invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! const-string v7, "session_analytics_file_"
|
|
!
|
|
! invoke-virtual {v7, v6}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! invoke-virtual {v4}, Ljava/io/File;->getName()Ljava/lang/String;
|
|
!
|
|
! move-result-object v7
|
|
!
|
|
! const-string v8, "application/vnd.crashlytics.android.events"
|
|
!
|
|
! invoke-virtual {v0, v6, v7, v8, v4}, Lio/fabric/sdk/android/a/e/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! add-int/2addr v3, v5
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! .line 49
|
|
! :cond_0
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v3, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v4, "Sending "
|
|
!
|
|
! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! .line 50
|
|
! invoke-interface {p1}, Ljava/util/List;->size()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string p1, " analytics files to "
|
|
!
|
|
! invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/answers/ab;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! const-string v3, "Answers"
|
|
!
|
|
! .line 49
|
|
! invoke-interface {v1, v3, p1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 51
|
|
! invoke-virtual {v0}, Lio/fabric/sdk/android/a/e/d;->CG()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! .line 52
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v4, "Response code for analytics file send is "
|
|
!
|
|
! invoke-virtual {v4, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {v0, v3, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 55
|
|
! invoke-static {p1}, Lio/fabric/sdk/android/a/b/v;->cV(I)I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! if-nez p1, :cond_1
|
|
!
|
|
! return v5
|
|
!
|
|
! :cond_1
|
|
! return v2
|
|
.end method
|
|
--- 38,44 ----
|
|
|
|
# virtual methods
|
|
.method public final d(Ljava/util/List;)Z
|
|
! .locals 0
|
|
|
|
! return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/crashlytics/android/answers: ab.smali.orig
|
|
Only in com.discord-970/smali/com/crashlytics/android/answers: ab.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/crashlytics/android/core/ah.smali com.discord-970/smali/com/crashlytics/android/core/ah.smali
|
|
*** com.discord-970-base/smali/com/crashlytics/android/core/ah.smali 2019-10-10 08:36:53.913716873 +0300
|
|
--- com.discord-970/smali/com/crashlytics/android/core/ah.smali 2019-10-10 08:44:29.857169247 +0300
|
|
***************
|
|
*** 329,465 ****
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/crashlytics/android/core/u;)Z
|
|
! .locals 5
|
|
|
|
! .line 36
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/core/ah;->BQ()Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 39
|
|
! iget-object v1, p1, Lcom/crashlytics/android/core/u;->qv:Ljava/lang/String;
|
|
!
|
|
! .line 3052
|
|
! new-instance v2, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v3, "Crashlytics Android SDK/"
|
|
!
|
|
! invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! iget-object v3, p0, Lcom/crashlytics/android/core/ah;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! .line 3054
|
|
! invoke-virtual {v3}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! const-string v3, "User-Agent"
|
|
!
|
|
! .line 3053
|
|
! invoke-virtual {v0, v3, v2}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! const-string v3, "X-CRASHLYTICS-API-CLIENT-TYPE"
|
|
!
|
|
! const-string v4, "android"
|
|
!
|
|
! .line 3055
|
|
! invoke-virtual {v2, v3, v4}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! iget-object v3, p0, Lcom/crashlytics/android/core/ah;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! .line 3056
|
|
! invoke-virtual {v3}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! const-string v4, "X-CRASHLYTICS-API-CLIENT-VERSION"
|
|
!
|
|
! invoke-virtual {v2, v4, v3}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! const-string v3, "X-CRASHLYTICS-API-KEY"
|
|
!
|
|
! .line 3057
|
|
! invoke-virtual {v2, v3, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! .line 40
|
|
! iget-object p1, p1, Lcom/crashlytics/android/core/u;->sJ:Lcom/crashlytics/android/core/aq;
|
|
!
|
|
! invoke-static {v0, p1}, Lcom/crashlytics/android/core/ah;->a(Lio/fabric/sdk/android/a/e/d;Lcom/crashlytics/android/core/aq;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! .line 42
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! new-instance v1, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v2, "Sending report to: "
|
|
!
|
|
! invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/core/ah;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "CrashlyticsCore"
|
|
!
|
|
! invoke-interface {v0, v2, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 44
|
|
! invoke-virtual {p1}, Lio/fabric/sdk/android/a/e/d;->CG()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! .line 46
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v3, "Result was: "
|
|
!
|
|
! invoke-virtual {v3, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {v0, v2, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 48
|
|
! invoke-static {p1}, Lio/fabric/sdk/android/a/b/v;->cV(I)I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! if-nez p1, :cond_0
|
|
!
|
|
! const/4 p1, 0x1
|
|
!
|
|
! return p1
|
|
!
|
|
! :cond_0
|
|
! const/4 p1, 0x0
|
|
!
|
|
! return p1
|
|
.end method
|
|
--- 329,335 ----
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/crashlytics/android/core/u;)Z
|
|
! .locals 0
|
|
|
|
! return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/crashlytics/android/core: ah.smali.orig
|
|
Only in com.discord-970/smali/com/crashlytics/android/core: ah.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/crashlytics/android/core/x.smali com.discord-970/smali/com/crashlytics/android/core/x.smali
|
|
*** com.discord-970-base/smali/com/crashlytics/android/core/x.smali 2019-10-10 08:36:53.953717109 +0300
|
|
--- com.discord-970/smali/com/crashlytics/android/core/x.smali 2019-10-10 08:45:44.990925037 +0300
|
|
***************
|
|
*** 31,371 ****
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/crashlytics/android/core/u;)Z
|
|
! .locals 14
|
|
|
|
! .line 59
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/core/x;->BQ()Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 3075
|
|
! iget-object v1, p1, Lcom/crashlytics/android/core/u;->qv:Ljava/lang/String;
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-KEY"
|
|
!
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! const-string v1, "X-CRASHLYTICS-API-CLIENT-TYPE"
|
|
!
|
|
! const-string v2, "android"
|
|
!
|
|
! .line 3076
|
|
! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v1, p0, Lcom/crashlytics/android/core/x;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! .line 3077
|
|
! invoke-virtual {v1}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-CLIENT-VERSION"
|
|
!
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 3080
|
|
! iget-object v1, p1, Lcom/crashlytics/android/core/u;->sJ:Lcom/crashlytics/android/core/aq;
|
|
!
|
|
! invoke-interface {v1}, Lcom/crashlytics/android/core/aq;->dh()Ljava/util/Map;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 3082
|
|
! invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! :goto_0
|
|
! invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
!
|
|
! move-result v2
|
|
!
|
|
! if-eqz v2, :cond_0
|
|
!
|
|
! invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! check-cast v2, Ljava/util/Map$Entry;
|
|
!
|
|
! .line 3868
|
|
! invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! check-cast v3, Ljava/lang/String;
|
|
!
|
|
! invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! check-cast v2, Ljava/lang/String;
|
|
!
|
|
! invoke-virtual {v0, v3, v2}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! .line 61
|
|
! :cond_0
|
|
! iget-object p1, p1, Lcom/crashlytics/android/core/u;->sJ:Lcom/crashlytics/android/core/aq;
|
|
!
|
|
! .line 4089
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getIdentifier()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const/4 v2, 0x0
|
|
!
|
|
! const-string v3, "report[identifier]"
|
|
!
|
|
! .line 4530
|
|
! invoke-virtual {v0, v3, v2, v1}, Lio/fabric/sdk/android/a/e/d;->j(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! .line 4091
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->dg()[Ljava/io/File;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! array-length v1, v1
|
|
!
|
|
! const-string v2, "application/octet-stream"
|
|
!
|
|
! const-string v3, " to report "
|
|
!
|
|
! const/4 v4, 0x0
|
|
!
|
|
! const/4 v5, 0x1
|
|
!
|
|
! const-string v6, "CrashlyticsCore"
|
|
!
|
|
! if-ne v1, v5, :cond_1
|
|
!
|
|
! .line 4092
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v7, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v8, "Adding single file "
|
|
!
|
|
! invoke-direct {v7, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getFileName()Ljava/lang/String;
|
|
!
|
|
! move-result-object v8
|
|
!
|
|
! invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! .line 4093
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getIdentifier()Ljava/lang/String;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! .line 4092
|
|
! invoke-interface {v1, v6, v3}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 4094
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getFileName()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 4095
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->df()Ljava/io/File;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! const-string v3, "report[file]"
|
|
!
|
|
! .line 4094
|
|
! invoke-virtual {v0, v3, v1, v2, p1}, Lio/fabric/sdk/android/a/e/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! goto :goto_2
|
|
!
|
|
! .line 4099
|
|
! :cond_1
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->dg()[Ljava/io/File;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! array-length v7, v1
|
|
!
|
|
! const/4 v8, 0x0
|
|
!
|
|
! const/4 v9, 0x0
|
|
!
|
|
! :goto_1
|
|
! if-ge v8, v7, :cond_2
|
|
!
|
|
! aget-object v10, v1, v8
|
|
!
|
|
! .line 4100
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v11
|
|
!
|
|
! new-instance v12, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v13, "Adding file "
|
|
!
|
|
! invoke-direct {v12, v13}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {v10}, Ljava/io/File;->getName()Ljava/lang/String;
|
|
!
|
|
! move-result-object v13
|
|
!
|
|
! invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v12, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! .line 4101
|
|
! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getIdentifier()Ljava/lang/String;
|
|
!
|
|
! move-result-object v13
|
|
!
|
|
! invoke-virtual {v12, v13}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v12
|
|
!
|
|
! .line 4100
|
|
! invoke-interface {v11, v6, v12}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 4102
|
|
! new-instance v11, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v12, "report[file"
|
|
!
|
|
! invoke-direct {v11, v12}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {v11, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v12, "]"
|
|
!
|
|
! invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v11
|
|
!
|
|
! invoke-virtual {v10}, Ljava/io/File;->getName()Ljava/lang/String;
|
|
!
|
|
! move-result-object v12
|
|
!
|
|
! invoke-virtual {v0, v11, v12, v2, v10}, Lio/fabric/sdk/android/a/e/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! add-int/2addr v9, v5
|
|
!
|
|
! add-int/lit8 v8, v8, 0x1
|
|
!
|
|
! goto :goto_1
|
|
!
|
|
! .line 63
|
|
! :cond_2
|
|
! :goto_2
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! new-instance v1, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v2, "Sending report to: "
|
|
!
|
|
! invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p0}, Lcom/crashlytics/android/core/x;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {p1, v6, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 65
|
|
! invoke-virtual {v0}, Lio/fabric/sdk/android/a/e/d;->CG()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! .line 67
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v2, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v3, "Create report request ID: "
|
|
!
|
|
! invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! const-string v3, "X-REQUEST-ID"
|
|
!
|
|
! .line 68
|
|
! invoke-virtual {v0, v3}, Lio/fabric/sdk/android/a/e/d;->dp(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 67
|
|
! invoke-interface {v1, v6, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 69
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "Result was: "
|
|
!
|
|
! invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {v0, v6, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 71
|
|
! invoke-static {p1}, Lio/fabric/sdk/android/a/b/v;->cV(I)I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! if-nez p1, :cond_3
|
|
!
|
|
! return v5
|
|
!
|
|
! :cond_3
|
|
! return v4
|
|
.end method
|
|
--- 31,37 ----
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/crashlytics/android/core/u;)Z
|
|
! .locals 0
|
|
|
|
! return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/crashlytics/android/core: x.smali.orig
|
|
Only in com.discord-970/smali/com/crashlytics/android/core: x.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener.smali com.discord-970/smali/com/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener.smali 2019-10-10 08:36:54.170385056 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener.smali 2019-10-10 08:45:53.924293646 +0300
|
|
***************
|
|
*** 42,95 ****
|
|
.end method
|
|
|
|
.method public final onActivityPaused(Landroid/app/Activity;)V
|
|
! .locals 1
|
|
|
|
- .line 1050
|
|
- invoke-static {}, Lcom/adjust/sdk/e;->P()Lcom/adjust/sdk/k;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- const/4 v0, 0x0
|
|
-
|
|
- .line 1396
|
|
- invoke-virtual {p1, v0}, Lcom/adjust/sdk/k;->d(Ljava/lang/String;)Z
|
|
-
|
|
- move-result v0
|
|
-
|
|
- if-eqz v0, :cond_0
|
|
-
|
|
- .line 1094
|
|
- iget-object p1, p1, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
|
|
-
|
|
- invoke-interface {p1}, Lcom/adjust/sdk/v;->onPause()V
|
|
-
|
|
- :cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityResumed(Landroid/app/Activity;)V
|
|
! .locals 1
|
|
!
|
|
! .line 2045
|
|
! invoke-static {}, Lcom/adjust/sdk/e;->P()Lcom/adjust/sdk/k;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! const/4 v0, 0x0
|
|
!
|
|
! .line 2396
|
|
! invoke-virtual {p1, v0}, Lcom/adjust/sdk/k;->d(Ljava/lang/String;)Z
|
|
!
|
|
! move-result v0
|
|
!
|
|
! if-eqz v0, :cond_0
|
|
!
|
|
! .line 2083
|
|
! iget-object p1, p1, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
|
|
!
|
|
! invoke-interface {p1}, Lcom/adjust/sdk/v;->onResume()V
|
|
|
|
- :cond_0
|
|
return-void
|
|
.end method
|
|
|
|
--- 42,55 ----
|
|
.end method
|
|
|
|
.method public final onActivityPaused(Landroid/app/Activity;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onActivityResumed(Landroid/app/Activity;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AdjustConfig$AdjustLifecycleListener.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AdjustConfig$AdjustLifecycleListener.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/analytics/AdjustConfig.smali com.discord-970/smali/com/discord/utilities/analytics/AdjustConfig.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/analytics/AdjustConfig.smali 2019-10-10 08:36:54.170385056 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/analytics/AdjustConfig.smali 2019-10-10 08:46:01.604323972 +0300
|
|
***************
|
|
*** 12,18 ****
|
|
|
|
|
|
# static fields
|
|
! .field private static final ADJUST_APP_TOKEN:Ljava/lang/String; = "d8fcx8xdmrr4"
|
|
|
|
.field private static final ADJUST_ENVIRONMENT:Ljava/lang/String;
|
|
|
|
--- 12,18 ----
|
|
|
|
|
|
# static fields
|
|
! .field private static final ADJUST_APP_TOKEN:Ljava/lang/String; = "aaaaaaaaaaaa"
|
|
|
|
.field private static final ADJUST_ENVIRONMENT:Ljava/lang/String;
|
|
|
|
***************
|
|
*** 50,168 ****
|
|
|
|
# virtual methods
|
|
.method public final init(Landroid/app/Application;Z)V
|
|
! .locals 3
|
|
!
|
|
! const-string v0, "application"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! if-eqz p2, :cond_0
|
|
!
|
|
! return-void
|
|
!
|
|
! .line 26
|
|
! :cond_0
|
|
! new-instance p2, Lcom/adjust/sdk/f;
|
|
!
|
|
! move-object v0, p1
|
|
!
|
|
! check-cast v0, Landroid/content/Context;
|
|
!
|
|
! sget-object v1, Lcom/discord/utilities/analytics/AdjustConfig;->ADJUST_ENVIRONMENT:Ljava/lang/String;
|
|
!
|
|
! const-string v2, "d8fcx8xdmrr4"
|
|
!
|
|
! invoke-direct {p2, v0, v2, v1}, Lcom/adjust/sdk/f;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 27
|
|
! sget-object v1, Lcom/discord/utilities/analytics/AdjustConfig$init$1;->INSTANCE:Lcom/discord/utilities/analytics/AdjustConfig$init$1;
|
|
!
|
|
! check-cast v1, Lcom/adjust/sdk/af;
|
|
!
|
|
! .line 1098
|
|
! iput-object v1, p2, Lcom/adjust/sdk/f;->be:Lcom/adjust/sdk/af;
|
|
!
|
|
! .line 2035
|
|
! invoke-static {}, Lcom/adjust/sdk/e;->P()Lcom/adjust/sdk/k;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 2047
|
|
! iget-object v2, v1, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
|
|
!
|
|
! if-eqz v2, :cond_1
|
|
!
|
|
! .line 2048
|
|
! invoke-static {}, Lcom/adjust/sdk/j;->Q()Lcom/adjust/sdk/x;
|
|
!
|
|
! move-result-object p2
|
|
!
|
|
! const/4 v1, 0x0
|
|
!
|
|
! new-array v1, v1, [Ljava/lang/Object;
|
|
!
|
|
! const-string v2, "Adjust already initialized"
|
|
!
|
|
! invoke-interface {p2, v2, v1}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! .line 2052
|
|
! :cond_1
|
|
! iget-object v2, v1, Lcom/adjust/sdk/k;->bo:Ljava/util/List;
|
|
!
|
|
! iput-object v2, p2, Lcom/adjust/sdk/f;->bo:Ljava/util/List;
|
|
!
|
|
! .line 2053
|
|
! iget-object v2, v1, Lcom/adjust/sdk/k;->pushToken:Ljava/lang/String;
|
|
!
|
|
! iput-object v2, p2, Lcom/adjust/sdk/f;->pushToken:Ljava/lang/String;
|
|
!
|
|
! .line 2054
|
|
! iget-object v2, v1, Lcom/adjust/sdk/k;->bq:Ljava/lang/Boolean;
|
|
!
|
|
! iput-object v2, p2, Lcom/adjust/sdk/f;->bq:Ljava/lang/Boolean;
|
|
!
|
|
! .line 2055
|
|
! iget-boolean v2, v1, Lcom/adjust/sdk/k;->br:Z
|
|
!
|
|
! iput-boolean v2, p2, Lcom/adjust/sdk/f;->br:Z
|
|
!
|
|
! .line 2057
|
|
! invoke-static {p2}, Lcom/adjust/sdk/j;->b(Lcom/adjust/sdk/f;)Lcom/adjust/sdk/v;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! iput-object v2, v1, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
|
|
!
|
|
! .line 2059
|
|
! iget-object p2, p2, Lcom/adjust/sdk/f;->context:Landroid/content/Context;
|
|
!
|
|
! .line 2472
|
|
! new-instance v2, Lcom/adjust/sdk/k$2;
|
|
!
|
|
! invoke-direct {v2, v1, p2}, Lcom/adjust/sdk/k$2;-><init>(Lcom/adjust/sdk/k;Landroid/content/Context;)V
|
|
!
|
|
! .line 2480
|
|
! invoke-static {v2}, Lcom/adjust/sdk/az;->a(Ljava/lang/Runnable;)V
|
|
!
|
|
! .line 35
|
|
! :goto_0
|
|
! sget-object p2, Lcom/discord/utilities/analytics/AdjustConfig$init$2;->INSTANCE:Lcom/discord/utilities/analytics/AdjustConfig$init$2;
|
|
!
|
|
! check-cast p2, Lcom/adjust/sdk/ah;
|
|
!
|
|
! .line 3125
|
|
! invoke-static {v0, p2}, Lcom/adjust/sdk/az;->a(Landroid/content/Context;Lcom/adjust/sdk/ah;)V
|
|
!
|
|
! .line 41
|
|
! new-instance p2, Lcom/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener;
|
|
!
|
|
! invoke-direct {p2}, Lcom/discord/utilities/analytics/AdjustConfig$AdjustLifecycleListener;-><init>()V
|
|
!
|
|
! check-cast p2, Landroid/app/Application$ActivityLifecycleCallbacks;
|
|
!
|
|
! invoke-virtual {p1, p2}, Landroid/app/Application;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V
|
|
|
|
return-void
|
|
.end method
|
|
--- 50,56 ----
|
|
|
|
# virtual methods
|
|
.method public final init(Landroid/app/Application;Z)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AdjustConfig.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AdjustConfig.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker.smali com.discord-970/smali/com/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker.smali 2019-10-10 08:36:54.170385056 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker.smali 2019-10-10 08:46:12.581033981 +0300
|
|
***************
|
|
*** 15,23 ****
|
|
|
|
|
|
# static fields
|
|
! .field private static final EVENT_TOKEN_LOGIN:Ljava/lang/String; = "ctt5aq"
|
|
|
|
! .field private static final EVENT_TOKEN_REGISTER:Ljava/lang/String; = "ebn8ke"
|
|
|
|
.field public static final INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker;
|
|
|
|
--- 15,23 ----
|
|
|
|
|
|
# static fields
|
|
! .field private static final EVENT_TOKEN_LOGIN:Ljava/lang/String; = "aaaaaa"
|
|
|
|
! .field private static final EVENT_TOKEN_REGISTER:Ljava/lang/String; = "aaaaaa"
|
|
|
|
.field public static final INSTANCE:Lcom/discord/utilities/analytics/AnalyticsTracker$AdjustEventTracker;
|
|
|
|
***************
|
|
*** 48,78 ****
|
|
|
|
# virtual methods
|
|
.method public final trackLogin()V
|
|
! .locals 2
|
|
!
|
|
! .line 1009
|
|
! new-instance v0, Lcom/adjust/sdk/g;
|
|
!
|
|
! const-string v1, "ctt5aq"
|
|
!
|
|
! invoke-direct {v0, v1}, Lcom/adjust/sdk/g;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-static {v0}, Lcom/adjust/sdk/e;->a(Lcom/adjust/sdk/g;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final trackRegister()V
|
|
! .locals 2
|
|
!
|
|
! .line 1007
|
|
! new-instance v0, Lcom/adjust/sdk/g;
|
|
!
|
|
! const-string v1, "ebn8ke"
|
|
!
|
|
! invoke-direct {v0, v1}, Lcom/adjust/sdk/g;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-static {v0}, Lcom/adjust/sdk/e;->a(Lcom/adjust/sdk/g;)V
|
|
|
|
return-void
|
|
.end method
|
|
--- 48,60 ----
|
|
|
|
# virtual methods
|
|
.method public final trackLogin()V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final trackRegister()V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticsTracker$AdjustEventTracker.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticsTracker$AdjustEventTracker.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali com.discord-970/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali 2019-10-10 08:36:54.170385056 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/analytics/AnalyticSuperProperties.smali 2019-10-10 08:48:07.211471794 +0300
|
|
***************
|
|
*** 173,179 ****
|
|
.method private final setBaselineProperties()V
|
|
.locals 3
|
|
|
|
! const/16 v0, 0x8
|
|
|
|
new-array v0, v0, [Lkotlin/Pair;
|
|
|
|
--- 173,179 ----
|
|
.method private final setBaselineProperties()V
|
|
.locals 3
|
|
|
|
! const/16 v0, 0x4
|
|
|
|
new-array v0, v0, [Lkotlin/Pair;
|
|
|
|
***************
|
|
*** 233,312 ****
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
- .line 68
|
|
- new-instance v1, Ljava/lang/StringBuilder;
|
|
-
|
|
- invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
-
|
|
- sget-object v2, Landroid/os/Build;->MODEL:Ljava/lang/String;
|
|
-
|
|
- invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
-
|
|
- const-string v2, ", "
|
|
-
|
|
- invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
-
|
|
- sget-object v2, Landroid/os/Build;->PRODUCT:Ljava/lang/String;
|
|
-
|
|
- invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
-
|
|
- invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const-string v2, "device"
|
|
-
|
|
- invoke-static {v2, v1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const/4 v2, 0x4
|
|
-
|
|
- aput-object v1, v0, v2
|
|
-
|
|
- const-string v1, "os"
|
|
-
|
|
- const-string v2, "Android"
|
|
-
|
|
- .line 69
|
|
- invoke-static {v1, v2}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const/4 v2, 0x5
|
|
-
|
|
- aput-object v1, v0, v2
|
|
-
|
|
- .line 70
|
|
- sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
-
|
|
- invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const-string v2, "os_sdk_version"
|
|
-
|
|
- invoke-static {v2, v1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const/4 v2, 0x6
|
|
-
|
|
- aput-object v1, v0, v2
|
|
-
|
|
- .line 71
|
|
- sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
|
|
-
|
|
- const-string v2, "os_version"
|
|
-
|
|
- invoke-static {v2, v1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
-
|
|
- move-result-object v1
|
|
-
|
|
- const/4 v2, 0x7
|
|
-
|
|
- aput-object v1, v0, v2
|
|
-
|
|
.line 63
|
|
invoke-static {v0}, Lkotlin/a/ad;->mapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
|
|
--- 233,238 ----
|
|
***************
|
|
*** 436,875 ****
|
|
.end method
|
|
|
|
.method public final setAdvertiserId(Ljava/lang/String;)V
|
|
! .locals 1
|
|
!
|
|
! const-string v0, "advertiserId"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-string v0, "device_advertiser_id"
|
|
!
|
|
! .line 29
|
|
! invoke-static {v0, p1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! invoke-static {p1}, Lkotlin/a/ad;->mapOf(Lkotlin/Pair;)Ljava/util/Map;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! invoke-direct {p0, p1}, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->updateSuperProperties(Ljava/util/Map;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setCampaignProperties(Landroid/content/Intent;)V
|
|
! .locals 11
|
|
!
|
|
! const-string v0, "intent"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! .line 33
|
|
! invoke-virtual {p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! if-eqz p1, :cond_9
|
|
!
|
|
! const-string v0, "referrer"
|
|
!
|
|
! invoke-virtual {p1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! if-nez p1, :cond_0
|
|
!
|
|
! goto/16 :goto_8
|
|
!
|
|
! :cond_0
|
|
! const-string v1, "intent.extras?.getString\u2026PERTY_REFERRER) ?: return"
|
|
!
|
|
! invoke-static {p1, v1}, Lkotlin/jvm/internal/l;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const/4 v1, 0x1
|
|
!
|
|
! new-array v2, v1, [Lkotlin/Pair;
|
|
!
|
|
! .line 34
|
|
! invoke-static {v0, p1}, Lkotlin/q;->to(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! const/4 v3, 0x0
|
|
!
|
|
! aput-object v0, v2, v3
|
|
!
|
|
! invoke-static {v2}, Lkotlin/a/ad;->mutableMapOf([Lkotlin/Pair;)Ljava/util/Map;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 36
|
|
! move-object v4, p1
|
|
!
|
|
! check-cast v4, Ljava/lang/CharSequence;
|
|
!
|
|
! new-array v5, v1, [Ljava/lang/String;
|
|
!
|
|
! const-string p1, "&"
|
|
!
|
|
! aput-object p1, v5, v3
|
|
!
|
|
! const/4 v6, 0x0
|
|
!
|
|
! const/4 v7, 0x0
|
|
!
|
|
! const/4 v8, 0x6
|
|
!
|
|
! const/4 v9, 0x0
|
|
!
|
|
! .line 37
|
|
! invoke-static/range {v4 .. v9}, Lkotlin/text/l;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! check-cast p1, Ljava/lang/Iterable;
|
|
!
|
|
! .line 101
|
|
! new-instance v2, Ljava/util/ArrayList;
|
|
!
|
|
! const/16 v4, 0xa
|
|
!
|
|
! invoke-static {p1, v4}, Lkotlin/a/m;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
|
!
|
|
! move-result v4
|
|
!
|
|
! invoke-direct {v2, v4}, Ljava/util/ArrayList;-><init>(I)V
|
|
!
|
|
! check-cast v2, Ljava/util/Collection;
|
|
!
|
|
! .line 102
|
|
! invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! :goto_0
|
|
! invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
!
|
|
! move-result v4
|
|
!
|
|
! if-eqz v4, :cond_1
|
|
!
|
|
! invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! .line 103
|
|
! check-cast v4, Ljava/lang/String;
|
|
!
|
|
! .line 38
|
|
! move-object v5, v4
|
|
!
|
|
! check-cast v5, Ljava/lang/CharSequence;
|
|
!
|
|
! new-array v6, v1, [Ljava/lang/String;
|
|
!
|
|
! const-string v4, "="
|
|
!
|
|
! aput-object v4, v6, v3
|
|
!
|
|
! const/4 v7, 0x0
|
|
!
|
|
! const/4 v8, 0x0
|
|
!
|
|
! const/4 v9, 0x6
|
|
!
|
|
! const/4 v10, 0x0
|
|
!
|
|
! invoke-static/range {v5 .. v10}, Lkotlin/text/l;->split$default(Ljava/lang/CharSequence;[Ljava/lang/String;ZIILjava/lang/Object;)Ljava/util/List;
|
|
|
|
- move-result-object v4
|
|
-
|
|
- invoke-interface {v2, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
-
|
|
- goto :goto_0
|
|
-
|
|
- .line 104
|
|
- :cond_1
|
|
- check-cast v2, Ljava/util/List;
|
|
-
|
|
- check-cast v2, Ljava/lang/Iterable;
|
|
-
|
|
- .line 105
|
|
- new-instance p1, Ljava/util/ArrayList;
|
|
-
|
|
- invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
|
|
-
|
|
- check-cast p1, Ljava/util/Collection;
|
|
-
|
|
- .line 106
|
|
- invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
-
|
|
- move-result-object v2
|
|
-
|
|
- :cond_2
|
|
- :goto_1
|
|
- invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
-
|
|
- move-result v4
|
|
-
|
|
- if-eqz v4, :cond_4
|
|
-
|
|
- invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
-
|
|
- move-result-object v4
|
|
-
|
|
- move-object v5, v4
|
|
-
|
|
- check-cast v5, Ljava/util/List;
|
|
-
|
|
- .line 39
|
|
- invoke-interface {v5}, Ljava/util/List;->size()I
|
|
-
|
|
- move-result v5
|
|
-
|
|
- const/4 v6, 0x2
|
|
-
|
|
- if-ne v5, v6, :cond_3
|
|
-
|
|
- const/4 v5, 0x1
|
|
-
|
|
- goto :goto_2
|
|
-
|
|
- :cond_3
|
|
- const/4 v5, 0x0
|
|
-
|
|
- :goto_2
|
|
- if-eqz v5, :cond_2
|
|
-
|
|
- invoke-interface {p1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
-
|
|
- goto :goto_1
|
|
-
|
|
- .line 107
|
|
- :cond_4
|
|
- check-cast p1, Ljava/util/List;
|
|
-
|
|
- check-cast p1, Ljava/lang/Iterable;
|
|
-
|
|
- .line 108
|
|
- new-instance v2, Ljava/util/ArrayList;
|
|
-
|
|
- invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
|
|
-
|
|
- check-cast v2, Ljava/util/Collection;
|
|
-
|
|
- .line 109
|
|
- invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- :cond_5
|
|
- :goto_3
|
|
- invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
-
|
|
- move-result v4
|
|
-
|
|
- if-eqz v4, :cond_7
|
|
-
|
|
- invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
-
|
|
- move-result-object v4
|
|
-
|
|
- move-object v5, v4
|
|
-
|
|
- check-cast v5, Ljava/util/List;
|
|
-
|
|
- .line 41
|
|
- invoke-interface {v5, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
-
|
|
- move-result-object v5
|
|
-
|
|
- check-cast v5, Ljava/lang/String;
|
|
-
|
|
- .line 42
|
|
- invoke-virtual {v5}, Ljava/lang/String;->hashCode()I
|
|
-
|
|
- move-result v6
|
|
-
|
|
- sparse-switch v6, :sswitch_data_0
|
|
-
|
|
- goto :goto_5
|
|
-
|
|
- :sswitch_0
|
|
- const-string v6, "utm_source"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_1
|
|
- const-string v6, "location"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_2
|
|
- const-string v6, "utm_medium"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_3
|
|
- const-string v6, "search_engine"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_4
|
|
- const-string v6, "mp_keyword"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_5
|
|
- const-string v6, "utm_term"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_6
|
|
- const-string v6, "utm_campaign"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_7
|
|
- const-string v6, "referring_domain"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- goto :goto_4
|
|
-
|
|
- :sswitch_8
|
|
- const-string v6, "utm_content"
|
|
-
|
|
- invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
-
|
|
- move-result v5
|
|
-
|
|
- if-eqz v5, :cond_6
|
|
-
|
|
- :goto_4
|
|
- const/4 v5, 0x1
|
|
-
|
|
- goto :goto_6
|
|
-
|
|
- :cond_6
|
|
- :goto_5
|
|
- const/4 v5, 0x0
|
|
-
|
|
- :goto_6
|
|
- if-eqz v5, :cond_5
|
|
-
|
|
- .line 55
|
|
- invoke-interface {v2, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
|
-
|
|
- goto :goto_3
|
|
-
|
|
- .line 110
|
|
- :cond_7
|
|
- check-cast v2, Ljava/util/List;
|
|
-
|
|
- check-cast v2, Ljava/lang/Iterable;
|
|
-
|
|
- .line 111
|
|
- invoke-interface {v2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
-
|
|
- move-result-object p1
|
|
-
|
|
- :goto_7
|
|
- invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
-
|
|
- move-result v2
|
|
-
|
|
- if-eqz v2, :cond_8
|
|
-
|
|
- invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
-
|
|
- move-result-object v2
|
|
-
|
|
- .line 112
|
|
- check-cast v2, Ljava/util/List;
|
|
-
|
|
- .line 57
|
|
- invoke-interface {v2, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
-
|
|
- move-result-object v4
|
|
-
|
|
- check-cast v4, Ljava/lang/String;
|
|
-
|
|
- invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
-
|
|
- move-result-object v2
|
|
-
|
|
- check-cast v2, Ljava/lang/String;
|
|
-
|
|
- invoke-interface {v0, v4, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
-
|
|
- goto :goto_7
|
|
-
|
|
- .line 59
|
|
- :cond_8
|
|
- invoke-direct {p0, v0}, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->updateSuperProperties(Ljava/util/Map;)V
|
|
-
|
|
- :cond_9
|
|
- :goto_8
|
|
return-void
|
|
-
|
|
- :sswitch_data_0
|
|
- .sparse-switch
|
|
- -0x5bc8ed18 -> :sswitch_8
|
|
- -0x40f32acd -> :sswitch_7
|
|
- -0x3db0f7f -> :sswitch_6
|
|
- 0x31ad945d -> :sswitch_5
|
|
- 0x3d3a7f4d -> :sswitch_4
|
|
- 0x3f4764b9 -> :sswitch_3
|
|
- 0x70a1a726 -> :sswitch_2
|
|
- 0x714f9fb5 -> :sswitch_1
|
|
- 0x7b737fcc -> :sswitch_0
|
|
- .end sparse-switch
|
|
.end method
|
|
--- 362,374 ----
|
|
.end method
|
|
|
|
.method public final setAdvertiserId(Ljava/lang/String;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final setCampaignProperties(Landroid/content/Intent;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticSuperProperties.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticSuperProperties.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali com.discord-970/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-10-10 08:36:54.173718410 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-10-10 08:47:20.707969669 +0300
|
|
***************
|
|
*** 71,79 ****
|
|
.method public static final synthetic access$drainEventsQueue(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;)V
|
|
.locals 0
|
|
|
|
- .line 65
|
|
- invoke-direct {p0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->drainEventsQueue()V
|
|
-
|
|
return-void
|
|
.end method
|
|
|
|
--- 71,76 ----
|
|
***************
|
|
*** 87,184 ****
|
|
.end method
|
|
|
|
.method private final declared-synchronized drainEventsQueue()V
|
|
! .locals 5
|
|
!
|
|
! monitor-enter p0
|
|
!
|
|
! .line 196
|
|
! :try_start_0
|
|
! invoke-direct {p0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->getCanDrain()Z
|
|
!
|
|
! move-result v0
|
|
! :try_end_0
|
|
! .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
!
|
|
! if-nez v0, :cond_0
|
|
!
|
|
! .line 197
|
|
! monitor-exit p0
|
|
!
|
|
! return-void
|
|
!
|
|
! .line 200
|
|
! :cond_0
|
|
! :try_start_1
|
|
! new-instance v0, Ljava/util/ArrayList;
|
|
!
|
|
! iget-object v1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->eventsQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
|
!
|
|
! check-cast v1, Ljava/util/Collection;
|
|
!
|
|
! invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
|
|
!
|
|
! .line 202
|
|
! iget-object v1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->eventsQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
|
!
|
|
! invoke-virtual {v1}, Ljava/util/concurrent/ConcurrentLinkedQueue;->clear()V
|
|
!
|
|
! .line 204
|
|
! sget-object v1, Lcom/discord/utilities/rest/RestAPI;->Companion:Lcom/discord/utilities/rest/RestAPI$Companion;
|
|
!
|
|
! invoke-virtual {v1}, Lcom/discord/utilities/rest/RestAPI$Companion;->getApi()Lcom/discord/utilities/rest/RestAPI;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 206
|
|
! new-instance v2, Lcom/discord/restapi/RestAPIParams$Track;
|
|
!
|
|
! iget-object v3, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->analyticsToken:Ljava/lang/String;
|
|
!
|
|
! move-object v4, v0
|
|
!
|
|
! check-cast v4, Ljava/util/List;
|
|
!
|
|
! invoke-direct {v2, v3, v4}, Lcom/discord/restapi/RestAPIParams$Track;-><init>(Ljava/lang/String;Ljava/util/List;)V
|
|
!
|
|
! invoke-virtual {v1, v2}, Lcom/discord/utilities/rest/RestAPI;->track(Lcom/discord/restapi/RestAPIParams$Track;)Lrx/Observable;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 207
|
|
! invoke-static {}, Lcom/discord/app/i;->dM()Lrx/Observable$c;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-virtual {v1, v2}, Lrx/Observable;->a(Lrx/Observable$c;)Lrx/Observable;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! .line 208
|
|
! sget-object v2, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$1;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$1;
|
|
!
|
|
! check-cast v2, Lrx/functions/Action1;
|
|
!
|
|
! new-instance v3, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;
|
|
!
|
|
! invoke-direct {v3, p0, v0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$drainEventsQueue$2;-><init>(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Ljava/util/ArrayList;)V
|
|
!
|
|
! check-cast v3, Lrx/functions/Action1;
|
|
!
|
|
! invoke-virtual {v1, v2, v3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
|
! :try_end_1
|
|
! .catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
!
|
|
! .line 211
|
|
! monitor-exit p0
|
|
|
|
return-void
|
|
-
|
|
- :catchall_0
|
|
- move-exception v0
|
|
-
|
|
- monitor-exit p0
|
|
-
|
|
- throw v0
|
|
.end method
|
|
|
|
.method private final getCanDrain()Z
|
|
--- 84,92 ----
|
|
.end method
|
|
|
|
.method private final declared-synchronized drainEventsQueue()V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final getCanDrain()Z
|
|
***************
|
|
*** 408,441 ****
|
|
.method public static synthetic setTrackingData$default(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Ljava/lang/String;ZILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
- and-int/lit8 p3, p3, 0x2
|
|
-
|
|
- if-eqz p3, :cond_0
|
|
-
|
|
- const/4 p2, 0x0
|
|
-
|
|
- .line 106
|
|
- :cond_0
|
|
- invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->setTrackingData(Ljava/lang/String;Z)V
|
|
-
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic track$default(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Ljava/lang/String;Ljava/util/Map;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
- and-int/lit8 p3, p3, 0x2
|
|
-
|
|
- if-eqz p3, :cond_0
|
|
-
|
|
- .line 133
|
|
- invoke-static {}, Lkotlin/a/ad;->emptyMap()Ljava/util/Map;
|
|
-
|
|
- move-result-object p2
|
|
-
|
|
- :cond_0
|
|
- invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->track(Ljava/lang/String;Ljava/util/Map;)V
|
|
-
|
|
return-void
|
|
.end method
|
|
|
|
--- 316,327 ----
|
|
***************
|
|
*** 576,817 ****
|
|
.method public final declared-synchronized setTrackingData(Ljava/lang/String;Z)V
|
|
.locals 0
|
|
|
|
- monitor-enter p0
|
|
-
|
|
- .line 107
|
|
- :try_start_0
|
|
- invoke-direct {p0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->drainEventsQueue()V
|
|
-
|
|
- .line 109
|
|
- iput-object p1, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->analyticsToken:Ljava/lang/String;
|
|
-
|
|
- .line 110
|
|
- iput-boolean p2, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->fingerprinted:Z
|
|
-
|
|
- .line 112
|
|
- invoke-direct {p0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->drainEventsQueue()V
|
|
- :try_end_0
|
|
- .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
-
|
|
- .line 113
|
|
- monitor-exit p0
|
|
-
|
|
return-void
|
|
-
|
|
- :catchall_0
|
|
- move-exception p1
|
|
-
|
|
- monitor-exit p0
|
|
-
|
|
- throw p1
|
|
.end method
|
|
|
|
.method public final track(Ljava/lang/String;Ljava/util/Map;)V
|
|
! .locals 2
|
|
! .annotation system Ldalvik/annotation/Signature;
|
|
! value = {
|
|
! "(",
|
|
! "Ljava/lang/String;",
|
|
! "Ljava/util/Map<",
|
|
! "Ljava/lang/String;",
|
|
! "+",
|
|
! "Ljava/lang/Object;",
|
|
! ">;)V"
|
|
! }
|
|
! .end annotation
|
|
!
|
|
! const-string v0, "event"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-string v0, "properties"
|
|
!
|
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! .line 134
|
|
! iget-object v0, p0, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->eventsQueue:Ljava/util/concurrent/ConcurrentLinkedQueue;
|
|
!
|
|
! new-instance v1, Lcom/discord/restapi/RestAPIParams$Track$Event;
|
|
!
|
|
! invoke-direct {v1, p1, p2}, Lcom/discord/restapi/RestAPIParams$Track$Event;-><init>(Ljava/lang/String;Ljava/util/Map;)V
|
|
!
|
|
! invoke-virtual {v0, v1}, Ljava/util/concurrent/ConcurrentLinkedQueue;->add(Ljava/lang/Object;)Z
|
|
!
|
|
! .line 136
|
|
! sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
!
|
|
! const-wide/16 v0, 0x5dc
|
|
!
|
|
! invoke-static {v0, v1, p1}, Lrx/Observable;->g(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! .line 137
|
|
! new-instance p2, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;
|
|
!
|
|
! invoke-direct {p2, p0}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker$track$1;-><init>(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;)V
|
|
!
|
|
! check-cast p2, Lrx/functions/Action1;
|
|
!
|
|
! invoke-virtual {p1, p2}, Lrx/Observable;->b(Lrx/functions/Action1;)Lrx/Subscription;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final track(Lkotlin/Pair;JLkotlin/jvm/functions/Function0;)V
|
|
! .locals 7
|
|
! .annotation system Ldalvik/annotation/Signature;
|
|
! value = {
|
|
! "(",
|
|
! "Lkotlin/Pair<",
|
|
! "Ljava/lang/String;",
|
|
! "Ljava/lang/Long;",
|
|
! ">;J",
|
|
! "Lkotlin/jvm/functions/Function0<",
|
|
! "+",
|
|
! "Ljava/util/Map<",
|
|
! "Ljava/lang/String;",
|
|
! "+",
|
|
! "Ljava/lang/Object;",
|
|
! ">;>;)V"
|
|
! }
|
|
! .end annotation
|
|
!
|
|
! const-string v0, "throttleKey"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-string v0, "lazyPropertyProvider"
|
|
!
|
|
! invoke-static {p4, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! .line 125
|
|
! invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! const/4 v4, 0x0
|
|
!
|
|
! const/4 v5, 0x4
|
|
!
|
|
! const/4 v6, 0x0
|
|
!
|
|
! move-object v1, p0
|
|
!
|
|
! move-object v2, p1
|
|
!
|
|
! invoke-static/range {v1 .. v6}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->isEventThrottled$default(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Lkotlin/Pair;Ljava/lang/Long;ZILjava/lang/Object;)Z
|
|
!
|
|
! move-result p2
|
|
!
|
|
! if-eqz p2, :cond_0
|
|
!
|
|
! return-void
|
|
!
|
|
! .line 129
|
|
! :cond_0
|
|
! invoke-virtual {p1}, Lkotlin/Pair;->component1()Ljava/lang/Object;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! check-cast p1, Ljava/lang/String;
|
|
!
|
|
! .line 130
|
|
! invoke-interface {p4}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
!
|
|
! move-result-object p2
|
|
!
|
|
! check-cast p2, Ljava/util/Map;
|
|
!
|
|
! invoke-virtual {p0, p1, p2}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->track(Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final trackFireBase(Ljava/lang/String;Ljava/util/Map;)V
|
|
! .locals 9
|
|
! .annotation system Ldalvik/annotation/Signature;
|
|
! value = {
|
|
! "(",
|
|
! "Ljava/lang/String;",
|
|
! "Ljava/util/Map<",
|
|
! "Ljava/lang/String;",
|
|
! "+",
|
|
! "Ljava/lang/Object;",
|
|
! ">;)V"
|
|
! }
|
|
! .end annotation
|
|
!
|
|
! const-string v0, "event"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-string v0, "properties"
|
|
!
|
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! .line 144
|
|
! new-instance v0, Landroid/os/Bundle;
|
|
!
|
|
! invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
|
|
!
|
|
! invoke-direct {p0, v0, p2}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->putMap(Landroid/os/Bundle;Ljava/util/Map;)Landroid/os/Bundle;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! .line 145
|
|
! sget-object p2, Lcom/discord/utilities/analytics/AnalyticsUtils;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsUtils;
|
|
!
|
|
! invoke-static {p2}, Lcom/discord/utilities/analytics/AnalyticsUtils;->access$getFireBaseInstance$p(Lcom/discord/utilities/analytics/AnalyticsUtils;)Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
!
|
|
! move-result-object p2
|
|
!
|
|
! if-eqz p2, :cond_1
|
|
!
|
|
! .line 1014
|
|
! iget-boolean v0, p2, Lcom/google/firebase/analytics/FirebaseAnalytics;->axa:Z
|
|
!
|
|
! if-eqz v0, :cond_0
|
|
!
|
|
! .line 1015
|
|
! iget-object p2, p2, Lcom/google/firebase/analytics/FirebaseAnalytics;->aQe:Lcom/google/android/gms/internal/measurement/me;
|
|
!
|
|
! const/4 v0, 0x0
|
|
!
|
|
! const/4 v1, 0x0
|
|
!
|
|
! .line 1084
|
|
! invoke-virtual {p2, v0, p1, v4, v1}, Lcom/google/android/gms/internal/measurement/me;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Z)V
|
|
!
|
|
! return-void
|
|
!
|
|
! .line 1016
|
|
! :cond_0
|
|
! iget-object p2, p2, Lcom/google/firebase/analytics/FirebaseAnalytics;->aBG:Lcom/google/android/gms/measurement/internal/ey;
|
|
!
|
|
! invoke-virtual {p2}, Lcom/google/android/gms/measurement/internal/ey;->yc()Lcom/google/android/gms/measurement/internal/gf;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const/4 v5, 0x0
|
|
!
|
|
! const/4 v6, 0x1
|
|
!
|
|
! .line 2080
|
|
! invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/fu;->vs()Lcom/google/android/gms/common/util/e;
|
|
!
|
|
! move-result-object p2
|
|
!
|
|
! invoke-interface {p2}, Lcom/google/android/gms/common/util/e;->currentTimeMillis()J
|
|
!
|
|
! move-result-wide v7
|
|
!
|
|
! const-string v2, "app"
|
|
!
|
|
! move-object v3, p1
|
|
!
|
|
! invoke-virtual/range {v1 .. v8}, Lcom/google/android/gms/measurement/internal/gf;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;ZZJ)V
|
|
|
|
- :cond_1
|
|
return-void
|
|
.end method
|
|
--- 462,484 ----
|
|
.method public final declared-synchronized setTrackingData(Ljava/lang/String;Z)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final track(Ljava/lang/String;Ljava/util/Map;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final track(Lkotlin/Pair;JLkotlin/jvm/functions/Function0;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final trackFireBase(Ljava/lang/String;Ljava/util/Map;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticsUtils$Tracker.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/analytics: AnalyticsUtils$Tracker.smali.rej
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/integrations/SpotifyHelper$openPlayStoreForSpotify$1.smali com.discord-970/smali/com/discord/utilities/integrations/SpotifyHelper$openPlayStoreForSpotify$1.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/integrations/SpotifyHelper$openPlayStoreForSpotify$1.smali 2019-10-10 08:36:54.197051880 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/integrations/SpotifyHelper$openPlayStoreForSpotify$1.smali 2019-10-10 08:43:21.890094322 +0300
|
|
***************
|
|
*** 43,49 ****
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
! const-string v2, "https://app.adjust.com/ndjczk?campaign="
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
--- 43,49 ----
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
! const-string v2, "https://play.google.com/store/apps/details?id=com.spotify.music&trash="
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
diff -crB com.discord-970-base/smali/com/discord/utilities/receiver/CampaignReceiver.smali com.discord-970/smali/com/discord/utilities/receiver/CampaignReceiver.smali
|
|
*** com.discord-970-base/smali/com/discord/utilities/receiver/CampaignReceiver.smali 2019-10-10 08:36:54.217051998 +0300
|
|
--- com.discord-970/smali/com/discord/utilities/receiver/CampaignReceiver.smali 2019-10-10 08:44:10.193716573 +0300
|
|
***************
|
|
*** 16,49 ****
|
|
|
|
# virtual methods
|
|
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
! .locals 1
|
|
!
|
|
! const-string v0, "context"
|
|
!
|
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! const-string v0, "intent"
|
|
!
|
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
!
|
|
! .line 23
|
|
! new-instance v0, Lcom/adjust/sdk/l;
|
|
!
|
|
! invoke-direct {v0}, Lcom/adjust/sdk/l;-><init>()V
|
|
!
|
|
! invoke-virtual {v0, p1, p2}, Lcom/adjust/sdk/l;->onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
!
|
|
! .line 24
|
|
! new-instance v0, Lcom/google/android/gms/analytics/a;
|
|
!
|
|
! invoke-direct {v0}, Lcom/google/android/gms/analytics/a;-><init>()V
|
|
!
|
|
! invoke-virtual {v0, p1, p2}, Lcom/google/android/gms/analytics/a;->onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
!
|
|
! .line 26
|
|
! sget-object p1, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticSuperProperties;
|
|
!
|
|
! invoke-virtual {p1, p2}, Lcom/discord/utilities/analytics/AnalyticSuperProperties;->setCampaignProperties(Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
--- 16,22 ----
|
|
|
|
# virtual methods
|
|
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali/com/discord/utilities/receiver: CampaignReceiver.smali.orig
|
|
Only in com.discord-970/smali/com/discord/utilities/receiver: CampaignReceiver.smali.rej
|
|
diff -crB com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali com.discord-970/smali_classes2/io/fabric/sdk/android/a/b/a.smali
|
|
*** com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-10-10 08:36:55.437059207 +0300
|
|
--- com.discord-970/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-10-10 08:43:21.890094322 +0300
|
|
***************
|
|
*** 198,204 ****
|
|
|
|
const-string v0, "X-CRASHLYTICS-DEVELOPER-TOKEN"
|
|
|
|
! const-string v1, "470fa2b4ae81cd56ecbcda9735803434cec591fa"
|
|
|
|
.line 142
|
|
invoke-virtual {p1, v0, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
--- 198,204 ----
|
|
|
|
const-string v0, "X-CRASHLYTICS-DEVELOPER-TOKEN"
|
|
|
|
! const-string v1, "blamelunapoopoopeepeepoopoopeepblameluna"
|
|
|
|
.line 142
|
|
invoke-virtual {p1, v0, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/b: a.smali.orig
|
|
diff -crB com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/b/h.smali com.discord-970/smali_classes2/io/fabric/sdk/android/a/b/h.smali
|
|
*** com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/b/h.smali 2019-10-10 08:36:55.440392560 +0300
|
|
--- com.discord-970/smali_classes2/io/fabric/sdk/android/a/b/h.smali 2019-10-10 08:44:03.933678578 +0300
|
|
***************
|
|
*** 22,36 ****
|
|
.end method
|
|
|
|
.method public final run()V
|
|
! .locals 1
|
|
!
|
|
! const/16 v0, 0xa
|
|
!
|
|
! .line 29
|
|
! invoke-static {v0}, Landroid/os/Process;->setThreadPriority(I)V
|
|
!
|
|
! .line 30
|
|
! invoke-virtual {p0}, Lio/fabric/sdk/android/a/b/h;->dq()V
|
|
|
|
return-void
|
|
.end method
|
|
--- 22,28 ----
|
|
.end method
|
|
|
|
.method public final run()V
|
|
! .locals 0
|
|
|
|
return-void
|
|
.end method
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/b: h.smali.orig
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/b: h.smali.rej
|
|
diff -crB com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali com.discord-970/smali_classes2/io/fabric/sdk/android/a/g/a.smali
|
|
*** com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-10-10 08:36:55.450392619 +0300
|
|
--- com.discord-970/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-10-10 08:43:59.300317125 +0300
|
|
***************
|
|
*** 343,571 ****
|
|
|
|
# virtual methods
|
|
.method public a(Lio/fabric/sdk/android/a/g/d;)Z
|
|
! .locals 5
|
|
|
|
! .line 74
|
|
! invoke-virtual {p0}, Lio/fabric/sdk/android/a/g/a;->BQ()Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 3098
|
|
! iget-object v1, p1, Lio/fabric/sdk/android/a/g/d;->qv:Ljava/lang/String;
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-KEY"
|
|
!
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! const-string v1, "X-CRASHLYTICS-API-CLIENT-TYPE"
|
|
!
|
|
! const-string v2, "android"
|
|
!
|
|
! .line 3099
|
|
! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! iget-object v1, p0, Lio/fabric/sdk/android/a/g/a;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! .line 3102
|
|
! invoke-virtual {v1}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "X-CRASHLYTICS-API-CLIENT-VERSION"
|
|
!
|
|
! .line 3101
|
|
! invoke-virtual {v0, v2, v1}, Lio/fabric/sdk/android/a/e/d;->ac(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 76
|
|
! invoke-direct {p0, v0, p1}, Lio/fabric/sdk/android/a/g/a;->a(Lio/fabric/sdk/android/a/e/d;Lio/fabric/sdk/android/a/g/d;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 78
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v2, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v3, "Sending app info to "
|
|
!
|
|
! invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p0}, Lio/fabric/sdk/android/a/g/a;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! const-string v3, "Fabric"
|
|
!
|
|
! invoke-interface {v1, v3, v2}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 79
|
|
! iget-object v1, p1, Lio/fabric/sdk/android/a/g/d;->bfg:Lio/fabric/sdk/android/a/g/n;
|
|
!
|
|
! if-eqz v1, :cond_0
|
|
!
|
|
! .line 80
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v2, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v4, "App icon hash is "
|
|
!
|
|
! invoke-direct {v2, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! iget-object v4, p1, Lio/fabric/sdk/android/a/g/d;->bfg:Lio/fabric/sdk/android/a/g/n;
|
|
!
|
|
! iget-object v4, v4, Lio/fabric/sdk/android/a/g/n;->acr:Ljava/lang/String;
|
|
!
|
|
! invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! invoke-interface {v1, v3, v2}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 82
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! new-instance v2, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v4, "App icon size is "
|
|
!
|
|
! invoke-direct {v2, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! iget-object v4, p1, Lio/fabric/sdk/android/a/g/d;->bfg:Lio/fabric/sdk/android/a/g/n;
|
|
!
|
|
! iget v4, v4, Lio/fabric/sdk/android/a/g/n;->width:I
|
|
!
|
|
! invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v4, "x"
|
|
!
|
|
! invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! iget-object p1, p1, Lio/fabric/sdk/android/a/g/d;->bfg:Lio/fabric/sdk/android/a/g/n;
|
|
!
|
|
! iget p1, p1, Lio/fabric/sdk/android/a/g/n;->height:I
|
|
!
|
|
! invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! invoke-interface {v1, v3, p1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 86
|
|
! :cond_0
|
|
! invoke-virtual {v0}, Lio/fabric/sdk/android/a/e/d;->CG()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! .line 3929
|
|
! invoke-virtual {v0}, Lio/fabric/sdk/android/a/e/d;->CF()Ljava/net/HttpURLConnection;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-virtual {v1}, Ljava/net/HttpURLConnection;->getRequestMethod()Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "POST"
|
|
!
|
|
! .line 87
|
|
! invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
!
|
|
! move-result v1
|
|
!
|
|
! if-eqz v1, :cond_1
|
|
!
|
|
! const-string v1, "Create"
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! :cond_1
|
|
! const-string v1, "Update"
|
|
!
|
|
! .line 90
|
|
! :goto_0
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v2
|
|
!
|
|
! new-instance v4, Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
!
|
|
! invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v1, " app request ID: "
|
|
!
|
|
! invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v1, "X-REQUEST-ID"
|
|
!
|
|
! .line 91
|
|
! invoke-virtual {v0, v1}, Lio/fabric/sdk/android/a/e/d;->dp(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 90
|
|
! invoke-interface {v2, v3, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 92
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! const-string v2, "Result was "
|
|
!
|
|
! invoke-virtual {v2, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v1
|
|
!
|
|
! invoke-interface {v0, v3, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 94
|
|
! invoke-static {p1}, Lio/fabric/sdk/android/a/b/v;->cV(I)I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! if-nez p1, :cond_2
|
|
!
|
|
! const/4 p1, 0x1
|
|
!
|
|
! return p1
|
|
!
|
|
! :cond_2
|
|
! const/4 p1, 0x0
|
|
!
|
|
! return p1
|
|
.end method
|
|
--- 343,349 ----
|
|
|
|
# virtual methods
|
|
.method public a(Lio/fabric/sdk/android/a/g/d;)Z
|
|
! .locals 0
|
|
|
|
! return-void
|
|
.end method
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/g: a.smali.orig
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/g: a.smali.rej
|
|
diff -crB com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali com.discord-970/smali_classes2/io/fabric/sdk/android/a/g/l.smali
|
|
*** com.discord-970-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-10-10 08:36:55.450392619 +0300
|
|
--- com.discord-970/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-10-10 08:43:46.036903295 +0300
|
|
***************
|
|
*** 115,502 ****
|
|
|
|
# virtual methods
|
|
.method public final a(Lio/fabric/sdk/android/a/g/w;)Lorg/json/JSONObject;
|
|
! .locals 8
|
|
|
|
! const-string v0, "X-REQUEST-ID"
|
|
!
|
|
! const-string v1, "Settings request ID: "
|
|
!
|
|
! const-string v2, "Fabric"
|
|
!
|
|
! const/4 v3, 0x0
|
|
!
|
|
! .line 1140
|
|
! :try_start_0
|
|
! new-instance v4, Ljava/util/HashMap;
|
|
!
|
|
! invoke-direct {v4}, Ljava/util/HashMap;-><init>()V
|
|
!
|
|
! const-string v5, "build_version"
|
|
!
|
|
! .line 1141
|
|
! iget-object v6, p1, Lio/fabric/sdk/android/a/g/w;->bfb:Ljava/lang/String;
|
|
!
|
|
! invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! const-string v5, "display_version"
|
|
!
|
|
! .line 1142
|
|
! iget-object v6, p1, Lio/fabric/sdk/android/a/g/w;->bfa:Ljava/lang/String;
|
|
!
|
|
! invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! const-string v5, "source"
|
|
!
|
|
! .line 1143
|
|
! iget v6, p1, Lio/fabric/sdk/android/a/g/w;->bfd:I
|
|
!
|
|
! invoke-static {v6}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! .line 1145
|
|
! iget-object v5, p1, Lio/fabric/sdk/android/a/g/w;->bgf:Ljava/lang/String;
|
|
!
|
|
! if-eqz v5, :cond_0
|
|
!
|
|
! const-string v5, "icon_hash"
|
|
!
|
|
! .line 1146
|
|
! iget-object v6, p1, Lio/fabric/sdk/android/a/g/w;->bgf:Ljava/lang/String;
|
|
!
|
|
! invoke-interface {v4, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! .line 1149
|
|
! :cond_0
|
|
! iget-object v5, p1, Lio/fabric/sdk/android/a/g/w;->bge:Ljava/lang/String;
|
|
!
|
|
! .line 1150
|
|
! invoke-static {v5}, Lio/fabric/sdk/android/a/b/i;->Q(Ljava/lang/String;)Z
|
|
!
|
|
! move-result v6
|
|
!
|
|
! if-nez v6, :cond_1
|
|
!
|
|
! const-string v6, "instance"
|
|
!
|
|
! .line 1151
|
|
! invoke-interface {v4, v6, v5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
!
|
|
! .line 82
|
|
! :cond_1
|
|
! invoke-virtual {p0, v4}, Lio/fabric/sdk/android/a/g/l;->o(Ljava/util/Map;)Lio/fabric/sdk/android/a/e/d;
|
|
!
|
|
! move-result-object v5
|
|
! :try_end_0
|
|
! .catch Lio/fabric/sdk/android/a/e/d$c; {:try_start_0 .. :try_end_0} :catch_1
|
|
! .catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
!
|
|
! :try_start_1
|
|
! const-string v6, "X-CRASHLYTICS-API-KEY"
|
|
!
|
|
! .line 1160
|
|
! iget-object v7, p1, Lio/fabric/sdk/android/a/g/w;->qv:Ljava/lang/String;
|
|
!
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-API-CLIENT-TYPE"
|
|
!
|
|
! const-string v7, "android"
|
|
!
|
|
! .line 1161
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-API-CLIENT-VERSION"
|
|
!
|
|
! .line 1163
|
|
! iget-object v7, p0, Lio/fabric/sdk/android/a/g/l;->px:Lio/fabric/sdk/android/i;
|
|
!
|
|
! invoke-virtual {v7}, Lio/fabric/sdk/android/i;->cc()Ljava/lang/String;
|
|
!
|
|
! move-result-object v7
|
|
!
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "Accept"
|
|
!
|
|
! const-string v7, "application/json"
|
|
!
|
|
! .line 1164
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-DEVICE-MODEL"
|
|
!
|
|
! .line 1166
|
|
! iget-object v7, p1, Lio/fabric/sdk/android/a/g/w;->qX:Ljava/lang/String;
|
|
!
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-OS-BUILD-VERSION"
|
|
!
|
|
! .line 1167
|
|
! iget-object v7, p1, Lio/fabric/sdk/android/a/g/w;->bgc:Ljava/lang/String;
|
|
!
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-OS-DISPLAY-VERSION"
|
|
!
|
|
! .line 1168
|
|
! iget-object v7, p1, Lio/fabric/sdk/android/a/g/w;->bgd:Ljava/lang/String;
|
|
!
|
|
! invoke-static {v5, v6, v7}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const-string v6, "X-CRASHLYTICS-INSTALLATION-ID"
|
|
!
|
|
! .line 1169
|
|
! iget-object p1, p1, Lio/fabric/sdk/android/a/g/w;->qT:Ljava/lang/String;
|
|
!
|
|
! invoke-static {v5, v6, p1}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 85
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! new-instance v6, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v7, "Requesting settings from "
|
|
!
|
|
! invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p0}, Lio/fabric/sdk/android/a/g/l;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object v7
|
|
!
|
|
! invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! invoke-interface {p1, v2, v6}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 86
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! const-string v6, "Settings query params were: "
|
|
!
|
|
! invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! invoke-virtual {v6, v4}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! invoke-interface {p1, v2, v4}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 2104
|
|
! invoke-virtual {v5}, Lio/fabric/sdk/android/a/e/d;->CG()I
|
|
!
|
|
! move-result p1
|
|
!
|
|
! .line 2105
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! const-string v6, "Settings result was: "
|
|
!
|
|
! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
!
|
|
! move-result-object v7
|
|
!
|
|
! invoke-virtual {v6, v7}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! invoke-interface {v4, v2, v6}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! const/16 v4, 0xc8
|
|
!
|
|
! if-eq p1, v4, :cond_3
|
|
!
|
|
! const/16 v4, 0xc9
|
|
!
|
|
! if-eq p1, v4, :cond_3
|
|
!
|
|
! const/16 v4, 0xca
|
|
!
|
|
! if-eq p1, v4, :cond_3
|
|
!
|
|
! const/16 v4, 0xcb
|
|
!
|
|
! if-ne p1, v4, :cond_2
|
|
!
|
|
! goto :goto_0
|
|
!
|
|
! :cond_2
|
|
! const/4 p1, 0x0
|
|
!
|
|
! goto :goto_1
|
|
!
|
|
! :cond_3
|
|
! :goto_0
|
|
! const/4 p1, 0x1
|
|
!
|
|
! :goto_1
|
|
! if-eqz p1, :cond_4
|
|
!
|
|
! .line 2109
|
|
! invoke-virtual {v5}, Lio/fabric/sdk/android/a/e/d;->CH()Ljava/lang/String;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! invoke-direct {p0, p1}, Lio/fabric/sdk/android/a/g/l;->dt(Ljava/lang/String;)Lorg/json/JSONObject;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! move-object v3, p1
|
|
!
|
|
! goto :goto_2
|
|
!
|
|
! .line 2111
|
|
! :cond_4
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! new-instance v4, Ljava/lang/StringBuilder;
|
|
!
|
|
! const-string v6, "Failed to retrieve settings from "
|
|
!
|
|
! invoke-direct {v4, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! invoke-virtual {p0}, Lio/fabric/sdk/android/a/g/l;->getUrl()Ljava/lang/String;
|
|
!
|
|
! move-result-object v6
|
|
!
|
|
! invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! invoke-interface {p1, v2, v4}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;)V
|
|
! :try_end_1
|
|
! .catch Lio/fabric/sdk/android/a/e/d$c; {:try_start_1 .. :try_end_1} :catch_0
|
|
! .catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
!
|
|
! :goto_2
|
|
! if-eqz v5, :cond_5
|
|
!
|
|
! .line 94
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! new-instance v4, Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-direct {v4, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! .line 95
|
|
! :goto_3
|
|
! invoke-virtual {v5, v0}, Lio/fabric/sdk/android/a/e/d;->dp(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 94
|
|
! invoke-interface {p1, v2, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! goto :goto_5
|
|
!
|
|
! :catch_0
|
|
! move-exception p1
|
|
!
|
|
! goto :goto_4
|
|
!
|
|
! :catchall_0
|
|
! move-exception p1
|
|
!
|
|
! move-object v5, v3
|
|
!
|
|
! goto :goto_6
|
|
!
|
|
! :catch_1
|
|
! move-exception p1
|
|
!
|
|
! move-object v5, v3
|
|
!
|
|
! .line 90
|
|
! :goto_4
|
|
! :try_start_2
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v4
|
|
!
|
|
! const-string v6, "Settings request failed."
|
|
!
|
|
! invoke-interface {v4, v2, v6, p1}, Lio/fabric/sdk/android/l;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
! :try_end_2
|
|
! .catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
!
|
|
! if-eqz v5, :cond_5
|
|
!
|
|
! .line 94
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object p1
|
|
!
|
|
! new-instance v4, Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-direct {v4, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! goto :goto_3
|
|
!
|
|
! :cond_5
|
|
! :goto_5
|
|
! return-object v3
|
|
!
|
|
! :catchall_1
|
|
! move-exception p1
|
|
!
|
|
! :goto_6
|
|
! if-eqz v5, :cond_6
|
|
!
|
|
! invoke-static {}, Lio/fabric/sdk/android/c;->BE()Lio/fabric/sdk/android/l;
|
|
!
|
|
! move-result-object v3
|
|
!
|
|
! new-instance v4, Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-direct {v4, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
!
|
|
! .line 95
|
|
! invoke-virtual {v5, v0}, Lio/fabric/sdk/android/a/e/d;->dp(Ljava/lang/String;)Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
!
|
|
! invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
!
|
|
! move-result-object v0
|
|
!
|
|
! .line 94
|
|
! invoke-interface {v3, v2, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V
|
|
!
|
|
! .line 97
|
|
! :cond_6
|
|
! goto :goto_8
|
|
!
|
|
! :goto_7
|
|
! throw p1
|
|
!
|
|
! :goto_8
|
|
! goto :goto_7
|
|
.end method
|
|
--- 115,121 ----
|
|
|
|
# virtual methods
|
|
.method public final a(Lio/fabric/sdk/android/a/g/w;)Lorg/json/JSONObject;
|
|
! .locals 0
|
|
|
|
! return-void
|
|
.end method
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/g: l.smali.orig
|
|
Only in com.discord-970/smali_classes2/io/fabric/sdk/android/a/g: l.smali.rej
|
|
|