91.7 - Beta (91107)

This commit is contained in:
Juby210 2021-09-09 09:49:18 +02:00
parent f122e8a310
commit a21a7ca3c9
6 changed files with 22 additions and 15 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId 'com.discord'
minSdkVersion 21
targetSdkVersion 29
versionCode 91106
versionName "91.6 - Beta"
versionCode 91107
versionName "91.7 - Beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="91106" android:versionName="91.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="91107" android:versionName="91.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="29"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

File diff suppressed because one or more lines are too long

View File

@ -19,7 +19,7 @@ import kotlin.coroutines.Continuation;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* compiled from: RepresentativeColors.kt */
@e(c = "com.discord.utilities.colors.RepresentativeColors$handleBitmap$1", f = "RepresentativeColors.kt", l = {55}, m = "invokeSuspend")
@e(c = "com.discord.utilities.colors.RepresentativeColors$handleBitmap$1", f = "RepresentativeColors.kt", l = {59}, m = "invokeSuspend")
public final class RepresentativeColors$handleBitmap$1 extends k implements Function2<CoroutineScope, Continuation<? super Unit>, Object> {
public final /* synthetic */ Bitmap $bitmap;
public final /* synthetic */ Object $id;
@ -48,21 +48,28 @@ public final class RepresentativeColors$handleBitmap$1 extends k implements Func
return ((RepresentativeColors$handleBitmap$1) create(coroutineScope, continuation)).invokeSuspend(Unit.a);
}
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x00ac: APUT
/* JADX DEBUG: Can't convert new array creation: APUT found in different block: 0x00ba: APUT
(r4v1 kotlin.Pair[])
(3 ??[int, float, short, byte, char])
(wrap: kotlin.Pair : 0x00a8: INVOKE (r3v7 kotlin.Pair) = ("url"), (r3v6 java.lang.String) type: STATIC call: d0.o.to(java.lang.Object, java.lang.Object):kotlin.Pair)
(wrap: kotlin.Pair : 0x00b6: INVOKE (r3v7 kotlin.Pair) = ("url"), (r3v6 java.lang.String) type: STATIC call: d0.o.to(java.lang.Object, java.lang.Object):kotlin.Pair)
*/
@Override // d0.w.i.a.a
public final Object invokeSuspend(Object obj) {
int i;
int i2;
Object coroutine_suspended = c.getCOROUTINE_SUSPENDED();
int i2 = this.label;
if (i2 == 0) {
int i3 = this.label;
if (i3 == 0) {
l.throwOnFailure(obj);
if (RepresentativeColors.access$getRepresentativeColors$p(this.this$0).containsKey(this.$id)) {
return Unit.a;
}
if (this.$bitmap.isRecycled()) {
i = RepresentativeColors.access$getBLURPLE$cp();
RepresentativeColors.access$getRepresentativeColors$p(this.this$0).put(this.$id, b.boxInt(i));
RepresentativeColors.access$getRepresentativeColorsSubject$p(this.this$0).onNext(RepresentativeColors.access$getRepresentativeColors$p(this.this$0));
return Unit.a;
}
Bitmap copy = this.$bitmap.copy(Bitmap.Config.ARGB_8888, false);
RepresentativeColors representativeColors = this.this$0;
m.checkNotNullExpressionValue(copy, "copiedBitmap");
@ -71,16 +78,16 @@ public final class RepresentativeColors$handleBitmap$1 extends k implements Func
if (obj == coroutine_suspended) {
return coroutine_suspended;
}
} else if (i2 == 1) {
} else if (i3 == 1) {
l.throwOnFailure(obj);
} else {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
RepresentativeColors.RepresentativeColorResult representativeColorResult = (RepresentativeColors.RepresentativeColorResult) obj;
if (representativeColorResult instanceof RepresentativeColors.RepresentativeColorResult.Success) {
i = ((RepresentativeColors.RepresentativeColorResult.Success) representativeColorResult).getColor();
i2 = ((RepresentativeColors.RepresentativeColorResult.Success) representativeColorResult).getColor();
} else if (representativeColorResult instanceof RepresentativeColors.RepresentativeColorResult.Failure) {
i = RepresentativeColors.access$getBLURPLE$cp();
i2 = RepresentativeColors.access$getBLURPLE$cp();
} else {
throw new NoWhenBranchMatchedException();
}
@ -98,6 +105,7 @@ public final class RepresentativeColors$handleBitmap$1 extends k implements Func
pairArr[3] = o.to("url", str);
appLog.e("Failed to get representative color for entity", exception, h0.mapOf(pairArr));
}
i = i2;
RepresentativeColors.access$getRepresentativeColors$p(this.this$0).put(this.$id, b.boxInt(i));
RepresentativeColors.access$getRepresentativeColorsSubject$p(this.this$0).onNext(RepresentativeColors.access$getRepresentativeColors$p(this.this$0));
return Unit.a;

View File

@ -323,7 +323,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 + " - 91.6 - Beta (91106)");
textView.setText(string + " - 91.7 - Beta (91107)");
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);

View File

@ -1412,7 +1412,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_2131887492_com_crashlytics_android_build_id">e4efbea5bf5547cca22c5a6e17efc984</string>
<string name="res_2131887492_com_crashlytics_android_build_id">77bc8a79448f4c16a211e5df1bc0e95f</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>