From 0b14c271d90855c6491f7689d0ae866f80a2b156 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 20 Jan 2019 22:29:59 +0300 Subject: [PATCH] Add customversion and nonearby patches, also improve notrack patch --- patches/customversion/832.patch | 20 + patches/customversion/README.md | 9 + patches/nonearby/832.patch | 87 ++ patches/nonearby/README.md | 7 + patches/notrack/832.patch | 1456 +++++++++++++++++++++++++++++++ patches/notrack/README.md | 2 +- 6 files changed, 1580 insertions(+), 1 deletion(-) create mode 100644 patches/customversion/832.patch create mode 100644 patches/customversion/README.md create mode 100644 patches/nonearby/832.patch create mode 100644 patches/nonearby/README.md diff --git a/patches/customversion/832.patch b/patches/customversion/832.patch new file mode 100644 index 0000000..7a2e8ee --- /dev/null +++ b/patches/customversion/832.patch @@ -0,0 +1,20 @@ +diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/settings/WidgetSettings.smali com.discord-832/smali/com/discord/widgets/settings/WidgetSettings.smali +*** com.discord-832-base/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-01-19 04:41:50.846430038 +0300 +--- com.discord-832/smali/com/discord/widgets/settings/WidgetSettings.smali 2019-01-20 22:08:30.905273603 +0300 +*************** +*** 1304,1310 **** + + invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +! const-string v0, " - 8.3.2 (832)" + + invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +--- 1302,1308 ---- + + invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + +! const-string v0, " - 8.3.2 (832), with Cutthecord patches applied" + + invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + \ No newline at end of file diff --git a/patches/customversion/README.md b/patches/customversion/README.md new file mode 100644 index 0000000..19e3921 --- /dev/null +++ b/patches/customversion/README.md @@ -0,0 +1,9 @@ +## DisTok CutTheCord: Custom Version Patch + +This patch replaces version string and adds mention of cutthecord in the user settings: + +![](https://elixi.re/i/f6lfgh0s.png) + +#### Available and tested on: +- 8.3.2 + diff --git a/patches/nonearby/832.patch b/patches/nonearby/832.patch new file mode 100644 index 0000000..2b49f25 --- /dev/null +++ b/patches/nonearby/832.patch @@ -0,0 +1,87 @@ + +diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali +*** com.discord-832-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-19 04:41:50.826429940 +0300 +--- com.discord-832/smali/com/discord/widgets/friends/NearbyManager.smali 2019-01-20 22:04:14.444090824 +0300 +*************** +*** 440,512 **** + + # virtual methods + .method public final activateNearby()V +! .locals 9 +! +! .line 58 +! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient; +! +! if-nez v0, :cond_0 +! +! return-void +! +! .line 59 +! :cond_0 +! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message; +! +! if-nez v1, :cond_1 +! +! return-void +! +! .line 60 +! :cond_1 +! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions; +! +! if-nez v2, :cond_2 +! +! return-void +! +! .line 61 +! :cond_2 +! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener; +! +! if-nez v3, :cond_3 +! +! return-void +! +! .line 62 +! :cond_3 +! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions; +! +! if-nez v4, :cond_4 +! +! return-void +! +! .line 64 +! :cond_4 +! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject; +! +! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected; +! +! new-instance v7, Ljava/util/HashSet; +! +! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet; +! +! check-cast v8, Ljava/util/Collection; +! +! invoke-direct {v7, v8}, Ljava/util/HashSet;->(Ljava/util/Collection;)V +! +! check-cast v7, Ljava/util/Set; +! +! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;->(Ljava/util/Set;)V +! +! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V +! +! .line 66 +! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/g; +! +! .line 67 +! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/g; +! + return-void + .end method + +--- 440,446 ---- + + # virtual methods + .method public final activateNearby()V +! .locals 0 + return-void + .end method + \ No newline at end of file diff --git a/patches/nonearby/README.md b/patches/nonearby/README.md new file mode 100644 index 0000000..afd8994 --- /dev/null +++ b/patches/nonearby/README.md @@ -0,0 +1,7 @@ +## DisTok CutTheCord: No Nearby Patch + +This patch nulls a bunch of nearby friends features for privacy. + +#### Available and tested on: +- 8.3.2 + diff --git a/patches/notrack/832.patch b/patches/notrack/832.patch index 0598271..929c671 100644 --- a/patches/notrack/832.patch +++ b/patches/notrack/832.patch @@ -245,3 +245,1459 @@ diff -crB -x dist -x res -x build com.discord-832-base/smali/com/discord/utiliti ! .locals 0 return-void .end method +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/AndroidManifest.xml 2019-01-20 21:53:36.000000000 +0300 +*************** +*** 98,105 **** + + + +! +! + + + +--- 98,105 ---- + + + +! +! + + + +*************** +*** 181,187 **** + + + +- + + + +\ No newline at end of file +--- 181,186 ---- +*** 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 +*************** +*** 174,180 **** + + 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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +--- 174,180 ---- + + 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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +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/res/values/strings.xml 2019-01-20 21:52:22.307482667 +0300 +*************** +*** 874,880 **** + Unable to sync cloud saves + OR + Collapse Category +! 158ac3fa-63f9-4e26-9d04-d84f4da398f0 + Coming Soon + Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings. + COMING SOON! +--- 874,880 ---- + Unable to sync cloud saves + OR + Collapse Category +! 00000000-0000-0000-0000-000000000000 + Coming Soon + Granular notification control only works on desktop apps at the moment. For now use the iOS notification settings. + COMING SOON! +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/smali/com/crashlytics/android/answers/ab.smali 2019-01-20 22:00:18.929674456 +0300 +*************** +*** 38,207 **** + + # virtual methods + .method public final h(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;->wK()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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-CLIENT-VERSION" +! +! iget-object v2, p0, Lcom/crashlytics/android/answers/ab;->nF:Lio/fabric/sdk/android/i; +! +! .line 39 +! invoke-virtual {v2}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v2 +! +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-KEY" +! +! iget-object v2, p0, Lcom/crashlytics/android/answers/ab;->oF:Ljava/lang/String; +! +! .line 40 +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(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; +! +! const-string v6, "session_analytics_file_" +! +! .line 45 +! invoke-static {v3}, 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-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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v3, "Answers" +! +! new-instance v4, Ljava/lang/StringBuilder; +! +! const-string v6, "Sending " +! +! invoke-direct {v4, v6}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 50 +! invoke-interface {p1}, Ljava/util/List;->size()I +! +! move-result p1 +! +! invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; +! +! const-string p1, " analytics files to " +! +! invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! .line 1100 +! iget-object p1, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 50 +! invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object p1 +! +! .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;->xx()I +! +! move-result p1 +! +! .line 52 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! const-string v1, "Answers" +! +! const-string v3, "Response code for analytics file send is " +! +! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-virtual {v3, v4}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-interface {v0, v1, v3}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 55 +! invoke-static {p1}, Lio/fabric/sdk/android/a/b/u;->cH(I)I +! +! move-result p1 +! +! if-nez p1, :cond_1 +! +! return v5 +! +! :cond_1 +! return v2 + .end method +--- 38,43 ---- + + # virtual methods + .method public final h(Ljava/util/List;)Z +! .locals 0 +! return-void + .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 +*** 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 +*************** +*** 347,485 **** + + # virtual methods + .method public final a(Lcom/crashlytics/android/core/u;)Z +! .locals 5 +! +! .line 36 +! invoke-virtual {p0}, Lcom/crashlytics/android/core/ah;->wK()Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! .line 39 +! iget-object v1, p1, Lcom/crashlytics/android/core/u;->oF:Ljava/lang/String; +! +! const-string v2, "User-Agent" +! +! .line 3052 +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "Crashlytics Android SDK/" +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! iget-object v4, p0, Lcom/crashlytics/android/core/ah;->nF:Lio/fabric/sdk/android/i; +! +! .line 3054 +! invoke-virtual {v4}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v3 +! +! .line 3053 +! invoke-virtual {v0, v2, v3}, Lio/fabric/sdk/android/a/e/d;->W(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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v2 +! +! const-string v3, "X-CRASHLYTICS-API-CLIENT-VERSION" +! +! iget-object v4, p0, Lcom/crashlytics/android/core/ah;->nF:Lio/fabric/sdk/android/i; +! +! .line 3056 +! invoke-virtual {v4}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-virtual {v2, v3, v4}, Lio/fabric/sdk/android/a/e/d;->W(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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! .line 40 +! iget-object p1, p1, Lcom/crashlytics/android/core/u;->qQ: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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! const-string v1, "CrashlyticsCore" +! +! new-instance v2, Ljava/lang/StringBuilder; +! +! const-string v3, "Sending report to: " +! +! invoke-direct {v2, v3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 3100 +! iget-object v3, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 42 +! 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-interface {v0, v1, v2}, 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;->xx()I +! +! move-result p1 +! +! .line 46 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! const-string v1, "CrashlyticsCore" +! +! const-string v2, "Result was: " +! +! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-virtual {v2, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v2 +! +! invoke-interface {v0, v1, v2}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 48 +! invoke-static {p1}, Lio/fabric/sdk/android/a/b/u;->cH(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 +--- 347,352 ---- + + # virtual methods + .method public final a(Lcom/crashlytics/android/core/u;)Z +! .locals 0 +! return-void + .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 +*** 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 +*************** +*** 31,383 **** + + # virtual methods + .method public final a(Lcom/crashlytics/android/core/u;)Z +! .locals 12 +! +! .line 59 +! invoke-virtual {p0}, Lcom/crashlytics/android/core/x;->wK()Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-KEY" +! +! .line 3075 +! iget-object v2, p1, Lcom/crashlytics/android/core/u;->oF:Ljava/lang/String; +! +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-CLIENT-VERSION" +! +! iget-object v2, p0, Lcom/crashlytics/android/core/x;->nF:Lio/fabric/sdk/android/i; +! +! .line 3077 +! invoke-virtual {v2}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v2 +! +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(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;->qQ:Lcom/crashlytics/android/core/aq; +! +! invoke-interface {v1}, Lcom/crashlytics/android/core/aq;->cP()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;->W(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;->qQ:Lcom/crashlytics/android/core/aq; +! +! const-string v1, "report[identifier]" +! +! .line 4089 +! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getIdentifier()Ljava/lang/String; +! +! move-result-object v2 +! +! const/4 v3, 0x0 +! +! .line 4530 +! invoke-virtual {v0, v1, v3, v2}, Lio/fabric/sdk/android/a/e/d;->o(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;->cO()[Ljava/io/File; +! +! move-result-object v1 +! +! array-length v1, v1 +! +! const/4 v2, 0x0 +! +! const/4 v3, 0x1 +! +! if-ne v1, v3, :cond_1 +! +! .line 4092 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v4, "CrashlyticsCore" +! +! new-instance v5, Ljava/lang/StringBuilder; +! +! const-string v6, "Adding single file " +! +! invoke-direct {v5, v6}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getFileName()Ljava/lang/String; +! +! move-result-object v6 +! +! invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! const-string v6, " to report " +! +! invoke-virtual {v5, v6}, 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 v6 +! +! invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v5 +! +! .line 4092 +! invoke-interface {v1, v4, v5}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v1, "report[file]" +! +! .line 4094 +! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->getFileName()Ljava/lang/String; +! +! move-result-object v4 +! +! const-string v5, "application/octet-stream" +! +! .line 4095 +! invoke-interface {p1}, Lcom/crashlytics/android/core/aq;->cN()Ljava/io/File; +! +! move-result-object p1 +! +! .line 4094 +! invoke-virtual {v0, v1, v4, v5, 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;->cO()[Ljava/io/File; +! +! move-result-object v1 +! +! array-length v4, v1 +! +! const/4 v5, 0x0 +! +! const/4 v6, 0x0 +! +! :goto_1 +! if-ge v5, v4, :cond_2 +! +! aget-object v7, v1, v5 +! +! .line 4100 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v8 +! +! const-string v9, "CrashlyticsCore" +! +! new-instance v10, Ljava/lang/StringBuilder; +! +! const-string v11, "Adding file " +! +! invoke-direct {v10, v11}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! invoke-virtual {v7}, Ljava/io/File;->getName()Ljava/lang/String; +! +! move-result-object v11 +! +! invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! const-string v11, " to report " +! +! invoke-virtual {v10, v11}, 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 v11 +! +! invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v10 +! +! .line 4100 +! invoke-interface {v8, v9, v10}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 4102 +! new-instance v8, Ljava/lang/StringBuilder; +! +! const-string v9, "report[file" +! +! invoke-direct {v8, v9}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; +! +! const-string v9, "]" +! +! invoke-virtual {v8, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v8 +! +! invoke-virtual {v7}, Ljava/io/File;->getName()Ljava/lang/String; +! +! move-result-object v9 +! +! const-string v10, "application/octet-stream" +! +! invoke-virtual {v0, v8, v9, v10, v7}, 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 v6, v3 +! +! add-int/lit8 v5, v5, 0x1 +! +! goto :goto_1 +! +! .line 63 +! :cond_2 +! :goto_2 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v1, "CrashlyticsCore" +! +! new-instance v4, Ljava/lang/StringBuilder; +! +! const-string v5, "Sending report to: " +! +! invoke-direct {v4, v5}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 5100 +! iget-object v5, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 63 +! invoke-virtual {v4, v5}, 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, v1, v4}, 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;->xx()I +! +! move-result p1 +! +! .line 67 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v4, "CrashlyticsCore" +! +! new-instance v5, Ljava/lang/StringBuilder; +! +! const-string v6, "Create report request ID: " +! +! invoke-direct {v5, v6}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! const-string v6, "X-REQUEST-ID" +! +! .line 68 +! invoke-virtual {v0, v6}, Lio/fabric/sdk/android/a/e/d;->dk(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v0 +! +! invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v0 +! +! .line 67 +! invoke-interface {v1, v4, v0}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 69 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! const-string v1, "CrashlyticsCore" +! +! const-string v4, "Result was: " +! +! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; +! +! move-result-object v5 +! +! invoke-virtual {v4, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-interface {v0, v1, v4}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 71 +! invoke-static {p1}, Lio/fabric/sdk/android/a/b/u;->cH(I)I +! +! move-result p1 +! +! if-nez p1, :cond_3 +! +! return v3 +! +! :cond_3 +! return v2 + .end method +--- 31,36 ---- + + # virtual methods + .method public final a(Lcom/crashlytics/android/core/u;)Z +! .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 +*** 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 +*************** +*** 174,180 **** + + 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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +--- 174,180 ---- + + 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;->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 +*** 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 +*************** +*** 345,581 **** + + # 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;->wK()Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-KEY" +! +! .line 3098 +! iget-object v2, p1, Lio/fabric/sdk/android/a/g/d;->oF:Ljava/lang/String; +! +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(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;->W(Ljava/lang/String;Ljava/lang/String;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v0 +! +! const-string v1, "X-CRASHLYTICS-API-CLIENT-VERSION" +! +! iget-object v2, p0, Lio/fabric/sdk/android/a/g/a;->nF:Lio/fabric/sdk/android/i; +! +! .line 3102 +! invoke-virtual {v2}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v2 +! +! .line 3101 +! invoke-virtual {v0, v1, v2}, Lio/fabric/sdk/android/a/e/d;->W(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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v2, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "Sending app info to " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 4100 +! iget-object v4, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 78 +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-interface {v1, v2, v3}, 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;->bas:Lio/fabric/sdk/android/a/g/n; +! +! if-eqz v1, :cond_0 +! +! .line 80 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v2, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "App icon hash is " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/d;->bas:Lio/fabric/sdk/android/a/g/n; +! +! iget-object v4, v4, Lio/fabric/sdk/android/a/g/n;->Wk:Ljava/lang/String; +! +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-interface {v1, v2, v3}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 82 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v2, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "App icon size is " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/d;->bas:Lio/fabric/sdk/android/a/g/n; +! +! iget v4, v4, Lio/fabric/sdk/android/a/g/n;->width:I +! +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; +! +! const-string v4, "x" +! +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! iget-object p1, p1, Lio/fabric/sdk/android/a/g/d;->bas:Lio/fabric/sdk/android/a/g/n; +! +! iget p1, p1, Lio/fabric/sdk/android/a/g/n;->height:I +! +! invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object p1 +! +! invoke-interface {v1, v2, 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;->xx()I +! +! move-result p1 +! +! const-string v1, "POST" +! +! .line 4929 +! invoke-virtual {v0}, Lio/fabric/sdk/android/a/e/d;->xw()Ljava/net/HttpURLConnection; +! +! move-result-object v2 +! +! invoke-virtual {v2}, Ljava/net/HttpURLConnection;->getRequestMethod()Ljava/lang/String; +! +! move-result-object v2 +! +! .line 87 +! invoke-virtual {v1, v2}, 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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v2 +! +! const-string v3, "Fabric" +! +! new-instance v4, Ljava/lang/StringBuilder; +! +! invoke-direct {v4}, Ljava/lang/StringBuilder;->()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;->dk(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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! const-string v1, "Fabric" +! +! const-string v2, "Result was " +! +! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-virtual {v2, v3}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v2 +! +! invoke-interface {v0, v1, v2}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 94 +! invoke-static {p1}, Lio/fabric/sdk/android/a/b/u;->cH(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 +--- 345,350 ---- + + # virtual methods + .method public a(Lio/fabric/sdk/android/a/g/d;)Z +! .locals 0 +! return-void + .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 +*** 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 +*************** +*** 117,520 **** + + # virtual methods + .method public final a(Lio/fabric/sdk/android/a/g/w;)Lorg/json/JSONObject; +! .locals 6 +! +! const/4 v0, 0x0 +! +! .line 1140 +! :try_start_0 +! new-instance v1, Ljava/util/HashMap; +! +! invoke-direct {v1}, Ljava/util/HashMap;->()V +! +! const-string v2, "build_version" +! +! .line 1141 +! iget-object v3, p1, Lio/fabric/sdk/android/a/g/w;->ban:Ljava/lang/String; +! +! invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +! +! const-string v2, "display_version" +! +! .line 1142 +! iget-object v3, p1, Lio/fabric/sdk/android/a/g/w;->bam:Ljava/lang/String; +! +! invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +! +! const-string v2, "source" +! +! .line 1143 +! iget v3, p1, Lio/fabric/sdk/android/a/g/w;->bap:I +! +! invoke-static {v3}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +! +! .line 1145 +! iget-object v2, p1, Lio/fabric/sdk/android/a/g/w;->bbp:Ljava/lang/String; +! +! if-eqz v2, :cond_0 +! +! const-string v2, "icon_hash" +! +! .line 1146 +! iget-object v3, p1, Lio/fabric/sdk/android/a/g/w;->bbp:Ljava/lang/String; +! +! invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +! +! .line 1149 +! :cond_0 +! iget-object v2, p1, Lio/fabric/sdk/android/a/g/w;->bbo:Ljava/lang/String; +! +! .line 1150 +! invoke-static {v2}, Lio/fabric/sdk/android/a/b/i;->Q(Ljava/lang/String;)Z +! +! move-result v3 +! +! if-nez v3, :cond_1 +! +! const-string v3, "instance" +! +! .line 1151 +! invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; +! +! .line 82 +! :cond_1 +! invoke-virtual {p0, v1}, Lio/fabric/sdk/android/a/g/l;->p(Ljava/util/Map;)Lio/fabric/sdk/android/a/e/d; +! +! move-result-object v2 +! :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 v3, "X-CRASHLYTICS-API-KEY" +! +! .line 1160 +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/w;->oF:Ljava/lang/String; +! +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-API-CLIENT-TYPE" +! +! const-string v4, "android" +! +! .line 1161 +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-API-CLIENT-VERSION" +! +! .line 1163 +! iget-object v4, p0, Lio/fabric/sdk/android/a/g/l;->nF:Lio/fabric/sdk/android/i; +! +! invoke-virtual {v4}, Lio/fabric/sdk/android/i;->getVersion()Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "Accept" +! +! const-string v4, "application/json" +! +! .line 1164 +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-DEVICE-MODEL" +! +! .line 1166 +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/w;->ph:Ljava/lang/String; +! +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-OS-BUILD-VERSION" +! +! .line 1167 +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/w;->bbm:Ljava/lang/String; +! +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-OS-DISPLAY-VERSION" +! +! .line 1168 +! iget-object v4, p1, Lio/fabric/sdk/android/a/g/w;->bbn:Ljava/lang/String; +! +! invoke-static {v2, v3, v4}, Lio/fabric/sdk/android/a/g/l;->a(Lio/fabric/sdk/android/a/e/d;Ljava/lang/String;Ljava/lang/String;)V +! +! const-string v3, "X-CRASHLYTICS-INSTALLATION-ID" +! +! .line 1169 +! iget-object p1, p1, Lio/fabric/sdk/android/a/g/w;->pd:Ljava/lang/String; +! +! invoke-static {v2, v3, 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;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v3, "Fabric" +! +! new-instance v4, Ljava/lang/StringBuilder; +! +! const-string v5, "Requesting settings from " +! +! invoke-direct {v4, v5}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 2100 +! iget-object v5, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 85 +! invoke-virtual {v4, v5}, 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, v3, v4}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 86 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v3, "Fabric" +! +! const-string v4, "Settings query params were: " +! +! invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String; +! +! move-result-object v1 +! +! invoke-virtual {v4, v1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v1 +! +! invoke-interface {p1, v3, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 2104 +! invoke-virtual {v2}, Lio/fabric/sdk/android/a/e/d;->xx()I +! +! move-result p1 +! +! .line 2105 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v3, "Fabric" +! +! const-string v4, "Settings result was: " +! +! invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; +! +! move-result-object v5 +! +! invoke-virtual {v4, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v4 +! +! invoke-interface {v1, v3, v4}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! const/16 v1, 0xc8 +! +! if-eq p1, v1, :cond_3 +! +! const/16 v1, 0xc9 +! +! if-eq p1, v1, :cond_3 +! +! const/16 v1, 0xca +! +! if-eq p1, v1, :cond_3 +! +! const/16 v1, 0xcb +! +! if-ne p1, v1, :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 {v2}, Lio/fabric/sdk/android/a/e/d;->xy()Ljava/lang/String; +! +! move-result-object p1 +! +! invoke-direct {p0, p1}, Lio/fabric/sdk/android/a/g/l;->do(Ljava/lang/String;)Lorg/json/JSONObject; +! +! move-result-object p1 +! +! move-object v0, p1 +! +! goto :goto_2 +! +! .line 2111 +! :cond_4 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v1, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "Failed to retrieve settings from " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! .line 3100 +! iget-object v4, p0, Lio/fabric/sdk/android/a/b/a;->url:Ljava/lang/String; +! +! .line 2111 +! invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v3 +! +! invoke-interface {p1, v1, v3}, 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 v2, :cond_5 +! +! .line 94 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v1, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "Settings request ID: " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! :goto_3 +! const-string v4, "X-REQUEST-ID" +! +! .line 95 +! invoke-virtual {v2, v4}, Lio/fabric/sdk/android/a/e/d;->dk(Ljava/lang/String;)Ljava/lang/String; +! +! move-result-object v2 +! +! invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; +! +! invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; +! +! move-result-object v2 +! +! .line 94 +! invoke-interface {p1, v1, v2}, 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 v2, v0 +! +! goto :goto_6 +! +! :catch_1 +! move-exception p1 +! +! move-object v2, v0 +! +! .line 90 +! :goto_4 +! :try_start_2 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v1 +! +! const-string v3, "Fabric" +! +! const-string v4, "Settings request failed." +! +! invoke-interface {v1, v3, v4, 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 v2, :cond_5 +! +! .line 94 +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object p1 +! +! const-string v1, "Fabric" +! +! new-instance v3, Ljava/lang/StringBuilder; +! +! const-string v4, "Settings request ID: " +! +! invoke-direct {v3, v4}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! goto :goto_3 +! +! :cond_5 +! :goto_5 +! return-object v0 +! +! :catchall_1 +! move-exception p1 +! +! :goto_6 +! if-eqz v2, :cond_6 +! +! invoke-static {}, Lio/fabric/sdk/android/c;->wx()Lio/fabric/sdk/android/l; +! +! move-result-object v0 +! +! new-instance v1, Ljava/lang/StringBuilder; +! +! const-string v3, "Settings request ID: " +! +! invoke-direct {v1, v3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V +! +! const-string v3, "X-REQUEST-ID" +! +! .line 95 +! invoke-virtual {v2, v3}, Lio/fabric/sdk/android/a/e/d;->dk(Ljava/lang/String;)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, "Fabric" +! +! .line 94 +! invoke-interface {v0, v2, v1}, Lio/fabric/sdk/android/l;->d(Ljava/lang/String;Ljava/lang/String;)V +! +! .line 97 +! :cond_6 +! throw p1 +! + return-void + .end method +--- 117,122 ---- + + # virtual methods + .method public final a(Lio/fabric/sdk/android/a/g/w;)Lorg/json/JSONObject; +! .locals 0 + return-void + .end method \ No newline at end of file diff --git a/patches/notrack/README.md b/patches/notrack/README.md index bdab1f1..9532efb 100644 --- a/patches/notrack/README.md +++ b/patches/notrack/README.md @@ -1,6 +1,6 @@ ## DisTok CutTheCord: No Track Patch -This patch disables `track` (aka `science`) endpoint and firebase tracking. +This patch disables `track` (aka `science`) endpoint, firebase tracking, fabric.io tracking and crashlytics. Fuck telemetry.