2019-06-22 15:30:54 +00:00
|
|
|
diff -crB com.discord-909-base/AndroidManifest.xml com.discord-909/AndroidManifest.xml
|
|
|
|
*** com.discord-909-base/AndroidManifest.xml 2019-06-08 01:35:27.235073191 +0300
|
|
|
|
--- com.discord-909/AndroidManifest.xml 2019-06-22 18:29:58.798023380 +0300
|
2019-06-07 22:35:44 +00:00
|
|
|
***************
|
|
|
|
*** 1,4 ****
|
|
|
|
! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" android:installLocation="auto" package="com.discord" platformBuildVersionCode="909" platformBuildVersionName="9.0.9">
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
|
|
|
|
--- 1,4 ----
|
|
|
|
! <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" android:installLocation="auto" package="com.cutthecord.CTCBRANCH" platformBuildVersionCode="909CTCBUILD" platformBuildVersionName="9.0.9-cutthecord-CTCBUILD">
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.faketouch" android:required="false"/>
|
|
|
|
***************
|
|
|
|
*** 21,27 ****
|
|
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
|
|
|
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
! <application android:allowBackup="false" android:appCategory="social" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:icon="@mipmap/ic_logo" android:label="@string/discord" android:largeHeap="true" android:name="com.discord.app.App" android:supportsRtl="true" android:theme="@style/AppTheme.Dark" android:usesCleartextTraffic="@bool/use_cleartext_traffic">
|
|
|
|
<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">
|
|
|
|
<intent-filter>
|
|
|
|
--- 21,27 ----
|
|
|
|
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
|
|
|
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
! <application android:allowBackup="true" android:debuggable="true" android:appCategory="social" android:appComponentFactory="androidx.core.app.CoreComponentFactory" android:icon="@mipmap/ic_logo" android:label="@string/discord" android:largeHeap="true" android:name="com.discord.app.App" android:supportsRtl="true" android:theme="@style/AppTheme.Dark" android:usesCleartextTraffic="@bool/use_cleartext_traffic">
|
|
|
|
<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">
|
|
|
|
<intent-filter>
|
|
|
|
***************
|
|
|
|
*** 96,102 ****
|
|
|
|
</receiver>
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.analytics.CampaignTrackingService"/>
|
|
|
|
<service android:name="com.discord.utilities.voice.VoiceEngineForegroundService"/>
|
|
|
|
! <provider android:authorities="com.discord.file-provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
|
|
|
|
<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="false"/>
|
|
|
|
--- 96,102 ----
|
|
|
|
</receiver>
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.analytics.CampaignTrackingService"/>
|
|
|
|
<service android:name="com.discord.utilities.voice.VoiceEngineForegroundService"/>
|
2019-06-16 20:18:01 +00:00
|
|
|
! <provider android:authorities="com.cutthecord.CTCBRANCH.file-provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
|
2019-06-07 22:35:44 +00:00
|
|
|
<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="false"/>
|
|
|
|
***************
|
|
|
|
*** 133,139 ****
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
|
|
|
! <provider android:authorities="com.discord.firebaseinitprovider" android:exported="false" android:initOrder="100" android:name="com.google.firebase.provider.FirebaseInitProvider"/>
|
|
|
|
<receiver android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementReceiver"/>
|
|
|
|
<receiver android:enabled="true" android:exported="true" android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver" android:permission="android.permission.INSTALL_PACKAGES">
|
|
|
|
<intent-filter>
|
|
|
|
--- 133,139 ----
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
<activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
|
|
|
! <provider android:authorities="top.distok.cutthecord.CTCBRANCH.firebaseinitprovider" android:exported="false" android:initOrder="100" android:name="com.google.firebase.provider.FirebaseInitProvider"/>
|
|
|
|
<receiver android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementReceiver"/>
|
|
|
|
<receiver android:enabled="true" android:exported="true" android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver" android:permission="android.permission.INSTALL_PACKAGES">
|
|
|
|
<intent-filter>
|
|
|
|
***************
|
|
|
|
*** 143,149 ****
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService"/>
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
|
|
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
|
|
|
|
! <provider android:authorities="com.discord.workmanager-init" android:directBootAware="false" android:exported="false" android:multiprocess="true" android:name="androidx.work.impl.WorkManagerInitializer"/>
|
|
|
|
<service android:directBootAware="false" android:enabled="@bool/enable_system_alarm_service_default" android:exported="false" android:name="androidx.work.impl.background.systemalarm.SystemAlarmService"/>
|
|
|
|
<service android:directBootAware="false" android:enabled="@bool/enable_system_job_service_default" android:exported="true" android:name="androidx.work.impl.background.systemjob.SystemJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
|
|
<receiver android:directBootAware="false" android:enabled="true" android:exported="false" android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"/>
|
|
|
|
--- 143,149 ----
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService"/>
|
|
|
|
<service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
|
|
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
|
|
|
|
! <provider android:authorities="top.distok.cutthecord.CTCBRANCH.workmanager-init" android:directBootAware="false" android:exported="false" android:multiprocess="true" android:name="androidx.work.impl.WorkManagerInitializer"/>
|
|
|
|
<service android:directBootAware="false" android:enabled="@bool/enable_system_alarm_service_default" android:exported="false" android:name="androidx.work.impl.background.systemalarm.SystemAlarmService"/>
|
|
|
|
<service android:directBootAware="false" android:enabled="@bool/enable_system_job_service_default" android:exported="true" android:name="androidx.work.impl.background.systemjob.SystemJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
|
|
|
<receiver android:directBootAware="false" android:enabled="true" android:exported="false" android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"/>
|
|
|
|
***************
|
|
|
|
*** 182,190 ****
|
|
|
|
<action android:name="androidx.work.impl.background.systemalarm.UpdateProxies"/>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
! <provider android:authorities="com.discord.lifecycle-process" android:exported="false" android:multiprocess="true" android:name="androidx.lifecycle.ProcessLifecycleOwnerInitializer"/>
|
|
|
|
! <provider android:authorities="com.discord.crashlyticsinitprovider" android:exported="false" android:initOrder="90" android:name="com.crashlytics.android.CrashlyticsInitProvider"/>
|
|
|
|
<meta-data android:name="firebase_crashlytics_ndk_enabled" android:value="true"/>
|
|
|
|
<meta-data android:name="com.android.vending.derived.apk.id" android:value="1"/>
|
|
|
|
</application>
|
|
|
|
! </manifest>
|
|
|
|
\ No newline at end of file
|
|
|
|
--- 182,190 ----
|
|
|
|
<action android:name="androidx.work.impl.background.systemalarm.UpdateProxies"/>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
! <provider android:authorities="top.distok.cutthecord.CTCBRANCH.lifecycle-process" android:exported="false" android:multiprocess="true" android:name="androidx.lifecycle.ProcessLifecycleOwnerInitializer"/>
|
|
|
|
! <provider android:authorities="top.distok.cutthecord.CTCBRANCH.crashlyticsinitprovider" android:exported="false" android:initOrder="90" android:name="com.crashlytics.android.CrashlyticsInitProvider"/>
|
|
|
|
<meta-data android:name="firebase_crashlytics_ndk_enabled" android:value="true"/>
|
|
|
|
<meta-data android:name="com.android.vending.derived.apk.id" android:value="1"/>
|
|
|
|
</application>
|
|
|
|
! </manifest>
|
2019-06-22 15:30:54 +00:00
|
|
|
diff -crB com.discord-909-base/apktool.yml com.discord-909/apktool.yml
|
|
|
|
*** com.discord-909-base/apktool.yml 2019-06-08 01:35:09.158332938 +0300
|
|
|
|
--- com.discord-909/apktool.yml 2019-06-22 18:29:58.798023380 +0300
|
2019-06-07 22:35:44 +00:00
|
|
|
***************
|
|
|
|
*** 308,312 ****
|
|
|
|
tag: null
|
|
|
|
version: 2.4.1-73ac0d-SNAPSHOT
|
|
|
|
versionInfo:
|
|
|
|
! versionCode: '909'
|
|
|
|
! versionName: 9.0.9
|
|
|
|
--- 308,312 ----
|
|
|
|
tag: null
|
|
|
|
version: 2.4.1-73ac0d-SNAPSHOT
|
|
|
|
versionInfo:
|
|
|
|
! versionCode: '909CTCBUILD'
|
|
|
|
! versionName: 9.0.9-cutthecord-CTCBUILD
|
2019-06-22 15:30:54 +00:00
|
|
|
diff -crB com.discord-909-base/res/values/strings.xml com.discord-909/res/values/strings.xml
|
|
|
|
*** com.discord-909-base/res/values/strings.xml 2019-06-22 18:22:05.055498095 +0300
|
|
|
|
--- com.discord-909/res/values/strings.xml 2019-06-22 18:29:58.801356731 +0300
|
2019-06-07 22:35:44 +00:00
|
|
|
***************
|
|
|
|
*** 1286,1292 ****
|
|
|
|
<string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string>
|
|
|
|
<string name="disconnect_account_title">Disconnect %1$s</string>
|
|
|
|
<string name="disconnect_from_voice">Disconnect from Voice</string>
|
|
|
|
! <string name="discord">Discord</string>
|
|
|
|
<string name="discord_desc_long">Free and secure chat for gamers, works on both your desktop and your phone.</string>
|
|
|
|
<string name="discord_desc_short">Team voice & text chat</string>
|
|
|
|
<string name="discord_gg">discord.gg/</string>
|
|
|
|
--- 1286,1292 ----
|
|
|
|
<string name="disconnect_account_body">Disconnecting your account might remove you from servers you joined via this account.</string>
|
|
|
|
<string name="disconnect_account_title">Disconnect %1$s</string>
|
|
|
|
<string name="disconnect_from_voice">Disconnect from Voice</string>
|
|
|
|
! <string name="discord">CTCNAME</string>
|
|
|
|
<string name="discord_desc_long">Free and secure chat for gamers, works on both your desktop and your phone.</string>
|
|
|
|
<string name="discord_desc_short">Team voice & text chat</string>
|
|
|
|
<string name="discord_gg">discord.gg/</string>
|
|
|
|
***************
|
|
|
|
*** 3015,3021 ****
|
|
|
|
<string name="notification_reply_failed">Failed to reply to %1$s</string>
|
|
|
|
<string name="notification_reply_success">Replied to %1$s</string>
|
|
|
|
<string name="notification_settings">Notification Settings</string>
|
|
|
|
! <string name="notification_title_discord">Discord</string>
|
|
|
|
<string name="notification_title_start_game">"Somebody Playin'"</string>
|
|
|
|
<string name="notifications">Notifications</string>
|
|
|
|
<string name="nsfw_accept">Continue</string>
|
|
|
|
--- 3015,3021 ----
|
|
|
|
<string name="notification_reply_failed">Failed to reply to %1$s</string>
|
|
|
|
<string name="notification_reply_success">Replied to %1$s</string>
|
|
|
|
<string name="notification_settings">Notification Settings</string>
|
|
|
|
! <string name="notification_title_discord">CTCNAME</string>
|
|
|
|
<string name="notification_title_start_game">"Somebody Playin'"</string>
|
|
|
|
<string name="notifications">Notifications</string>
|
|
|
|
<string name="nsfw_accept">Continue</string>
|
2019-06-22 15:30:54 +00:00
|
|
|
***************
|
|
|
|
*** 4068,4074 ****
|
|
|
|
<string name="sub_enabled_servers">Sub Enabled Servers</string>
|
|
|
|
<string name="subscriber_information">Subscriber Information</string>
|
|
|
|
<string name="suggestions">Suggestions</string>
|
|
|
|
! <string name="support">Support</string>
|
|
|
|
<string name="suppressed">Suppressed</string>
|
|
|
|
<string name="suppressed_afk_body">"It seems you've gone AFK on us. We've went ahead and moved you to the AFK channel."</string>
|
|
|
|
<string name="suppressed_afk_title">Hello, anyone there?</string>
|
|
|
|
--- 4068,4074 ----
|
|
|
|
<string name="sub_enabled_servers">Sub Enabled Servers</string>
|
|
|
|
<string name="subscriber_information">Subscriber Information</string>
|
|
|
|
<string name="suggestions">Suggestions</string>
|
|
|
|
! <string name="support">CutTheCord Repo</string>
|
|
|
|
<string name="suppressed">Suppressed</string>
|
|
|
|
<string name="suppressed_afk_body">"It seems you've gone AFK on us. We've went ahead and moved you to the AFK channel."</string>
|
|
|
|
<string name="suppressed_afk_title">Hello, anyone there?</string>
|
|
|
|
diff -crB com.discord-909-base/smali/com/discord/app/e.smali com.discord-909/smali/com/discord/app/e.smali
|
|
|
|
*** com.discord-909-base/smali/com/discord/app/e.smali 2019-06-22 18:24:50.793046000 +0300
|
|
|
|
--- com.discord-909/smali/com/discord/app/e.smali 2019-06-22 18:26:28.780233673 +0300
|
|
|
|
***************
|
|
|
|
*** 53,59 ****
|
|
|
|
.line 15
|
|
|
|
sput-object v0, Lcom/discord/app/e;->sH:Ljava/lang/String;
|
|
|
|
|
|
|
|
! const-string v0, "https://support.discordapp.com"
|
|
|
|
|
|
|
|
.line 16
|
|
|
|
sput-object v0, Lcom/discord/app/e;->sI:Ljava/lang/String;
|
|
|
|
--- 53,59 ----
|
|
|
|
.line 15
|
|
|
|
sput-object v0, Lcom/discord/app/e;->sH:Ljava/lang/String;
|
|
|
|
|
|
|
|
! const-string v0, "https://gitdab.com/distok/cutthecord"
|
|
|
|
|
|
|
|
.line 16
|
|
|
|
sput-object v0, Lcom/discord/app/e;->sI:Ljava/lang/String;
|
|
|
|
diff -crB com.discord-909-base/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali com.discord-909/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali
|
|
|
|
*** com.discord-909-base/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-08 01:35:06.558322354 +0300
|
|
|
|
--- com.discord-909/smali/com/discord/utilities/captcha/CaptchaHelper$showCaptchaHelpDialog$$inlined$let$lambda$1.smali 2019-06-22 18:29:58.804690082 +0300
|
2019-06-07 22:35:44 +00:00
|
|
|
***************
|
|
|
|
*** 77,83 ****
|
|
|
|
|
|
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
|
|
|
|
! const-string v1, "https://discordapp.com/app"
|
|
|
|
|
|
|
|
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
|
|
|
|
--- 77,83 ----
|
|
|
|
|
|
|
|
new-instance v0, Landroid/content/Intent;
|
|
|
|
|
|
|
|
! const-string v1, "https://gitdab.com/distok/cutthecord/issues/22#issuecomment-82"
|
|
|
|
|
|
|
|
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
|