Fix camera & avatar uploading bugs

This commit is contained in:
eatsfoobars 2020-07-09 03:12:19 +03:00
parent 73727f987d
commit 1aa4259dc7

View file

@ -1,6 +1,6 @@
diff -crB from/AndroidManifest.xml to/AndroidManifest.xml diff -crB from/AndroidManifest.xml to/AndroidManifest.xml
*** from/AndroidManifest.xml 2020-07-08 23:36:34.620000000 +0300 *** from/AndroidManifest.xml 2020-07-09 03:02:02.200000000 +0300
--- to/AndroidManifest.xml 2020-07-08 23:37:00.260000000 +0300 --- to/AndroidManifest.xml 2020-07-09 03:03:51.420000000 +0300
*************** ***************
*** 1,4 **** *** 1,4 ****
! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="29" android:compileSdkVersionCodename="10" android:installLocation="auto" package="com.discord" platformBuildVersionCode="1181" platformBuildVersionName="30.1"> ! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="29" android:compileSdkVersionCodename="10" android:installLocation="auto" package="com.discord" platformBuildVersionCode="1181" platformBuildVersionName="30.1">
@ -35,7 +35,7 @@ diff -crB from/AndroidManifest.xml to/AndroidManifest.xml
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/> <uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-feature android:name="android.hardware.camera.front" android:required="false"/> <uses-feature android:name="android.hardware.camera.front" android:required="false"/>
! <application android:allowBackup="true" android:debuggable="true" android:appCategory="social" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:icon="@mipmap/ic_logo_square" android:label="@string/discord" android:largeHeap="true" android:name="com.discord.app.App" android:roundIcon="@mipmap/ic_logo_round" android:supportsRtl="true" android:theme="@style/AppTheme.Dark" android:usesCleartextTraffic="@bool/use_cleartext_traffic"> ! <application android:allowBackup="true" android:appCategory="social" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:icon="@mipmap/ic_logo_square" android:label="@string/discord" android:largeHeap="true" android:name="com.discord.app.App" android:roundIcon="@mipmap/ic_logo_round" android:supportsRtl="true" android:theme="@style/AppTheme.Dark" android:usesCleartextTraffic="@bool/use_cleartext_traffic">
<activity android:name="com.discord.samsung.SamsungConnectActivity" android:theme="@style/AppTheme.Translucent"/> <activity android:name="com.discord.samsung.SamsungConnectActivity" android:theme="@style/AppTheme.Translucent"/>
<activity android:name="com.discord.app.AppActivity" android:screenOrientation="fullUser" android:theme="@style/AppTheme.Dark" android:windowSoftInputMode="adjustResize|stateHidden"/> <activity android:name="com.discord.app.AppActivity" android:screenOrientation="fullUser" android:theme="@style/AppTheme.Dark" android:windowSoftInputMode="adjustResize|stateHidden"/>
<activity android:exported="true" android:launchMode="singleTask" android:name="com.discord.app.AppActivity$Main" android:screenOrientation="fullUser" android:theme="@style/AppTheme.Loading" android:windowSoftInputMode="adjustResize|stateHidden"> <activity android:exported="true" android:launchMode="singleTask" android:name="com.discord.app.AppActivity$Main" android:screenOrientation="fullUser" android:theme="@style/AppTheme.Loading" android:windowSoftInputMode="adjustResize|stateHidden">
@ -132,8 +132,8 @@ diff -crB from/AndroidManifest.xml to/AndroidManifest.xml
</application> </application>
! </manifest> ! </manifest>
diff -crB from/apktool.yml to/apktool.yml diff -crB from/apktool.yml to/apktool.yml
*** from/apktool.yml 2020-07-08 23:36:11.630000000 +0300 *** from/apktool.yml 2020-07-09 03:01:18.800000000 +0300
--- to/apktool.yml 2020-07-08 23:37:00.260000000 +0300 --- to/apktool.yml 2020-07-09 03:03:40.500000000 +0300
*************** ***************
*** 3224,3228 **** *** 3224,3228 ****
tag: null tag: null
@ -148,8 +148,8 @@ diff -crB from/apktool.yml to/apktool.yml
! versionCode: '1181CTCBUILD' ! versionCode: '1181CTCBUILD'
! versionName: '30.1-cutthecord-CTCBUILD' ! versionName: '30.1-cutthecord-CTCBUILD'
diff -crB from/res/values/strings.xml to/res/values/strings.xml diff -crB from/res/values/strings.xml to/res/values/strings.xml
*** from/res/values/strings.xml 2020-07-08 23:36:06.290000000 +0300 *** from/res/values/strings.xml 2020-07-09 03:01:05.750000000 +0300
--- to/res/values/strings.xml 2020-07-08 23:37:00.260000000 +0300 --- to/res/values/strings.xml 2020-07-09 03:03:40.500000000 +0300
*************** ***************
*** 1477,1483 **** *** 1477,1483 ****
<string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string> <string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string>
@ -202,8 +202,8 @@ diff -crB from/res/values/strings.xml to/res/values/strings.xml
<string name="suppress_embed_body">This will remove all embeds on this message for everyone.</string> <string name="suppress_embed_body">This will remove all embeds on this message for everyone.</string>
<string name="suppress_embed_confirm">Remove All Embeds</string> <string name="suppress_embed_confirm">Remove All Embeds</string>
diff -crB from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali diff -crB from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali
*** from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2020-07-08 23:36:08.340000000 +0300 *** from/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2020-07-09 03:01:10.650000000 +0300
--- to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2020-07-08 23:37:00.260000000 +0300 --- to/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2020-07-09 03:03:40.500000000 +0300
*************** ***************
*** 76,82 **** *** 76,82 ****
.line 3 .line 3