forked from Juby210/discord-jadx
101.7 - Beta (101107)
This commit is contained in:
parent
e5dc602af9
commit
34f6811284
5 changed files with 12 additions and 6 deletions
|
@ -10,8 +10,8 @@ android {
|
||||||
applicationId 'com.discord'
|
applicationId 'com.discord'
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 101106
|
versionCode 101107
|
||||||
versionName "101.6 - Beta"
|
versionName "101.7 - Beta"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="101106" android:versionName="101.6 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="101107" android:versionName="101.7 - Beta" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
<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.camera.autofocus" android:required="false"/>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package com.discord.widgets.chat.list;
|
package com.discord.widgets.chat.list;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
import android.os.Build;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -418,6 +419,10 @@ public final class InlineMediaView extends CardView implements View.OnAttachStat
|
||||||
return viewParams3 != null ? viewParams3.getAutoPlayGifs() : this.storeUserSettings.getIsAutoPlayGifsEnabled();
|
return viewParams3 != null ? viewParams3.getAutoPlayGifs() : this.storeUserSettings.getIsAutoPlayGifsEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private final boolean shouldAutoPlayGIFVs() {
|
||||||
|
return Build.VERSION.SDK_INT <= 30;
|
||||||
|
}
|
||||||
|
|
||||||
private final void updateUI(RenderableEmbedMedia renderableEmbedMedia, String str, EmbedType embedType, Integer num, Integer num2, String str2) {
|
private final void updateUI(RenderableEmbedMedia renderableEmbedMedia, String str, EmbedType embedType, Integer num, Integer num2, String str2) {
|
||||||
resetViews();
|
resetViews();
|
||||||
this.compositeSubscription.unsubscribe();
|
this.compositeSubscription.unsubscribe();
|
||||||
|
@ -462,9 +467,10 @@ public final class InlineMediaView extends CardView implements View.OnAttachStat
|
||||||
m.checkNotNullExpressionValue(J, "eventSubject.onBackpressureBuffer()");
|
m.checkNotNullExpressionValue(J, "eventSubject.onBackpressureBuffer()");
|
||||||
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(J, this, null, 2, null), InlineMediaView.class, (Context) null, new InlineMediaView$updateUI$3(this), (Function1) null, (Function0) null, (Function0) null, new InlineMediaView$updateUI$4(this), 58, (Object) null);
|
ObservableExtensionsKt.appSubscribe$default(ObservableExtensionsKt.ui$default(J, this, null, 2, null), InlineMediaView.class, (Context) null, new InlineMediaView$updateUI$3(this), (Function1) null, (Function0) null, (Function0) null, new InlineMediaView$updateUI$4(this), 58, (Object) null);
|
||||||
if (embedType == embedType2) {
|
if (embedType == embedType2) {
|
||||||
|
boolean shouldAutoPlayGIFVs = shouldAutoPlayGIFVs();
|
||||||
PlayerView playerView2 = this.binding.f;
|
PlayerView playerView2 = this.binding.f;
|
||||||
m.checkNotNullExpressionValue(playerView2, "binding.inlineMediaPlayerView");
|
m.checkNotNullExpressionValue(playerView2, "binding.inlineMediaPlayerView");
|
||||||
AppMediaPlayer.b(appMediaPlayer, O, true, true, 0, playerView2, null, 40);
|
AppMediaPlayer.b(appMediaPlayer, O, shouldAutoPlayGIFVs, true, 0, playerView2, null, 40);
|
||||||
appMediaPlayer.d(0.0f);
|
appMediaPlayer.d(0.0f);
|
||||||
} else {
|
} else {
|
||||||
appMediaPlayer.d(1.0f);
|
appMediaPlayer.d(1.0f);
|
||||||
|
|
|
@ -346,7 +346,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
|
||||||
TextView textView = binding.f;
|
TextView textView = binding.f;
|
||||||
m.checkNotNullExpressionValue(textView, "appInfoHeader");
|
m.checkNotNullExpressionValue(textView, "appInfoHeader");
|
||||||
String string = getString(R.string.app_information);
|
String string = getString(R.string.app_information);
|
||||||
textView.setText(string + " - 101.6 - Beta (101106)");
|
textView.setText(string + " - 101.7 - Beta (101107)");
|
||||||
binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
|
binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
|
||||||
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
|
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
|
||||||
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);
|
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);
|
||||||
|
|
|
@ -1475,7 +1475,7 @@
|
||||||
<string name="color_picker_title">Select a color</string>
|
<string name="color_picker_title">Select a color</string>
|
||||||
<string name="color_picker_transparency">Transparency</string>
|
<string name="color_picker_transparency">Transparency</string>
|
||||||
<string name="color_picker_use_default">Use Default</string>
|
<string name="color_picker_use_default">Use Default</string>
|
||||||
<string name="res_2131887555_com_crashlytics_android_build_id">7fda0ac2434f4424ba121d532be29be8</string>
|
<string name="res_2131887555_com_crashlytics_android_build_id">b863f8696c324e8aaa5877a8ec4cff2a</string>
|
||||||
<string name="coming_soon">Coming Soon</string>
|
<string name="coming_soon">Coming Soon</string>
|
||||||
<string name="command_accessibility_desc_app_header_item">Slash command application {applicationName}</string>
|
<string name="command_accessibility_desc_app_header_item">Slash command application {applicationName}</string>
|
||||||
<string name="command_accessibility_desc_app_item">{applicationName} application</string>
|
<string name="command_accessibility_desc_app_item">{applicationName} application</string>
|
||||||
|
|
Loading…
Reference in a new issue