forked from distok/cutthecord
notrack: fix
This commit is contained in:
parent
32e6ba4668
commit
f806e2569e
1 changed files with 274 additions and 385 deletions
|
@ -1,253 +1,6 @@
|
||||||
diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali
|
|
||||||
*** com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-01-19 04:41:50.756429597 +0300
|
|
||||||
--- com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-01-19 23:42:54.573066848 +0300
|
|
||||||
***************
|
|
||||||
*** 407,466 ****
|
|
||||||
|
|
||||||
.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 141
|
|
||||||
- :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 166
|
|
||||||
- invoke-static {}, Lkotlin/a/ab;->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
|
|
||||||
|
|
||||||
.method public static synthetic track$default(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Lkotlin/Pair;Ljava/util/Map;Ljava/lang/Long;ILjava/lang/Object;)V
|
|
||||||
.locals 0
|
|
||||||
-
|
|
||||||
- and-int/lit8 p5, p4, 0x2
|
|
||||||
-
|
|
||||||
- if-eqz p5, :cond_0
|
|
||||||
-
|
|
||||||
- .line 157
|
|
||||||
- invoke-static {}, Lkotlin/a/ab;->emptyMap()Ljava/util/Map;
|
|
||||||
-
|
|
||||||
- move-result-object p2
|
|
||||||
-
|
|
||||||
- :cond_0
|
|
||||||
- and-int/lit8 p4, p4, 0x4
|
|
||||||
-
|
|
||||||
- if-eqz p4, :cond_1
|
|
||||||
-
|
|
||||||
- const/4 p3, 0x0
|
|
||||||
-
|
|
||||||
- :cond_1
|
|
||||||
- invoke-virtual {p0, p1, p2, p3}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->track(Lkotlin/Pair;Ljava/util/Map;Ljava/lang/Long;)V
|
|
||||||
-
|
|
||||||
return-void
|
|
||||||
.end method
|
|
||||||
|
|
||||||
--- 407,422 ----
|
|
||||||
***************
|
|
||||||
*** 636,797 ****
|
|
||||||
.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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! const-string v0, "properties"
|
|
||||||
!
|
|
||||||
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! .line 167
|
|
||||||
! 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 169
|
|
||||||
! 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 170
|
|
||||||
! 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;Ljava/util/Map;Ljava/lang/Long;)V
|
|
||||||
! .locals 7
|
|
||||||
! .annotation system Ldalvik/annotation/Signature;
|
|
||||||
! value = {
|
|
||||||
! "(",
|
|
||||||
! "Lkotlin/Pair<",
|
|
||||||
! "Ljava/lang/String;",
|
|
||||||
! "Ljava/lang/Long;",
|
|
||||||
! ">;",
|
|
||||||
! "Ljava/util/Map<",
|
|
||||||
! "Ljava/lang/String;",
|
|
||||||
! "+",
|
|
||||||
! "Ljava/lang/Object;",
|
|
||||||
! ">;",
|
|
||||||
! "Ljava/lang/Long;",
|
|
||||||
! ")V"
|
|
||||||
! }
|
|
||||||
! .end annotation
|
|
||||||
!
|
|
||||||
! const-string v0, "throttleKey"
|
|
||||||
!
|
|
||||||
! invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! const-string v0, "properties"
|
|
||||||
!
|
|
||||||
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! const/4 v4, 0x0
|
|
||||||
!
|
|
||||||
! const/4 v5, 0x4
|
|
||||||
!
|
|
||||||
! const/4 v6, 0x0
|
|
||||||
!
|
|
||||||
! move-object v1, p0
|
|
||||||
!
|
|
||||||
! move-object v2, p1
|
|
||||||
!
|
|
||||||
! move-object v3, p3
|
|
||||||
!
|
|
||||||
! .line 158
|
|
||||||
! 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 p3
|
|
||||||
!
|
|
||||||
! if-eqz p3, :cond_0
|
|
||||||
!
|
|
||||||
! return-void
|
|
||||||
!
|
|
||||||
! .line 1000
|
|
||||||
! :cond_0
|
|
||||||
! iget-object p1, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
|
|
||||||
!
|
|
||||||
! .line 162
|
|
||||||
! check-cast p1, Ljava/lang/String;
|
|
||||||
!
|
|
||||||
! .line 163
|
|
||||||
! 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 1
|
|
||||||
! .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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! const-string v0, "properties"
|
|
||||||
!
|
|
||||||
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
||||||
!
|
|
||||||
! .line 177
|
|
||||||
! 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 p2
|
|
||||||
!
|
|
||||||
! .line 178
|
|
||||||
! sget-object v0, Lcom/discord/utilities/analytics/AnalyticsUtils;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsUtils;
|
|
||||||
!
|
|
||||||
! invoke-static {v0}, Lcom/discord/utilities/analytics/AnalyticsUtils;->access$getFireBaseInstance$p(Lcom/discord/utilities/analytics/AnalyticsUtils;)Lcom/google/firebase/analytics/FirebaseAnalytics;
|
|
||||||
!
|
|
||||||
! move-result-object v0
|
|
||||||
!
|
|
||||||
! if-eqz v0, :cond_0
|
|
||||||
!
|
|
||||||
! invoke-virtual {v0, p1, p2}, Lcom/google/firebase/analytics/FirebaseAnalytics;->b(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
||||||
!
|
|
||||||
! return-void
|
|
||||||
!
|
|
||||||
! :cond_0
|
|
||||||
return-void
|
|
||||||
.end method
|
|
||||||
--- 592,607 ----
|
|
||||||
.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;Ljava/util/Map;Ljava/lang/Long;)V
|
|
||||||
! .locals 0
|
|
||||||
return-void
|
|
||||||
.end method
|
|
||||||
|
|
||||||
.method public final trackFireBase(Ljava/lang/String;Ljava/util/Map;)V
|
|
||||||
! .locals 0
|
|
||||||
return-void
|
|
||||||
.end method
|
|
||||||
diff -crB -x dist -x build com.discord-832-base/AndroidManifest.xml com.discord-832/AndroidManifest.xml
|
diff -crB -x dist -x build com.discord-832-base/AndroidManifest.xml com.discord-832/AndroidManifest.xml
|
||||||
*** com.discord-832-base/AndroidManifest.xml 2019-01-19 04:41:50.513095071 +0300
|
*** com.discord-832-base/AndroidManifest.xml 2019-01-19 04:41:50.513095071 +0300
|
||||||
--- com.discord-832/AndroidManifest.xml 2019-01-20 21:53:36.000000000 +0300
|
--- com.discord-832/AndroidManifest.xml 2019-01-20 23:28:49.824409998 +0300
|
||||||
***************
|
***************
|
||||||
*** 98,105 ****
|
*** 98,105 ****
|
||||||
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
|
||||||
|
@ -277,9 +30,23 @@ diff -crB -x dist -x build com.discord-832-base/AndroidManifest.xml com.discord-
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
\ No newline at end of file
|
\ No newline at end of file
|
||||||
|
--- 181,186 ----
|
||||||
|
diff -crB -x dist -x build com.discord-832-base/res/values/public.xml com.discord-832/res/values/public.xml
|
||||||
|
*** com.discord-832-base/res/values/public.xml 2019-01-19 04:41:50.669762506 +0300
|
||||||
|
--- com.discord-832/res/values/public.xml 2019-01-20 23:23:54.136350484 +0300
|
||||||
|
***************
|
||||||
|
*** 65,71 ****
|
||||||
|
<public type="animator" name="selection_grow" id="0x7f02000a" />
|
||||||
|
<public type="animator" name="selection_shrink" id="0x7f02000b" />
|
||||||
|
<public type="animator" name="design_appbar_state_list_animator" id="0x7f020000" />
|
||||||
|
- <public type="array" name="color_picker_palette" id="0x7f030000" />
|
||||||
|
<public type="attr" name="actionBarDivider" id="0x7f040000" />
|
||||||
|
<public type="attr" name="actionBarItemBackground" id="0x7f040001" />
|
||||||
|
<public type="attr" name="actionBarPopupTheme" id="0x7f040002" />
|
||||||
|
--- 65,70 ----
|
||||||
diff -crB -x dist -x build com.discord-832-base/res/values/strings.xml com.discord-832/res/values/strings.xml
|
diff -crB -x dist -x build com.discord-832-base/res/values/strings.xml com.discord-832/res/values/strings.xml
|
||||||
*** com.discord-832-base/res/values/strings.xml 2019-01-19 04:41:50.669762506 +0300
|
*** com.discord-832-base/res/values/strings.xml 2019-01-19 04:41:50.669762506 +0300
|
||||||
--- com.discord-832/res/values/strings.xml 2019-01-20 21:52:22.307482667 +0300
|
--- com.discord-832/res/values/strings.xml 2019-01-20 23:27:37.827404188 +0300
|
||||||
***************
|
***************
|
||||||
*** 874,880 ****
|
*** 874,880 ****
|
||||||
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
<string name="cloud_sync_modal_error_header">Unable to sync cloud saves</string>
|
||||||
|
@ -299,7 +66,7 @@ diff -crB -x dist -x build com.discord-832-base/res/values/strings.xml com.disco
|
||||||
<string name="coming_soon_title">COMING SOON!</string>
|
<string name="coming_soon_title">COMING SOON!</string>
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/answers/ab.smali com.discord-832/smali/com/crashlytics/android/answers/ab.smali
|
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/answers/ab.smali com.discord-832/smali/com/crashlytics/android/answers/ab.smali
|
||||||
*** com.discord-832-base/smali/com/crashlytics/android/answers/ab.smali 2019-01-19 04:41:50.863096786 +0300
|
*** com.discord-832-base/smali/com/crashlytics/android/answers/ab.smali 2019-01-19 04:41:50.863096786 +0300
|
||||||
--- com.discord-832/smali/com/crashlytics/android/answers/ab.smali 2019-01-20 22:00:18.929674456 +0300
|
--- com.discord-832/smali/com/crashlytics/android/answers/ab.smali 2019-01-20 23:27:37.834070886 +0300
|
||||||
***************
|
***************
|
||||||
*** 38,207 ****
|
*** 38,207 ****
|
||||||
|
|
||||||
|
@ -480,8 +247,8 @@ diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/an
|
||||||
! return-void
|
! return-void
|
||||||
.end method
|
.end method
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/core/ah.smali com.discord-832/smali/com/crashlytics/android/core/ah.smali
|
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/core/ah.smali com.discord-832/smali/com/crashlytics/android/core/ah.smali
|
||||||
*** com.discord-832-base/smali/com/crashlytics/android/core/ah.smali 2019-01-19 04:41:50.863096786 +0300
|
*** com.discord-832-base/smali/com/crashlytics/android/core/ah.smali 2019-01-19 04:41:50.863096786 +0300
|
||||||
--- com.discord-832/smali/com/crashlytics/android/core/ah.smali 2019-01-20 22:00:03.546270380 +0300
|
--- com.discord-832/smali/com/crashlytics/android/core/ah.smali 2019-01-20 23:27:37.837404235 +0300
|
||||||
***************
|
***************
|
||||||
*** 347,485 ****
|
*** 347,485 ****
|
||||||
|
|
||||||
|
@ -632,7 +399,7 @@ diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/co
|
||||||
.end method
|
.end method
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/core/x.smali com.discord-832/smali/com/crashlytics/android/core/x.smali
|
diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/core/x.smali com.discord-832/smali/com/crashlytics/android/core/x.smali
|
||||||
*** com.discord-832-base/smali/com/crashlytics/android/core/x.smali 2019-01-19 04:41:50.866430136 +0300
|
*** com.discord-832-base/smali/com/crashlytics/android/core/x.smali 2019-01-19 04:41:50.866430136 +0300
|
||||||
--- com.discord-832/smali/com/crashlytics/android/core/x.smali 2019-01-20 21:59:25.662762836 +0300
|
--- com.discord-832/smali/com/crashlytics/android/core/x.smali 2019-01-20 23:27:37.840737584 +0300
|
||||||
***************
|
***************
|
||||||
*** 31,383 ****
|
*** 31,383 ****
|
||||||
|
|
||||||
|
@ -995,9 +762,256 @@ diff -crB -x dist -x build com.discord-832-base/smali/com/crashlytics/android/co
|
||||||
! .locals 0
|
! .locals 0
|
||||||
! return-void
|
! return-void
|
||||||
.end method
|
.end method
|
||||||
|
diff -crB -x dist -x build com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali
|
||||||
|
*** com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-01-19 04:41:50.756429597 +0300
|
||||||
|
--- com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils$Tracker.smali 2019-01-20 23:27:37.820737490 +0300
|
||||||
|
***************
|
||||||
|
*** 407,466 ****
|
||||||
|
|
||||||
|
.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 141
|
||||||
|
- :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 166
|
||||||
|
- invoke-static {}, Lkotlin/a/ab;->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
|
||||||
|
|
||||||
|
.method public static synthetic track$default(Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;Lkotlin/Pair;Ljava/util/Map;Ljava/lang/Long;ILjava/lang/Object;)V
|
||||||
|
.locals 0
|
||||||
|
-
|
||||||
|
- and-int/lit8 p5, p4, 0x2
|
||||||
|
-
|
||||||
|
- if-eqz p5, :cond_0
|
||||||
|
-
|
||||||
|
- .line 157
|
||||||
|
- invoke-static {}, Lkotlin/a/ab;->emptyMap()Ljava/util/Map;
|
||||||
|
-
|
||||||
|
- move-result-object p2
|
||||||
|
-
|
||||||
|
- :cond_0
|
||||||
|
- and-int/lit8 p4, p4, 0x4
|
||||||
|
-
|
||||||
|
- if-eqz p4, :cond_1
|
||||||
|
-
|
||||||
|
- const/4 p3, 0x0
|
||||||
|
-
|
||||||
|
- :cond_1
|
||||||
|
- invoke-virtual {p0, p1, p2, p3}, Lcom/discord/utilities/analytics/AnalyticsUtils$Tracker;->track(Lkotlin/Pair;Ljava/util/Map;Ljava/lang/Long;)V
|
||||||
|
-
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
--- 407,422 ----
|
||||||
|
***************
|
||||||
|
*** 636,797 ****
|
||||||
|
.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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! const-string v0, "properties"
|
||||||
|
!
|
||||||
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! .line 167
|
||||||
|
! 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 169
|
||||||
|
! 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 170
|
||||||
|
! 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;Ljava/util/Map;Ljava/lang/Long;)V
|
||||||
|
! .locals 7
|
||||||
|
! .annotation system Ldalvik/annotation/Signature;
|
||||||
|
! value = {
|
||||||
|
! "(",
|
||||||
|
! "Lkotlin/Pair<",
|
||||||
|
! "Ljava/lang/String;",
|
||||||
|
! "Ljava/lang/Long;",
|
||||||
|
! ">;",
|
||||||
|
! "Ljava/util/Map<",
|
||||||
|
! "Ljava/lang/String;",
|
||||||
|
! "+",
|
||||||
|
! "Ljava/lang/Object;",
|
||||||
|
! ">;",
|
||||||
|
! "Ljava/lang/Long;",
|
||||||
|
! ")V"
|
||||||
|
! }
|
||||||
|
! .end annotation
|
||||||
|
!
|
||||||
|
! const-string v0, "throttleKey"
|
||||||
|
!
|
||||||
|
! invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! const-string v0, "properties"
|
||||||
|
!
|
||||||
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! const/4 v4, 0x0
|
||||||
|
!
|
||||||
|
! const/4 v5, 0x4
|
||||||
|
!
|
||||||
|
! const/4 v6, 0x0
|
||||||
|
!
|
||||||
|
! move-object v1, p0
|
||||||
|
!
|
||||||
|
! move-object v2, p1
|
||||||
|
!
|
||||||
|
! move-object v3, p3
|
||||||
|
!
|
||||||
|
! .line 158
|
||||||
|
! 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 p3
|
||||||
|
!
|
||||||
|
! if-eqz p3, :cond_0
|
||||||
|
!
|
||||||
|
! return-void
|
||||||
|
!
|
||||||
|
! .line 1000
|
||||||
|
! :cond_0
|
||||||
|
! iget-object p1, p1, Lkotlin/Pair;->first:Ljava/lang/Object;
|
||||||
|
!
|
||||||
|
! .line 162
|
||||||
|
! check-cast p1, Ljava/lang/String;
|
||||||
|
!
|
||||||
|
! .line 163
|
||||||
|
! 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 1
|
||||||
|
! .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/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! const-string v0, "properties"
|
||||||
|
!
|
||||||
|
! invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||||||
|
!
|
||||||
|
! .line 177
|
||||||
|
! 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 p2
|
||||||
|
!
|
||||||
|
! .line 178
|
||||||
|
! sget-object v0, Lcom/discord/utilities/analytics/AnalyticsUtils;->INSTANCE:Lcom/discord/utilities/analytics/AnalyticsUtils;
|
||||||
|
!
|
||||||
|
! invoke-static {v0}, Lcom/discord/utilities/analytics/AnalyticsUtils;->access$getFireBaseInstance$p(Lcom/discord/utilities/analytics/AnalyticsUtils;)Lcom/google/firebase/analytics/FirebaseAnalytics;
|
||||||
|
!
|
||||||
|
! move-result-object v0
|
||||||
|
!
|
||||||
|
! if-eqz v0, :cond_0
|
||||||
|
!
|
||||||
|
! invoke-virtual {v0, p1, p2}, Lcom/google/firebase/analytics/FirebaseAnalytics;->b(Ljava/lang/String;Landroid/os/Bundle;)V
|
||||||
|
!
|
||||||
|
! return-void
|
||||||
|
!
|
||||||
|
! :cond_0
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
--- 592,607 ----
|
||||||
|
.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;Ljava/util/Map;Ljava/lang/Long;)V
|
||||||
|
! .locals 0
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public final trackFireBase(Ljava/lang/String;Ljava/util/Map;)V
|
||||||
|
! .locals 0
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/b/a.smali
|
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/b/a.smali
|
||||||
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-01-19 04:41:50.943097178 +0300
|
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-01-19 04:41:50.943097178 +0300
|
||||||
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-01-20 21:48:40.749796604 +0300
|
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/b/a.smali 2019-01-20 23:27:37.840737584 +0300
|
||||||
***************
|
***************
|
||||||
*** 174,180 ****
|
*** 174,180 ****
|
||||||
|
|
||||||
|
@ -1015,10 +1029,9 @@ diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/and
|
||||||
|
|
||||||
.line 142
|
.line 142
|
||||||
invoke-virtual {p1, v0, v1}, Lio/fabric/sdk/android/a/e/d;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
invoke-virtual {p1, v0, v1}, Lio/fabric/sdk/android/a/e/d;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d;
|
||||||
|
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/a.smali
|
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/a.smali
|
||||||
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-01-19 04:41:50.943097178 +0300
|
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-01-19 04:41:50.943097178 +0300
|
||||||
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-01-20 21:59:10.232691879 +0300
|
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/a.smali 2019-01-20 23:27:37.840737584 +0300
|
||||||
***************
|
***************
|
||||||
*** 345,581 ****
|
*** 345,581 ****
|
||||||
|
|
||||||
|
@ -1266,8 +1279,8 @@ diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/and
|
||||||
! return-void
|
! return-void
|
||||||
.end method
|
.end method
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/l.smali
|
diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/l.smali
|
||||||
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-01-19 04:41:50.943097178 +0300
|
*** com.discord-832-base/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-01-19 04:41:50.943097178 +0300
|
||||||
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-01-20 21:58:49.282595540 +0300
|
--- com.discord-832/smali_classes2/io/fabric/sdk/android/a/g/l.smali 2019-01-20 23:27:37.844070933 +0300
|
||||||
***************
|
***************
|
||||||
*** 117,520 ****
|
*** 117,520 ****
|
||||||
|
|
||||||
|
@ -1681,127 +1694,3 @@ diff -crB -x dist -x build com.discord-832-base/smali_classes2/io/fabric/sdk/and
|
||||||
! .locals 0
|
! .locals 0
|
||||||
return-void
|
return-void
|
||||||
.end method
|
.end method
|
||||||
diff -crB -x dist -x build com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils.smali com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils.smali
|
|
||||||
*** com.discord-832-base/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-19 04:41:50.756429597 +0300
|
|
||||||
--- com.discord-832/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-20 22:56:47.592027576 +0300
|
|
||||||
***************
|
|
||||||
*** 179,196 ****
|
|
||||||
}
|
|
||||||
.end annotation
|
|
||||||
|
|
||||||
! .line 84
|
|
||||||
! invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
||||||
!
|
|
||||||
! move-result-object p1
|
|
||||||
!
|
|
||||||
! const-string v0, "android_id"
|
|
||||||
!
|
|
||||||
! invoke-static {p1, v0}, Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;
|
|
||||||
!
|
|
||||||
! move-result-object p1
|
|
||||||
!
|
|
||||||
! const/16 v0, 0x9
|
|
||||||
|
|
||||||
.line 86
|
|
||||||
new-array v0, v0, [Lkotlin/Pair;
|
|
||||||
--- 179,185 ----
|
|
||||||
}
|
|
||||||
.end annotation
|
|
||||||
|
|
||||||
! const/16 v0, 0x4
|
|
||||||
|
|
||||||
.line 86
|
|
||||||
new-array v0, v0, [Lkotlin/Pair;
|
|
||||||
***************
|
|
||||||
*** 251,341 ****
|
|
||||||
|
|
||||||
aput-object v1, v0, v2
|
|
||||||
|
|
||||||
- const-string v1, "device"
|
|
||||||
-
|
|
||||||
- .line 93
|
|
||||||
- new-instance v2, Ljava/lang/StringBuilder;
|
|
||||||
-
|
|
||||||
- invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
|
|
||||||
-
|
|
||||||
- sget-object v3, Landroid/os/Build;->MODEL:Ljava/lang/String;
|
|
||||||
-
|
|
||||||
- invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
||||||
-
|
|
||||||
- const-string v3, ", "
|
|
||||||
-
|
|
||||||
- invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
||||||
-
|
|
||||||
- sget-object v3, Landroid/os/Build;->PRODUCT:Ljava/lang/String;
|
|
||||||
-
|
|
||||||
- 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
|
|
||||||
-
|
|
||||||
- invoke-static {v1, v2}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
||||||
-
|
|
||||||
- move-result-object v1
|
|
||||||
-
|
|
||||||
- const/4 v2, 0x4
|
|
||||||
-
|
|
||||||
- aput-object v1, v0, v2
|
|
||||||
-
|
|
||||||
- const-string v1, "device_id"
|
|
||||||
-
|
|
||||||
- .line 94
|
|
||||||
- invoke-static {v1, p1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
||||||
-
|
|
||||||
- move-result-object p1
|
|
||||||
-
|
|
||||||
- const/4 v1, 0x5
|
|
||||||
-
|
|
||||||
- aput-object p1, v0, v1
|
|
||||||
-
|
|
||||||
- const-string p1, "os"
|
|
||||||
-
|
|
||||||
- const-string v1, "Android"
|
|
||||||
-
|
|
||||||
- .line 95
|
|
||||||
- invoke-static {p1, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
||||||
-
|
|
||||||
- move-result-object p1
|
|
||||||
-
|
|
||||||
- const/4 v1, 0x6
|
|
||||||
-
|
|
||||||
- aput-object p1, v0, v1
|
|
||||||
-
|
|
||||||
- const-string p1, "os_sdk_version"
|
|
||||||
-
|
|
||||||
- .line 96
|
|
||||||
- sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
||||||
-
|
|
||||||
- invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
||||||
-
|
|
||||||
- move-result-object v1
|
|
||||||
-
|
|
||||||
- invoke-static {p1, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
||||||
-
|
|
||||||
- move-result-object p1
|
|
||||||
-
|
|
||||||
- const/4 v1, 0x7
|
|
||||||
-
|
|
||||||
- aput-object p1, v0, v1
|
|
||||||
-
|
|
||||||
- const-string p1, "os_version"
|
|
||||||
-
|
|
||||||
- .line 97
|
|
||||||
- sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;
|
|
||||||
-
|
|
||||||
- invoke-static {p1, v1}, Lkotlin/q;->m(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
|
||||||
-
|
|
||||||
- move-result-object p1
|
|
||||||
-
|
|
||||||
- const/16 v1, 0x8
|
|
||||||
-
|
|
||||||
- aput-object p1, v0, v1
|
|
||||||
-
|
|
||||||
.line 86
|
|
||||||
invoke-static {v0}, Lkotlin/a/ab;->a([Lkotlin/Pair;)Ljava/util/Map;
|
|
||||||
|
|
Loading…
Reference in a new issue