102.12 - Beta (102112)
This commit is contained in:
parent
8f8e2cbb05
commit
f0543e48fd
5 changed files with 17 additions and 17 deletions
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 30
|
||||
versionCode 102111
|
||||
versionName "102.11 - Beta"
|
||||
versionCode 102112
|
||||
versionName "102.12 - Beta"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="102111" android:versionName="102.11 - 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="102112" android:versionName="102.12 - 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-feature android:name="android.hardware.camera" android:required="false"/>
|
||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||
|
|
|
@ -404,23 +404,23 @@ public final class InlineMediaView extends CardView implements View.OnAttachStat
|
|||
}
|
||||
|
||||
private final boolean shouldAutoPlay() {
|
||||
EmbedResourceUtils embedResourceUtils = EmbedResourceUtils.INSTANCE;
|
||||
ViewParams viewParams = this.viewParams;
|
||||
String str = null;
|
||||
EmbedType embedType = viewParams != null ? viewParams.getEmbedType() : null;
|
||||
if ((viewParams != null ? viewParams.getEmbedType() : null) == EmbedType.GIFV && Build.VERSION.SDK_INT > 30) {
|
||||
return false;
|
||||
}
|
||||
EmbedResourceUtils embedResourceUtils = EmbedResourceUtils.INSTANCE;
|
||||
ViewParams viewParams2 = this.viewParams;
|
||||
if (viewParams2 != null) {
|
||||
str = viewParams2.getProgressiveMediaUri();
|
||||
EmbedType embedType = viewParams2 != null ? viewParams2.getEmbedType() : null;
|
||||
ViewParams viewParams3 = this.viewParams;
|
||||
if (viewParams3 != null) {
|
||||
str = viewParams3.getProgressiveMediaUri();
|
||||
}
|
||||
if (!embedResourceUtils.isAnimated(embedType, str)) {
|
||||
return true;
|
||||
}
|
||||
ViewParams viewParams3 = this.viewParams;
|
||||
return viewParams3 != null ? viewParams3.getAutoPlayGifs() : this.storeUserSettings.getIsAutoPlayGifsEnabled();
|
||||
}
|
||||
|
||||
private final boolean shouldAutoPlayGIFVs() {
|
||||
return Build.VERSION.SDK_INT <= 30;
|
||||
ViewParams viewParams4 = this.viewParams;
|
||||
return viewParams4 != null ? viewParams4.getAutoPlayGifs() : this.storeUserSettings.getIsAutoPlayGifsEnabled();
|
||||
}
|
||||
|
||||
private final void updateUI(RenderableEmbedMedia renderableEmbedMedia, String str, EmbedType embedType, Integer num, Integer num2, String str2) {
|
||||
|
@ -467,10 +467,10 @@ public final class InlineMediaView extends CardView implements View.OnAttachStat
|
|||
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);
|
||||
if (embedType == embedType2) {
|
||||
boolean shouldAutoPlayGIFVs = shouldAutoPlayGIFVs();
|
||||
boolean shouldAutoPlay = shouldAutoPlay();
|
||||
PlayerView playerView2 = this.binding.f;
|
||||
m.checkNotNullExpressionValue(playerView2, "binding.inlineMediaPlayerView");
|
||||
AppMediaPlayer.b(appMediaPlayer, O, shouldAutoPlayGIFVs, true, 0, playerView2, null, 40);
|
||||
AppMediaPlayer.b(appMediaPlayer, O, shouldAutoPlay, true, 0, playerView2, null, 40);
|
||||
appMediaPlayer.d(0.0f);
|
||||
} else {
|
||||
appMediaPlayer.d(1.0f);
|
||||
|
|
|
@ -346,7 +346,7 @@ public final class WidgetSettings extends AppFragment implements OnTabSelectedLi
|
|||
TextView textView = binding.f;
|
||||
m.checkNotNullExpressionValue(textView, "appInfoHeader");
|
||||
String string = getString(R.string.app_information);
|
||||
textView.setText(string + " - 102.11 - Beta (102111)");
|
||||
textView.setText(string + " - 102.12 - Beta (102112)");
|
||||
binding.B.setOnClickListener(new WidgetSettings$onViewBound$$inlined$with$lambda$3(this));
|
||||
binding.u.setOnClickListener(WidgetSettings$onViewBound$1$5.INSTANCE);
|
||||
binding.q.setOnClickListener(WidgetSettings$onViewBound$1$6.INSTANCE);
|
||||
|
|
|
@ -1505,7 +1505,7 @@
|
|||
<string name="color_picker_title">Select a color</string>
|
||||
<string name="color_picker_transparency">Transparency</string>
|
||||
<string name="color_picker_use_default">Use Default</string>
|
||||
<string name="res_2131887585_com_crashlytics_android_build_id">c20e331be24e4e2eb9b604159ec95624</string>
|
||||
<string name="res_2131887585_com_crashlytics_android_build_id">8d6123f10d1745fd8d88c92a8c23b4d6</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_item">{applicationName} application</string>
|
||||
|
|
Loading…
Reference in a new issue