99.5 - Alpha (99205)
This commit is contained in:
parent
6614aada9c
commit
549b668b5e
1433 changed files with 20118 additions and 19235 deletions
|
@ -10,8 +10,8 @@ android {
|
|||
applicationId 'com.discord'
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
versionCode 99203
|
||||
versionName "99.3 - Alpha"
|
||||
versionCode 99205
|
||||
versionName "99.5 - Alpha"
|
||||
|
||||
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="99203" android:versionName="99.3 - Alpha" 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="99205" android:versionName="99.5 - Alpha" 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"/>
|
||||
|
|
|
@ -218,7 +218,7 @@ public final class b {
|
|||
m.checkNotNullParameter(objArr, "formatArgs");
|
||||
m.checkNotNullParameter(renderContext, "renderContext");
|
||||
Map<String, String> map = renderContext.a;
|
||||
List<? extends Object> list = renderContext.f2506c;
|
||||
List<? extends Object> list = renderContext.f2507c;
|
||||
boolean z2 = true;
|
||||
if (!map.isEmpty()) {
|
||||
charSequence = a.replace(charSequence, new f(map));
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class c extends Node.a<RenderContext> {
|
|||
spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33);
|
||||
}
|
||||
}
|
||||
Hook.a aVar2 = hook != null ? hook.f2505c : null;
|
||||
Hook.a aVar2 = hook != null ? hook.f2506c : null;
|
||||
if (aVar2 != null) {
|
||||
aVar = aVar2;
|
||||
} else if (URLUtil.isValidUrl(this.a)) {
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class b extends o implements Function1<OverlayBubbleWrap, Boolean>
|
|||
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
|
||||
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
|
||||
try {
|
||||
this.this$0.f2554r.removeViewImmediate(overlayBubbleWrap2);
|
||||
this.this$0.f2555r.removeViewImmediate(overlayBubbleWrap2);
|
||||
this.this$0.l.invoke(overlayBubbleWrap2);
|
||||
z2 = true;
|
||||
} catch (IllegalArgumentException unused) {
|
||||
|
|
|
@ -77,8 +77,8 @@ public final class d implements View.OnClickListener {
|
|||
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
|
||||
this.i.a(overlayBubbleWrap);
|
||||
this.k.setBubbleTouchable(false);
|
||||
this.i.f2554r.removeViewImmediate(this.k);
|
||||
WindowManager windowManager = this.i.f2554r;
|
||||
this.i.f2555r.removeViewImmediate(this.k);
|
||||
WindowManager windowManager = this.i.f2555r;
|
||||
OverlayBubbleWrap overlayBubbleWrap2 = this.k;
|
||||
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ public final /* synthetic */ class a0 extends k implements Function1<Pair<? exte
|
|||
Pair<? extends Map<String, ? extends EncodeQuality>, ? extends RtcConnection.State> pair2 = pair;
|
||||
m.checkNotNullParameter(pair2, "p1");
|
||||
RtcConnection rtcConnection = (RtcConnection) this.receiver;
|
||||
if (rtcConnection.f2571a0) {
|
||||
if (rtcConnection.f2572a0) {
|
||||
Map map = (Map) pair2.component1();
|
||||
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
|
||||
rtcConnection.U.i(rtcConnection.k, "local MediaSinkWants: " + map, null);
|
||||
|
|
|
@ -42,7 +42,7 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
RtcConnection rtcConnection = this.a;
|
||||
rtcConnection.p.succeed();
|
||||
rtcConnection.q = transportInfo;
|
||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
|
||||
if (mediaEngineConnection2 != null) {
|
||||
d dVar = new d(1000, rtcConnection.U, mediaEngineConnection2, new VoiceQuality(), rtcConnection.A, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
|
||||
dVar.a.clear();
|
||||
|
@ -54,9 +54,9 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
rtcConnection.n = dVar;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
if (transportInfo.f2593c.ordinal() != 0) {
|
||||
if (transportInfo.f2594c.ordinal() != 0) {
|
||||
StringBuilder O = c.d.b.a.a.O("Unsupported protocol: ");
|
||||
O.append(transportInfo.f2593c);
|
||||
O.append(transportInfo.f2594c);
|
||||
O.append('.');
|
||||
RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12);
|
||||
} else {
|
||||
|
@ -91,7 +91,7 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
||||
m.checkNotNullParameter(connectionState, "connectionState");
|
||||
RtcConnection rtcConnection = this.a;
|
||||
RtcConnection.StateChange stateChange = rtcConnection.f2574r;
|
||||
RtcConnection.StateChange stateChange = rtcConnection.f2575r;
|
||||
rtcConnection.r("Connection state change: " + connectionState);
|
||||
int ordinal = connectionState.ordinal();
|
||||
if (ordinal == 0) {
|
||||
|
@ -106,10 +106,10 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
throw new NoWhenBranchMatchedException();
|
||||
}
|
||||
rtcConnection.u(state);
|
||||
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2574r.a == RtcConnection.State.h.a) {
|
||||
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2575r.a == RtcConnection.State.h.a) {
|
||||
rtcConnection.q();
|
||||
}
|
||||
if (rtcConnection.f2574r.a == RtcConnection.State.f.a) {
|
||||
if (rtcConnection.f2575r.a == RtcConnection.State.f.a) {
|
||||
rtcConnection.C = Long.valueOf(rtcConnection.V.currentTimeMillis());
|
||||
rtcConnection.I = true;
|
||||
Map<String, Object> mutableMapOf = h0.mutableMapOf(c0.o.to("connect_count", Integer.valueOf(rtcConnection.D)));
|
||||
|
@ -123,7 +123,7 @@ public final class b0 implements MediaEngineConnection.d {
|
|||
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
|
||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
||||
if (mediaSinkWantsManager != null) {
|
||||
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2575w));
|
||||
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2576w));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ public final class h0 implements a.d {
|
|||
public void a(String str, String str2) {
|
||||
m.checkNotNullParameter(str, "audioCodec");
|
||||
m.checkNotNullParameter(str2, "videoCodec");
|
||||
MediaEngineConnection mediaEngineConnection = this.a.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.r(str, str2);
|
||||
}
|
||||
|
@ -52,11 +52,11 @@ public final class h0 implements a.d {
|
|||
RtcConnection rtcConnection = this.a;
|
||||
Objects.requireNonNull(rtcConnection);
|
||||
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.destroy();
|
||||
}
|
||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2576w;
|
||||
if (mediaEngineConnection2 != null) {
|
||||
mediaEngineConnection2.o(rtcConnection.M);
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public final class h0 implements a.d {
|
|||
if ((num != null && num.intValue() == 1000) || z4) {
|
||||
z3 = false;
|
||||
}
|
||||
if (!(rtcConnection.f2574r.a instanceof RtcConnection.State.d)) {
|
||||
if (!(rtcConnection.f2575r.a instanceof RtcConnection.State.d)) {
|
||||
rtcConnection.n(z3, str);
|
||||
d dVar = rtcConnection.n;
|
||||
if (dVar != null) {
|
||||
|
@ -76,7 +76,7 @@ public final class h0 implements a.d {
|
|||
rtcConnection.n = null;
|
||||
rtcConnection.o = false;
|
||||
}
|
||||
rtcConnection.f2578z = 0;
|
||||
rtcConnection.f2579z = 0;
|
||||
rtcConnection.C = null;
|
||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G;
|
||||
if (mediaSinkWantsManager != null) {
|
||||
|
@ -93,7 +93,7 @@ public final class h0 implements a.d {
|
|||
public void c(String str, List<Integer> list) {
|
||||
m.checkNotNullParameter(str, "mode");
|
||||
m.checkNotNullParameter(list, "secretKey");
|
||||
MediaEngineConnection mediaEngineConnection = this.a.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection = this.a.f2576w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.t(str, u.toIntArray(list));
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ public final class h0 implements a.d {
|
|||
n nVar = cVar2.a;
|
||||
int max = Math.max((int) (((double) j0Var.f212c.a) * nVar.f224c), j0Var.d);
|
||||
int max2 = Math.max((int) (((double) j0Var.f212c.b) * nVar.f224c), j0Var.d);
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.b, nVar.d, nVar.e));
|
||||
return;
|
||||
|
@ -261,7 +261,7 @@ public final class h0 implements a.d {
|
|||
r.removeFirst(rtcConnection.u);
|
||||
}
|
||||
if (j > ((long) 500)) {
|
||||
rtcConnection.f2578z++;
|
||||
rtcConnection.f2579z++;
|
||||
}
|
||||
double d = (double) j;
|
||||
Objects.requireNonNull(RtcConnection.Quality.Companion);
|
||||
|
@ -372,7 +372,7 @@ public final class h0 implements a.d {
|
|||
return;
|
||||
}
|
||||
g.l(rtcConnection.M);
|
||||
rtcConnection.f2575w = g;
|
||||
rtcConnection.f2576w = g;
|
||||
}
|
||||
|
||||
@Override // c.a.q.n0.a.d
|
||||
|
@ -391,7 +391,7 @@ public final class h0 implements a.d {
|
|||
public void onSpeaking(long j, int i, boolean z2) {
|
||||
RtcConnection rtcConnection = this.a;
|
||||
if (j != rtcConnection.S) {
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2575w;
|
||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2576w;
|
||||
if (mediaEngineConnection != null) {
|
||||
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ public final class j extends o implements Function0<Unit> {
|
|||
Long l2 = this.$userId;
|
||||
if (l2 == null) {
|
||||
this.this$0.e = null;
|
||||
} else if (this.this$0.f2569c.contains(l2)) {
|
||||
} else if (this.this$0.f2570c.contains(l2)) {
|
||||
MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0;
|
||||
Long l3 = this.$userId;
|
||||
mediaSinkWantsManager2.e = l3;
|
||||
|
|
|
@ -19,8 +19,8 @@ public final class f extends ContentObserver {
|
|||
super.onChange(z2);
|
||||
DiscordAudioManager discordAudioManager = this.a;
|
||||
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
||||
discordAudioManager.f2583w = streamVolume;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2585y;
|
||||
discordAudioManager.f2584w = streamVolume;
|
||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2586y;
|
||||
serializedSubject.j.onNext(Integer.valueOf(streamVolume));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,10 +96,10 @@ public final class l extends o implements Function0<Unit> {
|
|||
}
|
||||
if (arrayList2.isEmpty()) {
|
||||
this.this$0.b.remove(Long.valueOf(this.$userId));
|
||||
this.this$0.f2569c.remove(Long.valueOf(this.$userId));
|
||||
this.this$0.f2570c.remove(Long.valueOf(this.$userId));
|
||||
} else {
|
||||
this.this$0.b.put(Long.valueOf(this.$userId), arrayList2);
|
||||
this.this$0.f2569c.add(Long.valueOf(this.$userId));
|
||||
this.this$0.f2570c.add(Long.valueOf(this.$userId));
|
||||
}
|
||||
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : c0.t.m.listOf(String.valueOf(this.$userId)));
|
||||
return Unit.a;
|
||||
|
|
|
@ -218,7 +218,7 @@ public final class b extends ScreenCapturerAndroid {
|
|||
if (thumbnailEmitter != null) {
|
||||
synchronized (thumbnailEmitter) {
|
||||
thumbnailEmitter.d.release();
|
||||
thumbnailEmitter.f2596c.release();
|
||||
thumbnailEmitter.f2597c.release();
|
||||
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b);
|
||||
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
||||
}
|
||||
|
|
|
@ -288,7 +288,7 @@ public final class e implements MediaEngineConnection {
|
|||
Connection connection2 = connection;
|
||||
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2595c);
|
||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2596c);
|
||||
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
||||
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
||||
connection2.setVADUseKrisp(this.$inputModeOptions.e);
|
||||
|
@ -473,7 +473,7 @@ public final class e implements MediaEngineConnection {
|
|||
Connection connection2 = connection;
|
||||
c0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||
MediaEngineConnection.b bVar = this.$quality;
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2594c, bVar.d, this.$frameRate);
|
||||
connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2595c, bVar.d, this.$frameRate);
|
||||
return Unit.a;
|
||||
}
|
||||
}
|
||||
|
@ -610,7 +610,7 @@ public final class e implements MediaEngineConnection {
|
|||
this.d = h0.mutableMapOf(c0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
||||
int i2 = aVar.a;
|
||||
String str = aVar.b;
|
||||
int i3 = aVar.f2592c;
|
||||
int i3 = aVar.f2593c;
|
||||
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
||||
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
||||
Connection connectToServer = discord.connectToServer(i2, j2, str, i3, (StreamParameters[]) array, new d(this));
|
||||
|
|
|
@ -418,7 +418,7 @@ public final class k implements MediaEngine {
|
|||
discord2.setEchoCancellation(z2, false, new m(kVar2));
|
||||
}
|
||||
k kVar3 = this.this$0;
|
||||
boolean z4 = voiceConfig.f2591c;
|
||||
boolean z4 = voiceConfig.f2592c;
|
||||
Discord discord3 = kVar3.f;
|
||||
if (discord3 != null) {
|
||||
discord3.setNoiseSuppression(z4);
|
||||
|
|
|
@ -38,7 +38,7 @@ public final class m implements Discord.AecConfigCallback {
|
|||
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
|
||||
kVar.i = null;
|
||||
if (echoCancellationInfo != null) {
|
||||
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2590c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2591c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||
d.e1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
||||
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
||||
}
|
||||
|
|
|
@ -640,7 +640,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
|||
aVar.a(1, TimeUnit.MINUTES);
|
||||
SSLSocketFactory sSLSocketFactory = this.E;
|
||||
if (sSLSocketFactory != null) {
|
||||
h.a aVar2 = e0.e0.k.h.f2993c;
|
||||
h.a aVar2 = e0.e0.k.h.f2994c;
|
||||
aVar.b(sSLSocketFactory, e0.e0.k.h.a.n());
|
||||
}
|
||||
String G = c.d.b.a.a.G(new StringBuilder(), this.C, "?v=5");
|
||||
|
|
|
@ -98,13 +98,13 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
|||
if (booleanValue) {
|
||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.CPU_OVERUSE);
|
||||
} else if (longValue == 0) {
|
||||
int i = krispOveruseDetector.f2568c + 1;
|
||||
krispOveruseDetector.f2568c = i;
|
||||
int i = krispOveruseDetector.f2569c + 1;
|
||||
krispOveruseDetector.f2569c = i;
|
||||
if (i > 2) {
|
||||
krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED);
|
||||
}
|
||||
} else {
|
||||
krispOveruseDetector.f2568c = 0;
|
||||
krispOveruseDetector.f2569c = 0;
|
||||
}
|
||||
}
|
||||
krispOveruseDetector.b = stats2.getOutboundRtpAudio();
|
||||
|
|
|
@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
|
|||
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
||||
try {
|
||||
URI uri = new URI(v);
|
||||
rtcConnection.f2576x = uri.getHost();
|
||||
rtcConnection.f2577y = Integer.valueOf(uri.getPort());
|
||||
rtcConnection.f2577x = uri.getHost();
|
||||
rtcConnection.f2578y = Integer.valueOf(uri.getPort());
|
||||
} catch (Exception e) {
|
||||
rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(c0.o.to("endpoint", replace$default)));
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ public final class b extends k implements Function2<CoroutineScope, Continuation
|
|||
}
|
||||
String joinToString$default = u.joinToString$default(arrayList, "&", null, null, 0, null, null, 62, null);
|
||||
RequestBody.Companion companion = RequestBody.Companion;
|
||||
MediaType.a aVar = MediaType.f3124c;
|
||||
MediaType.a aVar = MediaType.f3125c;
|
||||
RequestBody a = companion.a(joinToString$default, MediaType.a.a(ShareTarget.ENCODING_TYPE_URL_ENCODED));
|
||||
Request.a aVar2 = new Request.a();
|
||||
m.checkParameterIsNotNull(a, "body");
|
||||
|
|
|
@ -18,6 +18,6 @@ public final class h0 extends o implements Function0<Boolean> {
|
|||
/* renamed from: invoke */
|
||||
public Boolean mo17invoke() {
|
||||
VoiceUserView voiceUserView = this.this$0;
|
||||
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2620r);
|
||||
return Boolean.valueOf(voiceUserView.l == VoiceUserView.a.RINGING && voiceUserView.f2621r);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,6 @@ public final class a implements View.OnClickListener {
|
|||
if (!(googlePlayInAppSku == null || (function1 = giftSelectView.j) == null)) {
|
||||
function1.invoke(googlePlayInAppSku);
|
||||
}
|
||||
giftSelectView.i.f2203c.setOnClickListener(null);
|
||||
giftSelectView.i.f2204c.setOnClickListener(null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ public class a extends AppCompatDialogFragment {
|
|||
}
|
||||
} else if (i == 2) {
|
||||
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.j);
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||
if (flexInputViewModel != null) {
|
||||
flexInputViewModel.onSendButtonClicked(flexInputFragment.n);
|
||||
}
|
||||
|
@ -418,7 +418,7 @@ public class a extends AppCompatDialogFragment {
|
|||
flexInputFragment.k();
|
||||
eVar.mo17invoke();
|
||||
} catch (UninitializedPropertyAccessException unused) {
|
||||
flexInputFragment.f2925w.add(eVar);
|
||||
flexInputFragment.f2926w.add(eVar);
|
||||
}
|
||||
FloatingActionButton floatingActionButton2 = this.l;
|
||||
if (floatingActionButton2 != null) {
|
||||
|
|
|
@ -27,7 +27,7 @@ public final class b implements TabLayout.OnTabSelectedListener {
|
|||
if (position == 3) {
|
||||
this.a.h(false);
|
||||
Fragment parentFragment = this.a.getParentFragment();
|
||||
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2924r) != null) {
|
||||
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f2925r) != null) {
|
||||
flexInputViewModel.onCreateThreadSelected();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public final class f implements ViewPager.OnPageChangeListener {
|
|||
|
||||
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
|
||||
public void onPageSelected(int i) {
|
||||
FlexInputViewModel flexInputViewModel = this.a.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = this.a.f2925r;
|
||||
if (flexInputViewModel != null) {
|
||||
flexInputViewModel.onContentDialogPageChanged(i);
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ public final class g implements DialogInterface.OnDismissListener {
|
|||
@Override // android.content.DialogInterface.OnDismissListener
|
||||
public final void onDismiss(DialogInterface dialogInterface) {
|
||||
FlexInputViewModel flexInputViewModel;
|
||||
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2924r) != null) {
|
||||
if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.f2925r) != null) {
|
||||
c.c0(flexInputViewModel, false, 1, null);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ public final class h extends o implements Function1<View, Unit> {
|
|||
@Override // kotlin.jvm.functions.Function1
|
||||
public Unit invoke(View view) {
|
||||
m.checkNotNullParameter(view, "it");
|
||||
FlexInputViewModel flexInputViewModel = this.this$0.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = this.this$0.f2925r;
|
||||
if (flexInputViewModel != null) {
|
||||
c.c0(flexInputViewModel, false, 1, null);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ public final class i implements View.OnLongClickListener {
|
|||
|
||||
@Override // android.view.View.OnLongClickListener
|
||||
public final boolean onLongClick(View view) {
|
||||
FlexInputViewModel flexInputViewModel = this.i.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = this.i.f2925r;
|
||||
if (flexInputViewModel == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
|||
public void onItemSelected(Attachment<? extends Object> attachment) {
|
||||
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||
FlexInputFragment flexInputFragment = this.a;
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||
if (flexInputViewModel != null) {
|
||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
|||
public void onItemUnselected(Attachment<? extends Object> attachment) {
|
||||
c0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||
FlexInputFragment flexInputFragment = this.a;
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2924r;
|
||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f2925r;
|
||||
if (flexInputViewModel != null) {
|
||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||
}
|
||||
|
|
|
@ -801,7 +801,7 @@ public class d {
|
|||
function1.invoke(renderContext);
|
||||
if (!(objArr.length == 0)) {
|
||||
if (!(!renderContext.a.isEmpty())) {
|
||||
renderContext.f2506c = k.toList(objArr);
|
||||
renderContext.f2507c = k.toList(objArr);
|
||||
} else {
|
||||
throw new IllegalArgumentException("must provide named arguments OR formatArgs, not both.");
|
||||
}
|
||||
|
|
|
@ -77,8 +77,8 @@ public abstract class c {
|
|||
q(fVar, replace2, arrayList, w.i);
|
||||
n(fVar, replace2, arrayList, w.g);
|
||||
q(fVar, replace2, arrayList, w.g);
|
||||
n(fVar, replace2, arrayList, w.f3066c);
|
||||
q(fVar, replace2, arrayList, w.f3066c);
|
||||
n(fVar, replace2, arrayList, w.f3067c);
|
||||
q(fVar, replace2, arrayList, w.f3067c);
|
||||
o(fVar, replace2, arrayList);
|
||||
cls2 = b.a(u, fVar.b());
|
||||
}
|
||||
|
|
|
@ -311,13 +311,13 @@ public class c extends AbstractDraweeController<CloseableReference<c.f.j.j.c>, I
|
|||
ImageRequest imageRequest = this.I;
|
||||
ImageRequest imageRequest2 = this.K;
|
||||
ImageRequest[] imageRequestArr = this.J;
|
||||
if (imageRequest == null || (uri = imageRequest.f2681c) == null) {
|
||||
if (imageRequest == null || (uri = imageRequest.f2682c) == null) {
|
||||
if (!(imageRequestArr == null || imageRequestArr.length <= 0 || imageRequestArr[0] == null)) {
|
||||
ImageRequest imageRequest3 = imageRequestArr[0];
|
||||
uri = imageRequest3 != null ? imageRequest3.f2681c : null;
|
||||
uri = imageRequest3 != null ? imageRequest3.f2682c : null;
|
||||
}
|
||||
if (imageRequest2 != null) {
|
||||
return imageRequest2.f2681c;
|
||||
return imageRequest2.f2682c;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ public class d extends AbstractDraweeControllerBuilder<d, ImageRequest, Closeabl
|
|||
c.f.j.r.b.b();
|
||||
try {
|
||||
DraweeController draweeController = this.n;
|
||||
String valueOf = String.valueOf(AbstractDraweeControllerBuilder.f2668c.getAndIncrement());
|
||||
String valueOf = String.valueOf(AbstractDraweeControllerBuilder.f2669c.getAndIncrement());
|
||||
if (draweeController instanceof c) {
|
||||
cVar = (c) draweeController;
|
||||
} else {
|
||||
|
|
|
@ -30,7 +30,7 @@ public class b extends g implements f0 {
|
|||
if (!draweeHolder.a) {
|
||||
a.m(c.class, "%x: Draw requested for a non-attached controller %x. %s", Integer.valueOf(System.identityHashCode(draweeHolder)), Integer.valueOf(System.identityHashCode(draweeHolder.e)), draweeHolder.toString());
|
||||
draweeHolder.b = true;
|
||||
draweeHolder.f2672c = true;
|
||||
draweeHolder.f2673c = true;
|
||||
draweeHolder.b();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,7 +155,7 @@ public class f {
|
|||
Objects.requireNonNull((z) this.g);
|
||||
Executor executor = y.g.a;
|
||||
if (eVar instanceof Boolean) {
|
||||
return ((Boolean) eVar).booleanValue() ? y.g.f3155c : y.g.d;
|
||||
return ((Boolean) eVar).booleanValue() ? y.g.f3156c : y.g.d;
|
||||
}
|
||||
y.g<e> gVar = new y.g<>();
|
||||
if (gVar.h(eVar)) {
|
||||
|
|
|
@ -9,11 +9,11 @@ public class n implements i {
|
|||
public static n a;
|
||||
|
||||
public CacheKey a(ImageRequest imageRequest, Object obj) {
|
||||
return new b(imageRequest.f2681c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj);
|
||||
return new b(imageRequest.f2682c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj);
|
||||
}
|
||||
|
||||
public CacheKey b(ImageRequest imageRequest, Object obj) {
|
||||
return new f(imageRequest.f2681c.toString());
|
||||
return new f(imageRequest.f2682c.toString());
|
||||
}
|
||||
|
||||
public CacheKey c(ImageRequest imageRequest, Object obj) {
|
||||
|
@ -28,6 +28,6 @@ public class n implements i {
|
|||
cacheKey = null;
|
||||
str = null;
|
||||
}
|
||||
return new b(imageRequest.f2681c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj);
|
||||
return new b(imageRequest.f2682c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -262,7 +262,7 @@ public class v<K, V> implements m<K, V>, w<K, V> {
|
|||
MemoryCacheParams memoryCacheParams = this.f;
|
||||
int min = Math.min(memoryCacheParams.d, memoryCacheParams.b - e());
|
||||
MemoryCacheParams memoryCacheParams2 = this.f;
|
||||
p = p(min, Math.min(memoryCacheParams2.f2674c, memoryCacheParams2.a - f()));
|
||||
p = p(min, Math.min(memoryCacheParams2.f2675c, memoryCacheParams2.a - f()));
|
||||
h(p);
|
||||
}
|
||||
i(p);
|
||||
|
|
|
@ -17,7 +17,7 @@ public class c implements f {
|
|||
|
||||
public h a(DiskCacheConfig diskCacheConfig) {
|
||||
Objects.requireNonNull(this.a);
|
||||
e eVar = new e(diskCacheConfig.a, diskCacheConfig.f2661c, diskCacheConfig.b, diskCacheConfig.h);
|
||||
e eVar = new e(diskCacheConfig.a, diskCacheConfig.f2662c, diskCacheConfig.b, diskCacheConfig.h);
|
||||
ExecutorService newSingleThreadExecutor = Executors.newSingleThreadExecutor();
|
||||
return new d(eVar, diskCacheConfig.g, new d.c(diskCacheConfig.f, diskCacheConfig.e, diskCacheConfig.d), diskCacheConfig.i, diskCacheConfig.h, diskCacheConfig.j, newSingleThreadExecutor, false);
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ public class h {
|
|||
c.f.j.k.c cVar2;
|
||||
c.f.j.r.b.b();
|
||||
if (eVar == null) {
|
||||
e eVar3 = imageRequest.f2682r;
|
||||
e eVar3 = imageRequest.f2683r;
|
||||
if (eVar3 == null) {
|
||||
eVar2 = this.b;
|
||||
b0 b0Var = new b0(eVar2, this.f463c);
|
||||
|
@ -84,7 +84,7 @@ public class h {
|
|||
ImageRequest.c f = ImageRequest.c.f(imageRequest.m, cVar);
|
||||
String valueOf = String.valueOf(this.i.getAndIncrement());
|
||||
if (!imageRequest.f) {
|
||||
if (c.f.d.l.b.e(imageRequest.f2681c)) {
|
||||
if (c.f.d.l.b.e(imageRequest.f2682c)) {
|
||||
z2 = false;
|
||||
c1 c1Var = new c1(imageRequest, valueOf, str, b0Var, obj, f, false, z2, imageRequest.l, this.l);
|
||||
c.f.j.r.b.b();
|
||||
|
@ -102,7 +102,7 @@ public class h {
|
|||
}
|
||||
cVar2 = new c.f.j.k.c(this.b, eVar3);
|
||||
} else {
|
||||
e eVar4 = imageRequest.f2682r;
|
||||
e eVar4 = imageRequest.f2683r;
|
||||
if (eVar4 == null) {
|
||||
eVar2 = new c.f.j.k.c(this.b, eVar);
|
||||
b0 b0Var = new b0(eVar2, this.f463c);
|
||||
|
|
|
@ -155,7 +155,7 @@ public class p {
|
|||
try {
|
||||
b.b();
|
||||
Objects.requireNonNull(imageRequest);
|
||||
Uri uri = imageRequest.f2681c;
|
||||
Uri uri = imageRequest.f2682c;
|
||||
d.y(uri, "Uri is null.");
|
||||
int i = imageRequest.d;
|
||||
if (i != 0) {
|
||||
|
|
|
@ -19,7 +19,7 @@ public class a1 extends g0 {
|
|||
|
||||
@Override // c.f.j.p.g0
|
||||
public e d(ImageRequest imageRequest) throws IOException {
|
||||
return c(this.f499c.openInputStream(imageRequest.f2681c), -1);
|
||||
return c(this.f499c.openInputStream(imageRequest.f2682c), -1);
|
||||
}
|
||||
|
||||
@Override // c.f.j.p.g0
|
||||
|
|
|
@ -45,7 +45,7 @@ public class d implements w0 {
|
|||
HashMap hashMap = new HashMap();
|
||||
this.h = hashMap;
|
||||
hashMap.put(ModelAuditLogEntry.CHANGE_KEY_ID, str);
|
||||
hashMap.put("uri_source", imageRequest == null ? "null-request" : imageRequest.f2681c);
|
||||
hashMap.put("uri_source", imageRequest == null ? "null-request" : imageRequest.f2682c);
|
||||
this.d = str2;
|
||||
this.e = y0Var;
|
||||
this.f = obj;
|
||||
|
|
|
@ -25,10 +25,10 @@ public class d0 extends g0 {
|
|||
@Override // c.f.j.p.g0
|
||||
public e d(ImageRequest imageRequest) throws IOException {
|
||||
int i;
|
||||
InputStream open = this.f505c.open(imageRequest.f2681c.getPath().substring(1), 2);
|
||||
InputStream open = this.f505c.open(imageRequest.f2682c.getPath().substring(1), 2);
|
||||
AssetFileDescriptor assetFileDescriptor = null;
|
||||
try {
|
||||
assetFileDescriptor = this.f505c.openFd(imageRequest.f2681c.getPath().substring(1));
|
||||
assetFileDescriptor = this.f505c.openFd(imageRequest.f2682c.getPath().substring(1));
|
||||
i = (int) assetFileDescriptor.getLength();
|
||||
} catch (IOException unused) {
|
||||
i = -1;
|
||||
|
|
|
@ -28,7 +28,7 @@ public class e0 extends g0 {
|
|||
@Override // c.f.j.p.g0
|
||||
public e d(ImageRequest imageRequest) throws IOException {
|
||||
InputStream inputStream;
|
||||
Uri uri = imageRequest.f2681c;
|
||||
Uri uri = imageRequest.f2682c;
|
||||
Uri uri2 = b.a;
|
||||
boolean z2 = false;
|
||||
if (uri.getPath() != null && b.c(uri) && "com.android.contacts".equals(uri.getAuthority()) && !uri.getPath().startsWith(b.a.getPath())) {
|
||||
|
|
|
@ -42,7 +42,7 @@ public class f0 extends g0 implements j1<e> {
|
|||
c.f.j.d.e eVar;
|
||||
Cursor query;
|
||||
e f2;
|
||||
Uri uri = imageRequest.f2681c;
|
||||
Uri uri = imageRequest.f2682c;
|
||||
if (!b.b(uri) || (eVar = imageRequest.i) == null || (query = this.g.query(uri, f507c, null, null, null)) == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -25,10 +25,10 @@ public class i0 extends g0 {
|
|||
@Override // c.f.j.p.g0
|
||||
public e d(ImageRequest imageRequest) throws IOException {
|
||||
int i;
|
||||
InputStream openRawResource = this.f514c.openRawResource(Integer.parseInt(imageRequest.f2681c.getPath().substring(1)));
|
||||
InputStream openRawResource = this.f514c.openRawResource(Integer.parseInt(imageRequest.f2682c.getPath().substring(1)));
|
||||
AssetFileDescriptor assetFileDescriptor = null;
|
||||
try {
|
||||
assetFileDescriptor = this.f514c.openRawResourceFd(Integer.parseInt(imageRequest.f2681c.getPath().substring(1)));
|
||||
assetFileDescriptor = this.f514c.openRawResourceFd(Integer.parseInt(imageRequest.f2682c.getPath().substring(1)));
|
||||
i = (int) assetFileDescriptor.getLength();
|
||||
} catch (Resources.NotFoundException unused) {
|
||||
i = -1;
|
||||
|
|
|
@ -83,7 +83,7 @@ public class j0 implements v0<CloseableReference<c>> {
|
|||
bitmap = ThumbnailUtils.createVideoThumbnail(str, i);
|
||||
} else {
|
||||
try {
|
||||
ParcelFileDescriptor openFileDescriptor = j0.this.b.openFileDescriptor(this.p.f2681c, "r");
|
||||
ParcelFileDescriptor openFileDescriptor = j0.this.b.openFileDescriptor(this.p.f2682c, "r");
|
||||
MediaMetadataRetriever mediaMetadataRetriever = new MediaMetadataRetriever();
|
||||
mediaMetadataRetriever.setDataSource(openFileDescriptor.getFileDescriptor());
|
||||
bitmap = mediaMetadataRetriever.getFrameAtTime(-1);
|
||||
|
@ -141,7 +141,7 @@ public class j0 implements v0<CloseableReference<c>> {
|
|||
String str;
|
||||
Uri uri;
|
||||
Objects.requireNonNull(j0Var);
|
||||
Uri uri2 = imageRequest.f2681c;
|
||||
Uri uri2 = imageRequest.f2682c;
|
||||
if (c.f.d.l.b.d(uri2)) {
|
||||
return imageRequest.a().getPath();
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ public class m extends g0 {
|
|||
@Override // c.f.j.p.g0
|
||||
public e d(ImageRequest imageRequest) throws IOException {
|
||||
boolean z2;
|
||||
String uri = imageRequest.f2681c.toString();
|
||||
String uri = imageRequest.f2682c.toString();
|
||||
d.j(Boolean.valueOf(uri.substring(0, 5).equals("data:")));
|
||||
int indexOf = uri.indexOf(44);
|
||||
String substring = uri.substring(indexOf + 1, uri.length());
|
||||
|
|
|
@ -141,7 +141,7 @@ public class n implements v0<CloseableReference<c.f.j.j.c>> {
|
|||
w0Var.d("image_format", eVar.k.b);
|
||||
if (n.this.f || !b.m(i2, 16)) {
|
||||
ImageRequest e2 = this.a.e();
|
||||
if (n.this.g || !c.f.d.l.b.e(e2.f2681c)) {
|
||||
if (n.this.g || !c.f.d.l.b.e(e2.f2682c)) {
|
||||
eVar.p = c.c.a.a0.d.c0(e2.j, e2.i, eVar, this.b);
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ public class n implements v0<CloseableReference<c.f.j.j.c>> {
|
|||
synchronized (c0Var) {
|
||||
j = c0Var.j - c0Var.i;
|
||||
}
|
||||
String valueOf2 = String.valueOf(cVar2.f523c.e().f2681c);
|
||||
String valueOf2 = String.valueOf(cVar2.f523c.e().f2682c);
|
||||
int f = (z3 || m) ? eVar.f() : cVar2.o(eVar);
|
||||
i p = (z3 || m) ? h.a : cVar2.p();
|
||||
cVar2.d.e(cVar2.f523c, "DecodeProducer");
|
||||
|
@ -439,7 +439,7 @@ public class n implements v0<CloseableReference<c.f.j.j.c>> {
|
|||
public void b(l<CloseableReference<c.f.j.j.c>> lVar, w0 w0Var) {
|
||||
try {
|
||||
c.f.j.r.b.b();
|
||||
this.e.b(!c.f.d.l.b.e(w0Var.e().f2681c) ? new a(this, lVar, w0Var, this.h, this.i) : new b(this, lVar, w0Var, new d(this.a), this.d, this.h, this.i), w0Var);
|
||||
this.e.b(!c.f.d.l.b.e(w0Var.e().f2682c) ? new a(this, lVar, w0Var, this.h, this.i) : new b(this, lVar, w0Var, new d(this.a), this.d, this.h, this.i), w0Var);
|
||||
c.f.j.r.b.b();
|
||||
} catch (Throwable th) {
|
||||
c.f.j.r.b.b();
|
||||
|
|
|
@ -64,7 +64,7 @@ public class o0 implements c<e, Void> {
|
|||
this.f525c.b(eVar2, 9);
|
||||
} else {
|
||||
this.f525c.b(eVar2, 8);
|
||||
ImageRequestBuilder b = ImageRequestBuilder.b(e.f2681c);
|
||||
ImageRequestBuilder b = ImageRequestBuilder.b(e.f2682c);
|
||||
b.e = e.h;
|
||||
b.o = e.k;
|
||||
b.f = e.b;
|
||||
|
@ -73,8 +73,8 @@ public class o0 implements c<e, Void> {
|
|||
b.j = e.q;
|
||||
b.g = e.f;
|
||||
b.i = e.l;
|
||||
b.f2683c = e.i;
|
||||
b.n = e.f2682r;
|
||||
b.f2684c = e.i;
|
||||
b.n = e.f2683r;
|
||||
b.d = e.j;
|
||||
b.m = e.p;
|
||||
b.p = e.s;
|
||||
|
|
|
@ -185,7 +185,7 @@ public class q0 implements v0<e> {
|
|||
return;
|
||||
}
|
||||
w0Var.o().e(w0Var, "PartialDiskCacheProducer");
|
||||
Uri build = e.f2681c.buildUpon().appendQueryParameter("fresco_partial", "true").build();
|
||||
Uri build = e.f2682c.buildUpon().appendQueryParameter("fresco_partial", "true").build();
|
||||
i iVar = this.b;
|
||||
w0Var.b();
|
||||
Objects.requireNonNull((n) iVar);
|
||||
|
|
|
@ -34,7 +34,7 @@ public class y implements Runnable {
|
|||
Objects.requireNonNull(a0Var);
|
||||
InputStream inputStream = null;
|
||||
try {
|
||||
httpURLConnection = a0Var.a(aVar.b.e().f2681c, 5);
|
||||
httpURLConnection = a0Var.a(aVar.b.e().f2682c, 5);
|
||||
try {
|
||||
aVar.e = a0Var.f498c.now();
|
||||
if (httpURLConnection != null) {
|
||||
|
|
|
@ -12,7 +12,7 @@ public class j implements b {
|
|||
boolean z2;
|
||||
boolean contains;
|
||||
int i2 = ((i & 1) != 0 ? 16 : 0) | 0;
|
||||
ReentrantReadWriteLock reentrantReadWriteLock = SoLoader.f2685c;
|
||||
ReentrantReadWriteLock reentrantReadWriteLock = SoLoader.f2686c;
|
||||
reentrantReadWriteLock.readLock().lock();
|
||||
try {
|
||||
if (SoLoader.d == null) {
|
||||
|
@ -49,7 +49,7 @@ public class j implements b {
|
|||
continue;
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
int i3 = SoLoader.e;
|
||||
SoLoader.f2685c.writeLock().lock();
|
||||
SoLoader.f2686c.writeLock().lock();
|
||||
try {
|
||||
if (SoLoader.g == null || !SoLoader.g.c()) {
|
||||
z2 = false;
|
||||
|
@ -58,21 +58,21 @@ public class j implements b {
|
|||
SoLoader.e = SoLoader.e + 1;
|
||||
z2 = true;
|
||||
}
|
||||
SoLoader.f2685c.writeLock().unlock();
|
||||
SoLoader.f2686c.writeLock().unlock();
|
||||
if (SoLoader.e == i3) {
|
||||
throw e;
|
||||
}
|
||||
} catch (IOException e2) {
|
||||
throw new RuntimeException(e2);
|
||||
} catch (Throwable th2) {
|
||||
SoLoader.f2685c.writeLock().unlock();
|
||||
SoLoader.f2686c.writeLock().unlock();
|
||||
throw th2;
|
||||
}
|
||||
}
|
||||
} while (z2);
|
||||
return z5;
|
||||
} finally {
|
||||
SoLoader.f2685c.readLock().unlock();
|
||||
SoLoader.f2686c.readLock().unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,8 +125,8 @@ public final class b implements h {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.k = str;
|
||||
bVar.l = e;
|
||||
bVar.f2701x = 1;
|
||||
bVar.f2702y = i;
|
||||
bVar.f2702x = 1;
|
||||
bVar.f2703y = i;
|
||||
wVar.e(bVar.a());
|
||||
}
|
||||
int i2 = -1;
|
||||
|
|
|
@ -31,16 +31,16 @@ public final class b extends TagPayloadReader {
|
|||
int i2 = b[(s >> 2) & 3];
|
||||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/mpeg";
|
||||
bVar.f2701x = 1;
|
||||
bVar.f2702y = i2;
|
||||
bVar.f2702x = 1;
|
||||
bVar.f2703y = i2;
|
||||
this.a.e(bVar.a());
|
||||
this.d = true;
|
||||
} else if (i == 7 || i == 8) {
|
||||
String str = i == 7 ? "audio/g711-alaw" : "audio/g711-mlaw";
|
||||
Format.b bVar2 = new Format.b();
|
||||
bVar2.k = str;
|
||||
bVar2.f2701x = 1;
|
||||
bVar2.f2702y = 8000;
|
||||
bVar2.f2702x = 1;
|
||||
bVar2.f2703y = 8000;
|
||||
this.a.e(bVar2.a());
|
||||
this.d = true;
|
||||
} else if (i != 10) {
|
||||
|
@ -73,8 +73,8 @@ public final class b extends TagPayloadReader {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/mp4a-latm";
|
||||
bVar.h = c2.f1057c;
|
||||
bVar.f2701x = c2.b;
|
||||
bVar.f2702y = c2.a;
|
||||
bVar.f2702x = c2.b;
|
||||
bVar.f2703y = c2.a;
|
||||
bVar.m = Collections.singletonList(bArr);
|
||||
this.a.e(bVar.a());
|
||||
this.d = true;
|
||||
|
|
|
@ -1926,9 +1926,9 @@ public class e implements h {
|
|||
int i14 = (cVar.V ? 1 : 0) | 0 | (!cVar.U ? 2 : 0);
|
||||
bVar = new Format.b();
|
||||
if (!c.i.a.c.i2.s.h(str12)) {
|
||||
bVar.f2701x = cVar.O;
|
||||
bVar.f2702y = cVar.Q;
|
||||
bVar.f2703z = i3;
|
||||
bVar.f2702x = cVar.O;
|
||||
bVar.f2703y = cVar.Q;
|
||||
bVar.f2704z = i3;
|
||||
i4 = 1;
|
||||
} else if (c.i.a.c.i2.s.j(str12)) {
|
||||
if (cVar.q == 0) {
|
||||
|
@ -1997,7 +1997,7 @@ public class e implements h {
|
|||
bVar.s = i6;
|
||||
bVar.u = cVar.v;
|
||||
bVar.v = cVar.f717w;
|
||||
bVar.f2700w = colorInfo;
|
||||
bVar.f2701w = colorInfo;
|
||||
i4 = 2;
|
||||
}
|
||||
}
|
||||
|
@ -2010,7 +2010,7 @@ public class e implements h {
|
|||
bVar.s = i6;
|
||||
bVar.u = cVar.v;
|
||||
bVar.v = cVar.f717w;
|
||||
bVar.f2700w = colorInfo;
|
||||
bVar.f2701w = colorInfo;
|
||||
i4 = 2;
|
||||
} else if ("application/x-subrip".equals(str12) || "text/x-ssa".equals(str12) || "application/vobsub".equals(str12) || "application/pgs".equals(str12) || "application/dvbsubs".equals(str12)) {
|
||||
i4 = 3;
|
||||
|
@ -2024,7 +2024,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2074,7 +2074,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2113,7 +2113,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2152,7 +2152,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2191,7 +2191,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2256,7 +2256,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2308,7 +2308,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2345,7 +2345,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2402,7 +2402,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2446,7 +2446,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2484,7 +2484,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2522,7 +2522,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2560,7 +2560,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2599,7 +2599,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2637,7 +2637,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2676,7 +2676,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2714,7 +2714,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2752,7 +2752,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2790,7 +2790,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2828,7 +2828,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2865,7 +2865,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2895,7 +2895,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2936,7 +2936,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -2982,7 +2982,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3012,7 +3012,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3055,7 +3055,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3083,7 +3083,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3125,7 +3125,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3163,7 +3163,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3201,7 +3201,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3239,7 +3239,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3277,7 +3277,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3315,7 +3315,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
@ -3357,7 +3357,7 @@ public class e implements h {
|
|||
bVar.b(i13);
|
||||
bVar.k = str12;
|
||||
bVar.l = i2;
|
||||
bVar.f2698c = cVar.W;
|
||||
bVar.f2699c = cVar.W;
|
||||
bVar.d = i14;
|
||||
bVar.m = list;
|
||||
bVar.h = str;
|
||||
|
|
|
@ -382,8 +382,8 @@ public final class f implements h {
|
|||
z.a aVar4 = fVar.e;
|
||||
bVar.k = aVar4.b;
|
||||
bVar.l = 4096;
|
||||
bVar.f2701x = aVar4.e;
|
||||
bVar.f2702y = aVar4.d;
|
||||
bVar.f2702x = aVar4.e;
|
||||
bVar.f2703y = aVar4.d;
|
||||
p pVar3 = fVar.f;
|
||||
bVar.A = pVar3.b;
|
||||
bVar.B = pVar3.f805c;
|
||||
|
@ -401,8 +401,8 @@ public final class f implements h {
|
|||
z.a aVar4 = fVar.e;
|
||||
bVar.k = aVar4.b;
|
||||
bVar.l = 4096;
|
||||
bVar.f2701x = aVar4.e;
|
||||
bVar.f2702y = aVar4.d;
|
||||
bVar.f2702x = aVar4.e;
|
||||
bVar.f2703y = aVar4.d;
|
||||
p pVar3 = fVar.f;
|
||||
bVar.A = pVar3.b;
|
||||
bVar.B = pVar3.f805c;
|
||||
|
@ -449,8 +449,8 @@ public final class f implements h {
|
|||
z.a aVar4 = fVar.e;
|
||||
bVar.k = aVar4.b;
|
||||
bVar.l = 4096;
|
||||
bVar.f2701x = aVar4.e;
|
||||
bVar.f2702y = aVar4.d;
|
||||
bVar.f2702x = aVar4.e;
|
||||
bVar.f2703y = aVar4.d;
|
||||
p pVar3 = fVar.f;
|
||||
bVar.A = pVar3.b;
|
||||
bVar.B = pVar3.f805c;
|
||||
|
@ -495,8 +495,8 @@ public final class f implements h {
|
|||
z.a aVar4 = fVar.e;
|
||||
bVar.k = aVar4.b;
|
||||
bVar.l = 4096;
|
||||
bVar.f2701x = aVar4.e;
|
||||
bVar.f2702y = aVar4.d;
|
||||
bVar.f2702x = aVar4.e;
|
||||
bVar.f2703y = aVar4.d;
|
||||
p pVar3 = fVar.f;
|
||||
bVar.A = pVar3.b;
|
||||
bVar.B = pVar3.f805c;
|
||||
|
|
|
@ -1234,10 +1234,10 @@ public final class e {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.a = num;
|
||||
bVar.k = str15;
|
||||
bVar.f2701x = i43;
|
||||
bVar.f2702y = i42;
|
||||
bVar.f2702x = i43;
|
||||
bVar.f2703y = i42;
|
||||
bVar.n = drmInitData3;
|
||||
bVar.f2698c = str11;
|
||||
bVar.f2699c = str11;
|
||||
format = bVar.a();
|
||||
str7 = str15;
|
||||
} else {
|
||||
|
@ -1266,10 +1266,10 @@ public final class e {
|
|||
Format.b bVar2 = new Format.b();
|
||||
bVar2.a = num2;
|
||||
bVar2.k = str9;
|
||||
bVar2.f2701x = i45;
|
||||
bVar2.f2702y = i44;
|
||||
bVar2.f2702x = i45;
|
||||
bVar2.f2703y = i44;
|
||||
bVar2.n = drmInitData3;
|
||||
bVar2.f2698c = str11;
|
||||
bVar2.f2699c = str11;
|
||||
format = bVar2.a();
|
||||
} else {
|
||||
str7 = str15;
|
||||
|
@ -1281,18 +1281,18 @@ public final class e {
|
|||
Format.b bVar3 = new Format.b();
|
||||
bVar3.a = num3;
|
||||
bVar3.k = "audio/ac4";
|
||||
bVar3.f2701x = 2;
|
||||
bVar3.f2702y = i46;
|
||||
bVar3.f2702x = 2;
|
||||
bVar3.f2703y = i46;
|
||||
bVar3.n = drmInitData3;
|
||||
bVar3.f2698c = str11;
|
||||
bVar3.f2699c = str11;
|
||||
format = bVar3.a();
|
||||
} else if (f17 == 1684305011) {
|
||||
Format.b r02 = c.d.b.a.a.r0(f3);
|
||||
r02.k = str6;
|
||||
r02.f2701x = i19;
|
||||
r02.f2702y = i18;
|
||||
r02.f2702x = i19;
|
||||
r02.f2703y = i18;
|
||||
r02.n = drmInitData3;
|
||||
r02.f2698c = str11;
|
||||
r02.f2699c = str11;
|
||||
format = r02.a();
|
||||
} else {
|
||||
if (f17 == 1682927731) {
|
||||
|
@ -1412,12 +1412,12 @@ public final class e {
|
|||
Format.b r03 = c.d.b.a.a.r0(f3);
|
||||
r03.k = str6;
|
||||
r03.h = str5;
|
||||
r03.f2701x = i19;
|
||||
r03.f2702y = i18;
|
||||
r03.f2703z = i16;
|
||||
r03.f2702x = i19;
|
||||
r03.f2703y = i18;
|
||||
r03.f2704z = i16;
|
||||
r03.m = uVar;
|
||||
r03.n = drmInitData3;
|
||||
r03.f2698c = str11;
|
||||
r03.f2699c = str11;
|
||||
format2 = r03.a();
|
||||
}
|
||||
str = str11;
|
||||
|
@ -1442,12 +1442,12 @@ public final class e {
|
|||
Format.b r03 = c.d.b.a.a.r0(f3);
|
||||
r03.k = str6;
|
||||
r03.h = str5;
|
||||
r03.f2701x = i19;
|
||||
r03.f2702y = i18;
|
||||
r03.f2703z = i16;
|
||||
r03.f2702x = i19;
|
||||
r03.f2703y = i18;
|
||||
r03.f2704z = i16;
|
||||
r03.m = uVar;
|
||||
r03.n = drmInitData3;
|
||||
r03.f2698c = str11;
|
||||
r03.f2699c = str11;
|
||||
format2 = r03.a();
|
||||
str = str11;
|
||||
i29 = i12;
|
||||
|
@ -1475,12 +1475,12 @@ public final class e {
|
|||
Format.b r03 = c.d.b.a.a.r0(f3);
|
||||
r03.k = str6;
|
||||
r03.h = str5;
|
||||
r03.f2701x = i19;
|
||||
r03.f2702y = i18;
|
||||
r03.f2703z = i16;
|
||||
r03.f2702x = i19;
|
||||
r03.f2703y = i18;
|
||||
r03.f2704z = i16;
|
||||
r03.m = uVar;
|
||||
r03.n = drmInitData3;
|
||||
r03.f2698c = str11;
|
||||
r03.f2699c = str11;
|
||||
format2 = r03.a();
|
||||
str = str11;
|
||||
i29 = i12;
|
||||
|
@ -1501,7 +1501,7 @@ public final class e {
|
|||
aVar4 = aVar6;
|
||||
Format.b r04 = c.d.b.a.a.r0(f3);
|
||||
r04.k = str18;
|
||||
r04.f2698c = str11;
|
||||
r04.f2699c = str11;
|
||||
r04.o = j3;
|
||||
r04.m = uVar2;
|
||||
format2 = r04.a();
|
||||
|
@ -1522,7 +1522,7 @@ public final class e {
|
|||
aVar4 = aVar6;
|
||||
Format.b r04 = c.d.b.a.a.r0(f3);
|
||||
r04.k = str18;
|
||||
r04.f2698c = str11;
|
||||
r04.f2699c = str11;
|
||||
r04.o = j3;
|
||||
r04.m = uVar2;
|
||||
format2 = r04.a();
|
||||
|
@ -1533,7 +1533,7 @@ public final class e {
|
|||
aVar4 = aVar6;
|
||||
Format.b r04 = c.d.b.a.a.r0(f3);
|
||||
r04.k = str18;
|
||||
r04.f2698c = str11;
|
||||
r04.f2699c = str11;
|
||||
r04.o = j3;
|
||||
r04.m = uVar2;
|
||||
format2 = r04.a();
|
||||
|
|
|
@ -1115,7 +1115,7 @@ public final class i implements h, t {
|
|||
a2.l = pVar2.e + 30;
|
||||
int i35 = mVar.b;
|
||||
if (i35 == 2 && j4 > 0 && (i7 = pVar2.b) > 1) {
|
||||
a2.f2699r = ((float) i7) / (((float) j4) / 1000000.0f);
|
||||
a2.f2700r = ((float) i7) / (((float) j4) / 1000000.0f);
|
||||
}
|
||||
if (i35 == 1) {
|
||||
int i36 = pVar.b;
|
||||
|
|
|
@ -39,8 +39,8 @@ public final class h extends i {
|
|||
List<byte[]> h = d.h(copyOf);
|
||||
Format.b bVar2 = new Format.b();
|
||||
bVar2.k = "audio/opus";
|
||||
bVar2.f2701x = copyOf[9] & 255;
|
||||
bVar2.f2702y = 48000;
|
||||
bVar2.f2702x = copyOf[9] & 255;
|
||||
bVar2.f2703y = 48000;
|
||||
bVar2.m = h;
|
||||
bVar.a = bVar2.a();
|
||||
this.o = true;
|
||||
|
|
|
@ -375,8 +375,8 @@ public final class j extends i {
|
|||
bVar2.k = "audio/vorbis";
|
||||
bVar2.f = a0Var2.d;
|
||||
bVar2.g = a0Var2.f687c;
|
||||
bVar2.f2701x = a0Var2.a;
|
||||
bVar2.f2702y = a0Var2.b;
|
||||
bVar2.f2702x = a0Var2.a;
|
||||
bVar2.f2703y = a0Var2.b;
|
||||
bVar2.m = arrayList;
|
||||
bVar.a = bVar2.a();
|
||||
return true;
|
||||
|
|
|
@ -32,7 +32,7 @@ public final class e0 {
|
|||
bVar.a = str2;
|
||||
bVar.k = str;
|
||||
bVar.d = format.l;
|
||||
bVar.f2698c = format.k;
|
||||
bVar.f2699c = format.k;
|
||||
bVar.C = format.L;
|
||||
bVar.m = format.v;
|
||||
p.e(bVar.a());
|
||||
|
|
|
@ -313,9 +313,9 @@ public final class g implements o {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.a = this.d;
|
||||
bVar.k = str;
|
||||
bVar.f2701x = i;
|
||||
bVar.f2702y = i15;
|
||||
bVar.f2698c = this.f767c;
|
||||
bVar.f2702x = i;
|
||||
bVar.f2703y = i15;
|
||||
bVar.f2699c = this.f767c;
|
||||
Format a2 = bVar.a();
|
||||
this.j = a2;
|
||||
this.e.e(a2);
|
||||
|
|
|
@ -89,9 +89,9 @@ public final class i implements o {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.a = this.d;
|
||||
bVar.k = "audio/ac4";
|
||||
bVar.f2701x = 2;
|
||||
bVar.f2702y = b.a;
|
||||
bVar.f2698c = this.f773c;
|
||||
bVar.f2702x = 2;
|
||||
bVar.f2703y = b.a;
|
||||
bVar.f2699c = this.f773c;
|
||||
Format a = bVar.a();
|
||||
this.k = a;
|
||||
this.e.e(a);
|
||||
|
|
|
@ -39,7 +39,7 @@ public final class j0 {
|
|||
bVar.a = dVar.b();
|
||||
bVar.k = str;
|
||||
bVar.d = format.l;
|
||||
bVar.f2698c = format.k;
|
||||
bVar.f2699c = format.k;
|
||||
bVar.C = format.L;
|
||||
bVar.m = format.v;
|
||||
p.e(bVar.a());
|
||||
|
|
|
@ -191,10 +191,10 @@ public final class k implements o {
|
|||
bVar.a = this.f;
|
||||
bVar.k = "audio/mp4a-latm";
|
||||
bVar.h = c2.f1057c;
|
||||
bVar.f2701x = c2.b;
|
||||
bVar.f2702y = c2.a;
|
||||
bVar.f2702x = c2.b;
|
||||
bVar.f2703y = c2.a;
|
||||
bVar.m = Collections.singletonList(bArr3);
|
||||
bVar.f2698c = this.e;
|
||||
bVar.f2699c = this.e;
|
||||
Format a2 = bVar.a();
|
||||
this.f778r = 1024000000 / ((long) a2.H);
|
||||
this.g.e(a2);
|
||||
|
|
|
@ -144,7 +144,7 @@ public final class l implements i0.c {
|
|||
}
|
||||
Format.b bVar2 = new Format.b();
|
||||
bVar2.k = str;
|
||||
bVar2.f2698c = str2;
|
||||
bVar2.f2699c = str2;
|
||||
bVar2.C = i;
|
||||
bVar2.m = list;
|
||||
arrayList.add(bVar2.a());
|
||||
|
|
|
@ -168,10 +168,10 @@ public final class m implements o {
|
|||
bVar.a = str;
|
||||
bVar.k = "audio/vnd.dts";
|
||||
bVar.f = i8;
|
||||
bVar.f2701x = i24;
|
||||
bVar.f2702y = i23;
|
||||
bVar.f2702x = i24;
|
||||
bVar.f2703y = i23;
|
||||
bVar.n = null;
|
||||
bVar.f2698c = str2;
|
||||
bVar.f2699c = str2;
|
||||
Format a = bVar.a();
|
||||
this.i = a;
|
||||
this.d.e(a);
|
||||
|
|
|
@ -77,7 +77,7 @@ public final class n implements o {
|
|||
bVar.a = dVar.b();
|
||||
bVar.k = "application/dvbsubs";
|
||||
bVar.m = Collections.singletonList(aVar.b);
|
||||
bVar.f2698c = aVar.a;
|
||||
bVar.f2699c = aVar.a;
|
||||
p.e(bVar.a());
|
||||
this.b[i] = p;
|
||||
}
|
||||
|
|
|
@ -124,10 +124,10 @@ public final class u implements o {
|
|||
bVar.a = this.e;
|
||||
bVar.k = "audio/mp4a-latm";
|
||||
bVar.h = this.u;
|
||||
bVar.f2701x = this.t;
|
||||
bVar.f2702y = this.f794r;
|
||||
bVar.f2702x = this.t;
|
||||
bVar.f2703y = this.f794r;
|
||||
bVar.m = Collections.singletonList(bArr3);
|
||||
bVar.f2698c = this.a;
|
||||
bVar.f2699c = this.a;
|
||||
Format a = bVar.a();
|
||||
if (!a.equals(this.f)) {
|
||||
this.f = a;
|
||||
|
|
|
@ -80,9 +80,9 @@ public final class v implements o {
|
|||
bVar.a = this.e;
|
||||
bVar.k = aVar.b;
|
||||
bVar.l = 4096;
|
||||
bVar.f2701x = aVar.e;
|
||||
bVar.f2702y = i5;
|
||||
bVar.f2698c = this.f795c;
|
||||
bVar.f2702x = aVar.e;
|
||||
bVar.f2703y = i5;
|
||||
bVar.f2699c = this.f795c;
|
||||
this.d.e(bVar.a());
|
||||
this.h = true;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ public final class x implements c0 {
|
|||
long j2 = -9223372036854775807L;
|
||||
if (d != -9223372036854775807L) {
|
||||
Format format = this.a;
|
||||
if (d != format.f2695x) {
|
||||
if (d != format.f2696x) {
|
||||
Format.b a = format.a();
|
||||
a.o = d;
|
||||
Format a2 = a.a();
|
||||
|
|
|
@ -67,9 +67,9 @@ public final class b implements h {
|
|||
bVar.f = i5;
|
||||
bVar.g = i5;
|
||||
bVar.l = max * 2 * i2;
|
||||
bVar.f2701x = cVar.b;
|
||||
bVar.f2702y = i4;
|
||||
bVar.f2703z = 2;
|
||||
bVar.f2702x = cVar.b;
|
||||
bVar.f2703y = i4;
|
||||
bVar.f2704z = 2;
|
||||
this.j = bVar.a();
|
||||
return;
|
||||
}
|
||||
|
@ -157,9 +157,9 @@ public final class b implements h {
|
|||
bVar.f = i4;
|
||||
bVar.g = i4;
|
||||
bVar.l = max;
|
||||
bVar.f2701x = cVar.b;
|
||||
bVar.f2702y = cVar.f802c;
|
||||
bVar.f2703z = i;
|
||||
bVar.f2702x = cVar.b;
|
||||
bVar.f2703y = cVar.f802c;
|
||||
bVar.f2704z = i;
|
||||
this.d = bVar.a();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -163,8 +163,8 @@ public final class o {
|
|||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/flac";
|
||||
bVar.l = i;
|
||||
bVar.f2701x = this.g;
|
||||
bVar.f2702y = this.e;
|
||||
bVar.f2702x = this.g;
|
||||
bVar.f2703y = this.e;
|
||||
bVar.m = Collections.singletonList(bArr);
|
||||
bVar.i = f;
|
||||
return bVar.a();
|
||||
|
|
|
@ -116,7 +116,7 @@ public final class s {
|
|||
if (format.B != format2.B) {
|
||||
i |= 1024;
|
||||
}
|
||||
if (!this.e && !(format.f2696y == format2.f2696y && format.f2697z == format2.f2697z)) {
|
||||
if (!this.e && !(format.f2697y == format2.f2697y && format.f2698z == format2.f2698z)) {
|
||||
i |= 512;
|
||||
}
|
||||
if (!f0.a(format.F, format2.F)) {
|
||||
|
@ -226,8 +226,8 @@ public final class s {
|
|||
return false;
|
||||
}
|
||||
if (this.g) {
|
||||
int i4 = format.f2696y;
|
||||
if (i4 <= 0 || (i = format.f2697z) <= 0) {
|
||||
int i4 = format.f2697y;
|
||||
if (i4 <= 0 || (i = format.f2698z) <= 0) {
|
||||
return true;
|
||||
}
|
||||
if (f0.a >= 21) {
|
||||
|
@ -238,9 +238,9 @@ public final class s {
|
|||
}
|
||||
if (!z5) {
|
||||
StringBuilder O3 = a.O("legacyFrameSize, ");
|
||||
O3.append(format.f2696y);
|
||||
O3.append(format.f2697y);
|
||||
O3.append("x");
|
||||
O3.append(format.f2697z);
|
||||
O3.append(format.f2698z);
|
||||
h(O3.toString());
|
||||
}
|
||||
return z5;
|
||||
|
|
|
@ -176,7 +176,7 @@ public final class f extends g0 implements Handler.Callback {
|
|||
} else if (I == -5) {
|
||||
Format format = A.b;
|
||||
Objects.requireNonNull(format);
|
||||
this.E = format.f2695x;
|
||||
this.E = format.f2696x;
|
||||
}
|
||||
}
|
||||
if (this.A > 0) {
|
||||
|
|
|
@ -1157,7 +1157,7 @@ public final class b0 implements v, j, Loader.b<a>, Loader.f, e0.b {
|
|||
IcyHeaders icyHeaders = this.B;
|
||||
if (icyHeaders != null) {
|
||||
if (h || this.D[i2].b) {
|
||||
Metadata metadata = l.f2693r;
|
||||
Metadata metadata = l.f2694r;
|
||||
Metadata metadata2 = metadata == null ? new Metadata(icyHeaders) : metadata.a(icyHeaders);
|
||||
Format.b a2 = l.a();
|
||||
a2.i = metadata2;
|
||||
|
|
|
@ -106,8 +106,8 @@ public final class c0 extends j implements b0.b {
|
|||
if (dVar != null) {
|
||||
dVar.a(true);
|
||||
}
|
||||
loader.f2776c.execute(new Loader.g(b0Var));
|
||||
loader.f2776c.shutdown();
|
||||
loader.f2777c.execute(new Loader.g(b0Var));
|
||||
loader.f2777c.shutdown();
|
||||
b0Var.f837z.removeCallbacksAndMessages(null);
|
||||
b0Var.A = null;
|
||||
b0Var.V = true;
|
||||
|
|
|
@ -371,9 +371,9 @@ public class e0 implements w {
|
|||
Format format2;
|
||||
Format format3 = this.g;
|
||||
boolean z2 = format3 == null;
|
||||
DrmInitData drmInitData = z2 ? null : format3.f2694w;
|
||||
DrmInitData drmInitData = z2 ? null : format3.f2695w;
|
||||
this.g = format;
|
||||
DrmInitData drmInitData2 = format.f2694w;
|
||||
DrmInitData drmInitData2 = format.f2695w;
|
||||
s sVar = this.f844c;
|
||||
if (sVar != null) {
|
||||
Class<? extends c.i.a.c.z1.w> c2 = sVar.c(format);
|
||||
|
|
|
@ -447,7 +447,7 @@ public final class l extends g0 implements Handler.Callback {
|
|||
} else {
|
||||
Format format = this.f870w.b;
|
||||
if (format != null) {
|
||||
iVar.q = format.f2695x;
|
||||
iVar.q = format.f2696x;
|
||||
iVar.s();
|
||||
this.f873z &= !iVar.o();
|
||||
} else {
|
||||
|
|
|
@ -10,7 +10,7 @@ public final /* synthetic */ class b implements Comparator {
|
|||
public final int compare(Object obj, Object obj2) {
|
||||
Integer num = (Integer) obj;
|
||||
Integer num2 = (Integer) obj2;
|
||||
int[] iArr = DefaultTrackSelector.f2741c;
|
||||
int[] iArr = DefaultTrackSelector.f2742c;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ public final /* synthetic */ class c implements Comparator {
|
|||
public final int compare(Object obj, Object obj2) {
|
||||
Integer num = (Integer) obj;
|
||||
Integer num2 = (Integer) obj2;
|
||||
int[] iArr = DefaultTrackSelector.f2741c;
|
||||
int[] iArr = DefaultTrackSelector.f2742c;
|
||||
if (num.intValue() == -1) {
|
||||
return num2.intValue() == -1 ? 0 : -1;
|
||||
}
|
||||
|
|
|
@ -206,7 +206,7 @@ public abstract class i extends l {
|
|||
int i25 = iArr13[i24];
|
||||
if (!parameters6.N && !parameters6.M) {
|
||||
int i26 = parameters6.A ? 24 : 16;
|
||||
boolean z12 = parameters6.f2746z && (i25 & i26) != 0;
|
||||
boolean z12 = parameters6.f2747z && (i25 & i26) != 0;
|
||||
DefaultTrackSelector.Parameters parameters7 = parameters6;
|
||||
int i27 = 0;
|
||||
while (true) {
|
||||
|
@ -218,7 +218,7 @@ public abstract class i extends l {
|
|||
defaultTrackSelector = defaultTrackSelector2;
|
||||
int i28 = parameters7.q;
|
||||
iArr7 = iArr13;
|
||||
int i29 = parameters7.f2742r;
|
||||
int i29 = parameters7.f2743r;
|
||||
iArr6 = iArr12;
|
||||
int i30 = parameters7.s;
|
||||
i9 = i23;
|
||||
|
@ -228,9 +228,9 @@ public abstract class i extends l {
|
|||
aVar4 = aVar6;
|
||||
int i33 = parameters7.v;
|
||||
aVarArr = aVarArr2;
|
||||
int i34 = parameters7.f2743w;
|
||||
int i34 = parameters7.f2744w;
|
||||
i8 = i24;
|
||||
int i35 = parameters7.f2744x;
|
||||
int i35 = parameters7.f2745x;
|
||||
iArr8 = iArr16;
|
||||
int i36 = parameters7.B;
|
||||
parameters4 = parameters5;
|
||||
|
@ -238,12 +238,12 @@ public abstract class i extends l {
|
|||
boolean z13 = parameters7.D;
|
||||
trackGroupArray2 = trackGroupArray4;
|
||||
if (trackGroup4.i < 2) {
|
||||
iArr9 = DefaultTrackSelector.f2741c;
|
||||
iArr9 = DefaultTrackSelector.f2742c;
|
||||
} else {
|
||||
List<Integer> d = DefaultTrackSelector.d(trackGroup4, i36, i37, z13);
|
||||
ArrayList arrayList3 = (ArrayList) d;
|
||||
if (arrayList3.size() < 2) {
|
||||
iArr9 = DefaultTrackSelector.f2741c;
|
||||
iArr9 = DefaultTrackSelector.f2742c;
|
||||
} else {
|
||||
if (!z12) {
|
||||
HashSet hashSet2 = new HashSet();
|
||||
|
@ -301,7 +301,7 @@ public abstract class i extends l {
|
|||
}
|
||||
arrayList = arrayList;
|
||||
}
|
||||
iArr9 = arrayList.size() < 2 ? DefaultTrackSelector.f2741c : c.l0(list);
|
||||
iArr9 = arrayList.size() < 2 ? DefaultTrackSelector.f2742c : c.l0(list);
|
||||
if (iArr9.length <= 0) {
|
||||
aVar5 = new g.a(trackGroup4, iArr9);
|
||||
break;
|
||||
|
@ -354,7 +354,7 @@ public abstract class i extends l {
|
|||
Format format = trackGroup6.j[i44];
|
||||
if ((format.m & 16384) == 0 && DefaultTrackSelector.e(iArr18[i44], parameters4.O)) {
|
||||
DefaultTrackSelector.e eVar3 = new DefaultTrackSelector.e(format, parameters4, iArr18[i44], ((ArrayList) d2).contains(Integer.valueOf(i44)));
|
||||
if ((eVar3.i || parameters4.f2745y) && (eVar2 == null || eVar3.compareTo(eVar2) > 0)) {
|
||||
if ((eVar3.i || parameters4.f2746y) && (eVar2 == null || eVar3.compareTo(eVar2) > 0)) {
|
||||
i43 = i44;
|
||||
trackGroup7 = trackGroup6;
|
||||
eVar2 = eVar3;
|
||||
|
|
|
@ -71,9 +71,9 @@ public abstract class g0 implements k1, l1 {
|
|||
} else if (a == -5) {
|
||||
Format format = s0Var.b;
|
||||
Objects.requireNonNull(format);
|
||||
if (format.f2695x != RecyclerView.FOREVER_NS) {
|
||||
if (format.f2696x != RecyclerView.FOREVER_NS) {
|
||||
Format.b a2 = format.a();
|
||||
a2.o = format.f2695x + this.p;
|
||||
a2.o = format.f2696x + this.p;
|
||||
s0Var.b = a2.a();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1518,7 +1518,7 @@ public class n extends MediaCodecRenderer {
|
|||
|
||||
public static int I0(s sVar, Format format) {
|
||||
if (format.u == -1) {
|
||||
return G0(sVar, format.t, format.f2696y, format.f2697z);
|
||||
return G0(sVar, format.t, format.f2697y, format.f2698z);
|
||||
}
|
||||
int size = format.v.size();
|
||||
int i = 0;
|
||||
|
@ -1710,9 +1710,9 @@ public class n extends MediaCodecRenderer {
|
|||
public e K(s sVar, Format format, Format format2) {
|
||||
e c2 = sVar.c(format, format2);
|
||||
int i = c2.e;
|
||||
int i2 = format2.f2696y;
|
||||
int i2 = format2.f2697y;
|
||||
a aVar = this.Y0;
|
||||
if (i2 > aVar.a || format2.f2697z > aVar.b) {
|
||||
if (i2 > aVar.a || format2.f2698z > aVar.b) {
|
||||
i |= 256;
|
||||
}
|
||||
if (I0(sVar, format2) > this.Y0.f983c) {
|
||||
|
@ -1768,11 +1768,11 @@ public class n extends MediaCodecRenderer {
|
|||
String str2 = sVar.f819c;
|
||||
Format[] formatArr2 = this.o;
|
||||
Objects.requireNonNull(formatArr2);
|
||||
int i3 = format.f2696y;
|
||||
int i4 = format.f2697z;
|
||||
int i3 = format.f2697y;
|
||||
int i4 = format.f2698z;
|
||||
int I0 = I0(sVar, format);
|
||||
if (formatArr2.length == 1) {
|
||||
if (!(I0 == -1 || (G0 = G0(sVar, format.t, format.f2696y, format.f2697z)) == -1)) {
|
||||
if (!(I0 == -1 || (G0 = G0(sVar, format.t, format.f2697y, format.f2698z)) == -1)) {
|
||||
I0 = Math.min((int) (((float) I0) * 1.5f), G0);
|
||||
}
|
||||
aVar = new a(i3, i4, I0);
|
||||
|
@ -1785,15 +1785,15 @@ public class n extends MediaCodecRenderer {
|
|||
Format format2 = formatArr2[i5];
|
||||
if (format.F != null && format2.F == null) {
|
||||
Format.b a2 = format2.a();
|
||||
a2.f2700w = format.F;
|
||||
a2.f2701w = format.F;
|
||||
format2 = a2.a();
|
||||
}
|
||||
if (sVar.c(format, format2).d != 0) {
|
||||
int i6 = format2.f2696y;
|
||||
int i6 = format2.f2697y;
|
||||
formatArr = formatArr2;
|
||||
z4 |= i6 == -1 || format2.f2697z == -1;
|
||||
z4 |= i6 == -1 || format2.f2698z == -1;
|
||||
int max = Math.max(i3, i6);
|
||||
int max2 = Math.max(i4, format2.f2697z);
|
||||
int max2 = Math.max(i4, format2.f2698z);
|
||||
I0 = Math.max(I0, I0(sVar, format2));
|
||||
i4 = max2;
|
||||
i3 = max;
|
||||
|
@ -1805,8 +1805,8 @@ public class n extends MediaCodecRenderer {
|
|||
}
|
||||
if (z4) {
|
||||
Log.w("MediaCodecVideoRenderer", "Resolutions unknown. Codec max resolution: " + i3 + "x" + i4);
|
||||
int i7 = format.f2697z;
|
||||
int i8 = format.f2696y;
|
||||
int i7 = format.f2698z;
|
||||
int i8 = format.f2697y;
|
||||
boolean z5 = i7 > i8;
|
||||
int i9 = z5 ? i7 : i8;
|
||||
if (z5) {
|
||||
|
@ -1863,8 +1863,8 @@ public class n extends MediaCodecRenderer {
|
|||
}
|
||||
mediaFormat = new MediaFormat();
|
||||
mediaFormat.setString("mime", str);
|
||||
mediaFormat.setInteger("width", format.f2696y);
|
||||
mediaFormat.setInteger("height", format.f2697z);
|
||||
mediaFormat.setInteger("width", format.f2697y);
|
||||
mediaFormat.setInteger("height", format.f2698z);
|
||||
d.W1(mediaFormat, format.v);
|
||||
f2 = format.A;
|
||||
if (f2 != -1.0f) {
|
||||
|
@ -1915,8 +1915,8 @@ public class n extends MediaCodecRenderer {
|
|||
i = !this.A1 ? this.B1 : 0;
|
||||
mediaFormat = new MediaFormat();
|
||||
mediaFormat.setString("mime", str);
|
||||
mediaFormat.setInteger("width", format.f2696y);
|
||||
mediaFormat.setInteger("height", format.f2697z);
|
||||
mediaFormat.setInteger("width", format.f2697y);
|
||||
mediaFormat.setInteger("height", format.f2698z);
|
||||
d.W1(mediaFormat, format.v);
|
||||
f2 = format.A;
|
||||
if (f2 != -1.0f) {
|
||||
|
@ -2215,8 +2215,8 @@ public class n extends MediaCodecRenderer {
|
|||
rVar.f(this.e1);
|
||||
}
|
||||
if (this.A1) {
|
||||
this.s1 = format.f2696y;
|
||||
this.t1 = format.f2697z;
|
||||
this.s1 = format.f2697y;
|
||||
this.t1 = format.f2698z;
|
||||
} else {
|
||||
Objects.requireNonNull(mediaFormat);
|
||||
boolean z2 = mediaFormat.containsKey("crop-right") && mediaFormat.containsKey("crop-left") && mediaFormat.containsKey("crop-bottom") && mediaFormat.containsKey("crop-top");
|
||||
|
@ -2596,7 +2596,7 @@ public class n extends MediaCodecRenderer {
|
|||
if (!c.i.a.c.i2.s.j(format.t)) {
|
||||
return 0;
|
||||
}
|
||||
boolean z2 = format.f2694w != null;
|
||||
boolean z2 = format.f2695w != null;
|
||||
List<s> H0 = H0(tVar, format, z2, false);
|
||||
if (z2 && H0.isEmpty()) {
|
||||
H0 = H0(tVar, format, false, false);
|
||||
|
|
|
@ -2472,7 +2472,7 @@ public final class q0 implements Handler.Callback, v.a, b1.d, m0.a, h1.a {
|
|||
while (i2 < length) {
|
||||
c.i.a.c.f2.g gVar = gVarArr[i2];
|
||||
if (gVar != null) {
|
||||
Metadata metadata = gVar.d(i).f2693r;
|
||||
Metadata metadata = gVar.d(i).f2694r;
|
||||
if (metadata == null) {
|
||||
Metadata metadata2 = new Metadata(new Metadata.Entry[i]);
|
||||
int i4 = i3 + 1;
|
||||
|
|
|
@ -84,7 +84,7 @@ public final class a0 extends u {
|
|||
public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException {
|
||||
int i = aVar.d;
|
||||
if (i == 3 || i == 2 || i == 268435456 || i == 536870912 || i == 805306368 || i == 4) {
|
||||
return i != 2 ? new AudioProcessor.a(aVar.b, aVar.f2704c, 2) : AudioProcessor.a.a;
|
||||
return i != 2 ? new AudioProcessor.a(aVar.b, aVar.f2705c, 2) : AudioProcessor.a.a;
|
||||
}
|
||||
throw new AudioProcessor.UnhandledAudioFormatException(aVar);
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ public final class d0 implements AudioProcessor {
|
|||
i = aVar.b;
|
||||
}
|
||||
this.e = aVar;
|
||||
AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2704c, 2);
|
||||
AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2705c, 2);
|
||||
this.f = aVar2;
|
||||
this.i = true;
|
||||
return aVar2;
|
||||
|
@ -128,7 +128,7 @@ public final class d0 implements AudioProcessor {
|
|||
AudioProcessor.a aVar2 = this.f;
|
||||
this.h = aVar2;
|
||||
if (this.i) {
|
||||
this.j = new c0(aVar.b, aVar.f2704c, this.f1056c, this.d, aVar2.b);
|
||||
this.j = new c0(aVar.b, aVar.f2705c, this.f1056c, this.d, aVar2.b);
|
||||
} else {
|
||||
c0 c0Var = this.j;
|
||||
if (c0Var != null) {
|
||||
|
|
|
@ -35,11 +35,11 @@ public final class v extends u {
|
|||
return AudioProcessor.a.a;
|
||||
}
|
||||
if (aVar.d == 2) {
|
||||
boolean z2 = aVar.f2704c != iArr.length;
|
||||
boolean z2 = aVar.f2705c != iArr.length;
|
||||
int i = 0;
|
||||
while (i < iArr.length) {
|
||||
int i2 = iArr[i];
|
||||
if (i2 < aVar.f2704c) {
|
||||
if (i2 < aVar.f2705c) {
|
||||
z2 |= i2 != i;
|
||||
i++;
|
||||
} else {
|
||||
|
|
|
@ -45,7 +45,7 @@ public final class x extends u {
|
|||
public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException {
|
||||
int i2 = aVar.d;
|
||||
if (f0.y(i2)) {
|
||||
return i2 != 4 ? new AudioProcessor.a(aVar.b, aVar.f2704c, 4) : AudioProcessor.a.a;
|
||||
return i2 != 4 ? new AudioProcessor.a(aVar.b, aVar.f2705c, 4) : AudioProcessor.a.a;
|
||||
}
|
||||
throw new AudioProcessor.UnhandledAudioFormatException(aVar);
|
||||
}
|
||||
|
|
|
@ -227,9 +227,9 @@ public class y extends MediaCodecRenderer implements r {
|
|||
int i4 = format.H;
|
||||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/raw";
|
||||
bVar.f2701x = i3;
|
||||
bVar.f2702y = i4;
|
||||
bVar.f2703z = 4;
|
||||
bVar.f2702x = i3;
|
||||
bVar.f2703y = i4;
|
||||
bVar.f2704z = 4;
|
||||
if (audioSink.s(bVar.a()) == 2) {
|
||||
mediaFormat.setInteger("pcm-encoding", 4);
|
||||
}
|
||||
|
@ -365,11 +365,11 @@ public class y extends MediaCodecRenderer implements r {
|
|||
int r2 = "audio/raw".equals(format.t) ? format.I : (f0.a < 24 || !mediaFormat.containsKey("pcm-encoding")) ? mediaFormat.containsKey("v-bits-per-sample") ? f0.r(mediaFormat.getInteger("v-bits-per-sample")) : "audio/raw".equals(format.t) ? format.I : 2 : mediaFormat.getInteger("pcm-encoding");
|
||||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/raw";
|
||||
bVar.f2703z = r2;
|
||||
bVar.f2704z = r2;
|
||||
bVar.A = format.J;
|
||||
bVar.B = format.K;
|
||||
bVar.f2701x = mediaFormat.getInteger("channel-count");
|
||||
bVar.f2702y = mediaFormat.getInteger("sample-rate");
|
||||
bVar.f2702x = mediaFormat.getInteger("channel-count");
|
||||
bVar.f2703y = mediaFormat.getInteger("sample-rate");
|
||||
Format a2 = bVar.a();
|
||||
if (this.T0 && a2.G == 6 && (i = format.G) < 6) {
|
||||
iArr = new int[i];
|
||||
|
@ -510,9 +510,9 @@ public class y extends MediaCodecRenderer implements r {
|
|||
int i3 = format.H;
|
||||
Format.b bVar = new Format.b();
|
||||
bVar.k = "audio/raw";
|
||||
bVar.f2701x = i2;
|
||||
bVar.f2702y = i3;
|
||||
bVar.f2703z = 2;
|
||||
bVar.f2702x = i2;
|
||||
bVar.f2703y = i3;
|
||||
bVar.f2704z = 2;
|
||||
if (!audioSink.a(bVar.a())) {
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public final /* synthetic */ class m implements MediaDrm.OnEventListener {
|
|||
z zVar = this.a;
|
||||
x.b bVar = this.b;
|
||||
Objects.requireNonNull(zVar);
|
||||
DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2722x;
|
||||
DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2723x;
|
||||
Objects.requireNonNull(cVar);
|
||||
cVar.obtainMessage(i, bArr).sendToTarget();
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ public final class p implements t {
|
|||
byte[] copyOf = bArr != null ? Arrays.copyOf(bArr, bArr.length) : null;
|
||||
d.D(defaultDrmSessionManager.m.isEmpty());
|
||||
defaultDrmSessionManager.v = 0;
|
||||
defaultDrmSessionManager.f2721w = copyOf;
|
||||
defaultDrmSessionManager.f2722w = copyOf;
|
||||
return defaultDrmSessionManager;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ public interface s {
|
|||
@Override // c.i.a.c.z1.s
|
||||
@Nullable
|
||||
public DrmSession b(Looper looper, @Nullable q.a aVar, Format format) {
|
||||
if (format.f2694w == null) {
|
||||
if (format.f2695w == null) {
|
||||
return null;
|
||||
}
|
||||
return new v(new DrmSession.DrmSessionException(new UnsupportedDrmException(1)));
|
||||
|
@ -29,7 +29,7 @@ public interface s {
|
|||
@Override // c.i.a.c.z1.s
|
||||
@Nullable
|
||||
public Class<c0> c(Format format) {
|
||||
if (format.f2694w != null) {
|
||||
if (format.f2695w != null) {
|
||||
return c0.class;
|
||||
}
|
||||
return null;
|
||||
|
|
|
@ -17,7 +17,7 @@ public class a extends b<GoogleSignInOptions> {
|
|||
public final synchronized int f() {
|
||||
if (j == 1) {
|
||||
Context context = this.a;
|
||||
Object obj = GoogleApiAvailability.f2799c;
|
||||
Object obj = GoogleApiAvailability.f2800c;
|
||||
GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d;
|
||||
int b = googleApiAvailability.b(context, 12451000);
|
||||
if (b == 0) {
|
||||
|
|
|
@ -128,7 +128,7 @@ public class a {
|
|||
jSONObject.put("expirationTime", googleSignInAccount.p);
|
||||
jSONObject.put("obfuscatedIdentifier", googleSignInAccount.q);
|
||||
JSONArray jSONArray = new JSONArray();
|
||||
List<Scope> list = googleSignInAccount.f2793r;
|
||||
List<Scope> list = googleSignInAccount.f2794r;
|
||||
Scope[] scopeArr = (Scope[]) list.toArray(new Scope[list.size()]);
|
||||
Arrays.sort(scopeArr, c.i);
|
||||
int i = 0;
|
||||
|
@ -155,7 +155,7 @@ public class a {
|
|||
if (account != null) {
|
||||
jSONObject2.put("accountName", account.name);
|
||||
}
|
||||
jSONObject2.put("idTokenRequested", googleSignInOptions.f2794r);
|
||||
jSONObject2.put("idTokenRequested", googleSignInOptions.f2795r);
|
||||
jSONObject2.put("forceCodeForRefreshToken", googleSignInOptions.t);
|
||||
jSONObject2.put("serverAuthRequested", googleSignInOptions.s);
|
||||
if (!TextUtils.isEmpty(googleSignInOptions.u)) {
|
||||
|
|
|
@ -16,7 +16,7 @@ public class a1 extends t0 {
|
|||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public a1(j jVar, g gVar) {
|
||||
super(jVar, GoogleApiAvailability.d);
|
||||
Object obj = GoogleApiAvailability.f2799c;
|
||||
Object obj = GoogleApiAvailability.f2800c;
|
||||
this.o = gVar;
|
||||
jVar.a("ConnectionlessLifecycleHelper", this);
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ public class b0 extends t0 {
|
|||
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||||
public b0(j jVar) {
|
||||
super(jVar, GoogleApiAvailability.d);
|
||||
Object obj = GoogleApiAvailability.f2799c;
|
||||
Object obj = GoogleApiAvailability.f2800c;
|
||||
jVar.a("GmsAvailabilityHelper", this);
|
||||
}
|
||||
|
||||
|
|
|
@ -656,7 +656,7 @@ public class g implements Handler.Callback {
|
|||
handlerThread.start();
|
||||
Looper looper = handlerThread.getLooper();
|
||||
Context applicationContext = context.getApplicationContext();
|
||||
Object obj = GoogleApiAvailability.f2799c;
|
||||
Object obj = GoogleApiAvailability.f2800c;
|
||||
l = new g(applicationContext, looper, GoogleApiAvailability.d);
|
||||
}
|
||||
gVar = l;
|
||||
|
|
|
@ -583,7 +583,7 @@ public abstract class b<T extends IInterface> {
|
|||
}
|
||||
}
|
||||
getServiceRequest.q = a;
|
||||
getServiceRequest.f2802r = t();
|
||||
getServiceRequest.f2803r = t();
|
||||
try {
|
||||
synchronized (this.i) {
|
||||
j jVar = this.j;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue