forked from distok/cutthecord
Add in necessary-831 and disable-mobileindicator patches
This commit is contained in:
parent
4220a0851e
commit
ed6361037e
4 changed files with 61 additions and 0 deletions
19
patches/disable-mobileindicator/830.patch
Normal file
19
patches/disable-mobileindicator/830.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
diff -crB -x dist com.discord-830/smali/com/discord/utilities/analytics/AnalyticsUtils.smali com.discord-830-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali
|
||||
*** com.discord-830/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:15:30.660919428 +0300
|
||||
--- com.discord-830-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 17:21:29.052584838 +0300
|
||||
***************
|
||||
*** 181,187 ****
|
||||
|
||||
const-string v1, "browser"
|
||||
|
||||
! const-string v2, "Discord Android"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
|
||||
--- 181,187 ----
|
||||
|
||||
const-string v1, "browser"
|
||||
|
||||
! const-string v2, "Discord Client"
|
||||
|
||||
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
20
patches/disable-mobileindicator/831.patch
Normal file
20
patches/disable-mobileindicator/831.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff -crB -x dist com.discord-831/smali/com/discord/utilities/analytics/AnalyticsUtils.smali com.discord-831-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali
|
||||
*** com.discord-831/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:12:19.106603636 +0300
|
||||
--- com.discord-831-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:12:36.296691801 +0300
|
||||
***************
|
||||
*** 197,203 ****
|
||||
|
||||
const-string v1, "browser"
|
||||
|
||||
! const-string v2, "Discord Android"
|
||||
|
||||
.line 87
|
||||
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
||||
--- 197,203 ----
|
||||
|
||||
const-string v1, "browser"
|
||||
|
||||
! const-string v2, "Discord Client"
|
||||
|
||||
.line 87
|
||||
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
|
9
patches/disable-mobileindicator/README.md
Normal file
9
patches/disable-mobileindicator/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
## DisTok CutTheCord: Disable Mobile Indicator Patch
|
||||
|
||||
#### Bugs / Side effects
|
||||
- CRITICAL: Push notifications are broken
|
||||
|
||||
#### Available and tested on:
|
||||
- 8.3.0
|
||||
- 8.3.1
|
||||
|
13
patches/necessary/831.patch
Normal file
13
patches/necessary/831.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -crB -x dist com.discord-831/res/values/public.xml com.discord-831-patched/res/values/public.xml
|
||||
*** com.discord-831/res/values/public.xml 2019-01-18 19:05:56.057972374 +0300
|
||||
--- com.discord-831-patched/res/values/public.xml 2019-01-18 17:26:29.150818524 +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 ----
|
Loading…
Reference in a new issue