111.2 - Alpha (111202)
This commit is contained in:
parent
ae42e5d247
commit
86f3e79bc4
4760 changed files with 53338 additions and 52251 deletions
|
@ -10,8 +10,8 @@ android {
|
||||||
applicationId 'com.discord'
|
applicationId 'com.discord'
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 111201
|
versionCode 111202
|
||||||
versionName "111.1 - Alpha"
|
versionName "111.2 - Alpha"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="111201" android:versionName="111.1 - 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="111202" android:versionName="111.2 - Alpha" android:installLocation="auto" android:compileSdkVersion="30" android:compileSdkVersionCodename="11" package="com.discord" platformBuildVersionCode="30" platformBuildVersionName="11">
|
||||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="30"/>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
||||||
|
|
|
@ -256,13 +256,13 @@ public final class MediaBrowserCompat {
|
||||||
Log.i("MediaBrowserCompat", "Remote error registering client messenger.");
|
Log.i("MediaBrowserCompat", "Remote error registering client messenger.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
x.a.b.b.a.b e = b.a.e(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER));
|
x.a.b.b.a.b c = b.a.c(BundleCompat.getBinder(extras, MediaBrowserProtocol.EXTRA_SESSION_BINDER));
|
||||||
if (e != null) {
|
if (c != null) {
|
||||||
eVar.h = MediaSessionCompat.Token.a(eVar.f16b.getSessionToken(), e);
|
eVar.h = MediaSessionCompat.Token.a(eVar.f16b.getSessionToken(), c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IllegalStateException e2) {
|
} catch (IllegalStateException e) {
|
||||||
Log.e("MediaBrowserCompat", "Unexpected IllegalStateException", e2);
|
Log.e("MediaBrowserCompat", "Unexpected IllegalStateException", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
c.this.onConnected();
|
c.this.onConnected();
|
||||||
|
|
|
@ -45,9 +45,9 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
if (mediaControllerCompat$MediaControllerImplApi21 != null && bundle != null) {
|
if (mediaControllerCompat$MediaControllerImplApi21 != null && bundle != null) {
|
||||||
synchronized (mediaControllerCompat$MediaControllerImplApi21.f20b) {
|
synchronized (mediaControllerCompat$MediaControllerImplApi21.f20b) {
|
||||||
MediaSessionCompat.Token token = mediaControllerCompat$MediaControllerImplApi21.e;
|
MediaSessionCompat.Token token = mediaControllerCompat$MediaControllerImplApi21.e;
|
||||||
b e = b.a.e(BundleCompat.getBinder(bundle, "android.support.v4.media.session.EXTRA_BINDER"));
|
b c = b.a.c(BundleCompat.getBinder(bundle, "android.support.v4.media.session.EXTRA_BINDER"));
|
||||||
synchronized (token.j) {
|
synchronized (token.j) {
|
||||||
token.l = e;
|
token.l = c;
|
||||||
}
|
}
|
||||||
MediaSessionCompat.Token token2 = mediaControllerCompat$MediaControllerImplApi21.e;
|
MediaSessionCompat.Token token2 = mediaControllerCompat$MediaControllerImplApi21.e;
|
||||||
VersionedParcelable versionedParcelable = ParcelUtils.getVersionedParcelable(bundle, "android.support.v4.media.session.SESSION_TOKEN2");
|
VersionedParcelable versionedParcelable = ParcelUtils.getVersionedParcelable(bundle, "android.support.v4.media.session.SESSION_TOKEN2");
|
||||||
|
@ -66,7 +66,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||||
public void V(CharSequence charSequence) throws RemoteException {
|
public void U(CharSequence charSequence) throws RemoteException {
|
||||||
throw new AssertionError();
|
throw new AssertionError();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
@Override // x.a.b.b.a.c.b, x.a.b.b.a.a
|
||||||
public void w0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException {
|
public void s0(ParcelableVolumeInfo parcelableVolumeInfo) throws RemoteException {
|
||||||
throw new AssertionError();
|
throw new AssertionError();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ public class MediaControllerCompat$MediaControllerImplApi21 {
|
||||||
this.d.put(cVar, aVar);
|
this.d.put(cVar, aVar);
|
||||||
cVar.a = aVar;
|
cVar.a = aVar;
|
||||||
try {
|
try {
|
||||||
this.e.b().j(aVar);
|
this.e.b().k(aVar);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e("MediaControllerCompat", "Dead object in registerCallback.", e);
|
Log.e("MediaControllerCompat", "Dead object in registerCallback.", e);
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,12 +30,12 @@ public class ResultReceiver implements Parcelable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class b extends a.AbstractBinderC0361a {
|
public class b extends a.AbstractBinderC0357a {
|
||||||
public b() {
|
public b() {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // x.a.b.c.a
|
@Override // x.a.b.c.a
|
||||||
public void v0(int i, Bundle bundle) {
|
public void r0(int i, Bundle bundle) {
|
||||||
Objects.requireNonNull(ResultReceiver.this);
|
Objects.requireNonNull(ResultReceiver.this);
|
||||||
ResultReceiver.this.a(i, bundle);
|
ResultReceiver.this.a(i, bundle);
|
||||||
}
|
}
|
||||||
|
@ -44,12 +44,12 @@ public class ResultReceiver implements Parcelable {
|
||||||
public ResultReceiver(Parcel parcel) {
|
public ResultReceiver(Parcel parcel) {
|
||||||
x.a.b.c.a aVar;
|
x.a.b.c.a aVar;
|
||||||
IBinder readStrongBinder = parcel.readStrongBinder();
|
IBinder readStrongBinder = parcel.readStrongBinder();
|
||||||
int i = a.AbstractBinderC0361a.a;
|
int i = a.AbstractBinderC0357a.a;
|
||||||
if (readStrongBinder == null) {
|
if (readStrongBinder == null) {
|
||||||
aVar = null;
|
aVar = null;
|
||||||
} else {
|
} else {
|
||||||
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("android.support.v4.os.IResultReceiver");
|
||||||
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0361a.C0362a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
|
aVar = (queryLocalInterface == null || !(queryLocalInterface instanceof x.a.b.c.a)) ? new a.AbstractBinderC0357a.C0358a(readStrongBinder) : (x.a.b.c.a) queryLocalInterface;
|
||||||
}
|
}
|
||||||
this.j = aVar;
|
this.j = aVar;
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@ public class ResultReceiver implements Parcelable {
|
||||||
x.a.b.c.a aVar = this.j;
|
x.a.b.c.a aVar = this.j;
|
||||||
if (aVar != null) {
|
if (aVar != null) {
|
||||||
try {
|
try {
|
||||||
aVar.v0(i, bundle);
|
aVar.r0(i, bundle);
|
||||||
} catch (RemoteException unused) {
|
} catch (RemoteException unused) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1174,7 +1174,7 @@ public class AppCompatDelegateImpl extends AppCompatDelegate implements MenuBuil
|
||||||
R.append(", windowActionModeOverlay: ");
|
R.append(", windowActionModeOverlay: ");
|
||||||
R.append(this.mOverlayActionMode);
|
R.append(this.mOverlayActionMode);
|
||||||
R.append(", windowNoTitle: ");
|
R.append(", windowNoTitle: ");
|
||||||
throw new IllegalArgumentException(a.L(R, this.mWindowNoTitle, " }"));
|
throw new IllegalArgumentException(a.M(R, this.mWindowNoTitle, " }"));
|
||||||
}
|
}
|
||||||
obtainStyledAttributes.recycle();
|
obtainStyledAttributes.recycle();
|
||||||
throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity.");
|
throw new IllegalStateException("You need to use a Theme.AppCompat theme (or descendant) with this activity.");
|
||||||
|
|
|
@ -382,7 +382,7 @@ public class SearchView extends LinearLayoutCompat implements CollapsibleActionV
|
||||||
StringBuilder R = a.R("SearchView.SavedState{");
|
StringBuilder R = a.R("SearchView.SavedState{");
|
||||||
R.append(Integer.toHexString(System.identityHashCode(this)));
|
R.append(Integer.toHexString(System.identityHashCode(this)));
|
||||||
R.append(" isIconified=");
|
R.append(" isIconified=");
|
||||||
return a.L(R, this.isIconified, "}");
|
return a.M(R, this.isIconified, "}");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.customview.view.AbsSavedState, android.os.Parcelable
|
@Override // androidx.customview.view.AbsSavedState, android.os.Parcelable
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class CustomTabsClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
|
/* renamed from: androidx.browser.customtabs.CustomTabsClient$2 reason: invalid class name */
|
||||||
public class AnonymousClass2 extends a.AbstractBinderC0350a {
|
public class AnonymousClass2 extends a.AbstractBinderC0346a {
|
||||||
private Handler mHandler = new Handler(Looper.getMainLooper());
|
private Handler mHandler = new Handler(Looper.getMainLooper());
|
||||||
public final /* synthetic */ CustomTabsCallback val$callback;
|
public final /* synthetic */ CustomTabsCallback val$callback;
|
||||||
|
|
||||||
|
@ -219,7 +219,7 @@ public class CustomTabsClient {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private a.AbstractBinderC0350a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
|
private a.AbstractBinderC0346a createCallbackWrapper(@Nullable CustomTabsCallback customTabsCallback) {
|
||||||
return new AnonymousClass2(customTabsCallback);
|
return new AnonymousClass2(customTabsCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ public class CustomTabsClient {
|
||||||
@Nullable
|
@Nullable
|
||||||
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
private CustomTabsSession newSessionInternal(@Nullable CustomTabsCallback customTabsCallback, @Nullable PendingIntent pendingIntent) {
|
||||||
boolean z2;
|
boolean z2;
|
||||||
a.AbstractBinderC0350a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
a.AbstractBinderC0346a createCallbackWrapper = createCallbackWrapper(customTabsCallback);
|
||||||
if (pendingIntent != null) {
|
if (pendingIntent != null) {
|
||||||
try {
|
try {
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
|
|
|
@ -83,8 +83,8 @@ public class CustomTabsSessionToken {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MockCallback extends a.AbstractBinderC0350a {
|
public static class MockCallback extends a.AbstractBinderC0346a {
|
||||||
@Override // x.a.a.a.AbstractBinderC0350a, android.os.IInterface
|
@Override // x.a.a.a.AbstractBinderC0346a, android.os.IInterface
|
||||||
public IBinder asBinder() {
|
public IBinder asBinder() {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,7 @@ public class CustomTabsSessionToken {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (binder != null) {
|
if (binder != null) {
|
||||||
aVar = a.AbstractBinderC0350a.asInterface(binder);
|
aVar = a.AbstractBinderC0346a.asInterface(binder);
|
||||||
}
|
}
|
||||||
return new CustomTabsSessionToken(aVar, pendingIntent);
|
return new CustomTabsSessionToken(aVar, pendingIntent);
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ public abstract class PostMessageServiceConnection implements PostMessageBackend
|
||||||
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
public PostMessageServiceConnection(@NonNull CustomTabsSessionToken customTabsSessionToken) {
|
||||||
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
IBinder callbackBinder = customTabsSessionToken.getCallbackBinder();
|
||||||
if (callbackBinder != null) {
|
if (callbackBinder != null) {
|
||||||
this.mSessionBinder = a.AbstractBinderC0350a.asInterface(callbackBinder);
|
this.mSessionBinder = a.AbstractBinderC0346a.asInterface(callbackBinder);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException("Provided session must have binder.");
|
throw new IllegalArgumentException("Provided session must have binder.");
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class TrustedWebActivityCallbackRemote {
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
|
public static TrustedWebActivityCallbackRemote fromBinder(@Nullable IBinder iBinder) {
|
||||||
a asInterface = iBinder == null ? null : a.AbstractBinderC0354a.asInterface(iBinder);
|
a asInterface = iBinder == null ? null : a.AbstractBinderC0350a.asInterface(iBinder);
|
||||||
if (asInterface == null) {
|
if (asInterface == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class TrustedWebActivityServiceConnection {
|
||||||
private final b mService;
|
private final b mService;
|
||||||
|
|
||||||
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
|
/* renamed from: androidx.browser.trusted.TrustedWebActivityServiceConnection$1 reason: invalid class name */
|
||||||
public class AnonymousClass1 extends a.AbstractBinderC0354a {
|
public class AnonymousClass1 extends a.AbstractBinderC0350a {
|
||||||
public final /* synthetic */ TrustedWebActivityCallback val$callback;
|
public final /* synthetic */ TrustedWebActivityCallback val$callback;
|
||||||
|
|
||||||
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
public AnonymousClass1(TrustedWebActivityCallback trustedWebActivityCallback) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import android.os.RemoteException;
|
||||||
import x.a.b.a.a;
|
import x.a.b.a.a;
|
||||||
public abstract class NotificationCompatSideChannelService extends Service {
|
public abstract class NotificationCompatSideChannelService extends Service {
|
||||||
|
|
||||||
public class NotificationSideChannelStub extends a.AbstractBinderC0357a {
|
public class NotificationSideChannelStub extends a.AbstractBinderC0353a {
|
||||||
public NotificationSideChannelStub() {
|
public NotificationSideChannelStub() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ public final class NotificationManagerCompat {
|
||||||
sb.append(", tag:");
|
sb.append(", tag:");
|
||||||
sb.append(this.tag);
|
sb.append(this.tag);
|
||||||
sb.append(", all:");
|
sb.append(", all:");
|
||||||
return b.d.b.a.a.L(sb, this.all, "]");
|
return b.d.b.a.a.M(sb, this.all, "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ public final class NotificationManagerCompat {
|
||||||
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
private void handleServiceConnected(ComponentName componentName, IBinder iBinder) {
|
||||||
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
ListenerRecord listenerRecord = this.mRecordMap.get(componentName);
|
||||||
if (listenerRecord != null) {
|
if (listenerRecord != null) {
|
||||||
listenerRecord.service = a.AbstractBinderC0357a.asInterface(iBinder);
|
listenerRecord.service = a.AbstractBinderC0353a.asInterface(iBinder);
|
||||||
listenerRecord.retryCount = 0;
|
listenerRecord.retryCount = 0;
|
||||||
processListenerQueue(listenerRecord);
|
processListenerQueue(listenerRecord);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
|
|
||||||
@Override // d0.d0.a
|
@Override // d0.d0.a
|
||||||
public boolean contains(T t) {
|
public boolean contains(T t) {
|
||||||
return a.C0195a.contains(this, t);
|
return a.C0192a.contains(this, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX WARNING: Unknown variable types count: 1 */
|
/* JADX WARNING: Unknown variable types count: 1 */
|
||||||
|
@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
return a.C0195a.isEmpty(this);
|
return a.C0192a.isEmpty(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,147 @@
|
||||||
|
package androidx.exifinterface.media;
|
||||||
|
|
||||||
|
import android.media.MediaDataSource;
|
||||||
|
import android.media.MediaMetadataRetriever;
|
||||||
|
import android.system.ErrnoException;
|
||||||
|
import android.system.Os;
|
||||||
|
import android.util.Log;
|
||||||
|
import androidx.annotation.DoNotInline;
|
||||||
|
import androidx.annotation.RequiresApi;
|
||||||
|
import java.io.Closeable;
|
||||||
|
import java.io.FileDescriptor;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.io.InputStream;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
public class ExifInterfaceUtils {
|
||||||
|
private static final String TAG = "ExifInterfaceUtils";
|
||||||
|
|
||||||
|
@RequiresApi(21)
|
||||||
|
public static class Api21Impl {
|
||||||
|
private Api21Impl() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotInline
|
||||||
|
public static void close(FileDescriptor fileDescriptor) throws ErrnoException {
|
||||||
|
Os.close(fileDescriptor);
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotInline
|
||||||
|
public static FileDescriptor dup(FileDescriptor fileDescriptor) throws ErrnoException {
|
||||||
|
return Os.dup(fileDescriptor);
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotInline
|
||||||
|
public static long lseek(FileDescriptor fileDescriptor, long j, int i) throws ErrnoException {
|
||||||
|
return Os.lseek(fileDescriptor, j, i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@RequiresApi(23)
|
||||||
|
public static class Api23Impl {
|
||||||
|
private Api23Impl() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@DoNotInline
|
||||||
|
public static void setDataSource(MediaMetadataRetriever mediaMetadataRetriever, MediaDataSource mediaDataSource) {
|
||||||
|
mediaMetadataRetriever.setDataSource(mediaDataSource);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ExifInterfaceUtils() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String byteArrayToHexString(byte[] bArr) {
|
||||||
|
StringBuilder sb = new StringBuilder(bArr.length * 2);
|
||||||
|
for (int i = 0; i < bArr.length; i++) {
|
||||||
|
sb.append(String.format("%02x", Byte.valueOf(bArr[i])));
|
||||||
|
}
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void closeFileDescriptor(FileDescriptor fileDescriptor) {
|
||||||
|
try {
|
||||||
|
Api21Impl.close(fileDescriptor);
|
||||||
|
} catch (Exception unused) {
|
||||||
|
Log.e(TAG, "Error closing fd.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void closeQuietly(Closeable closeable) {
|
||||||
|
if (closeable != null) {
|
||||||
|
try {
|
||||||
|
closeable.close();
|
||||||
|
} catch (RuntimeException e) {
|
||||||
|
throw e;
|
||||||
|
} catch (Exception unused) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long[] convertToLongArray(Object obj) {
|
||||||
|
if (obj instanceof int[]) {
|
||||||
|
int[] iArr = (int[]) obj;
|
||||||
|
long[] jArr = new long[iArr.length];
|
||||||
|
for (int i = 0; i < iArr.length; i++) {
|
||||||
|
jArr[i] = (long) iArr[i];
|
||||||
|
}
|
||||||
|
return jArr;
|
||||||
|
} else if (obj instanceof long[]) {
|
||||||
|
return (long[]) obj;
|
||||||
|
} else {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int copy(InputStream inputStream, OutputStream outputStream) throws IOException {
|
||||||
|
byte[] bArr = new byte[8192];
|
||||||
|
int i = 0;
|
||||||
|
while (true) {
|
||||||
|
int read = inputStream.read(bArr);
|
||||||
|
if (read == -1) {
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
i += read;
|
||||||
|
outputStream.write(bArr, 0, read);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void copy(InputStream inputStream, OutputStream outputStream, int i) throws IOException {
|
||||||
|
byte[] bArr = new byte[8192];
|
||||||
|
while (i > 0) {
|
||||||
|
int min = Math.min(i, 8192);
|
||||||
|
int read = inputStream.read(bArr, 0, min);
|
||||||
|
if (read == min) {
|
||||||
|
i -= read;
|
||||||
|
outputStream.write(bArr, 0, read);
|
||||||
|
} else {
|
||||||
|
throw new IOException("Failed to copy the given amount of bytes from the inputstream to the output stream.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long parseSubSeconds(String str) {
|
||||||
|
try {
|
||||||
|
int min = Math.min(str.length(), 3);
|
||||||
|
long parseLong = Long.parseLong(str.substring(0, min));
|
||||||
|
while (min < 3) {
|
||||||
|
parseLong *= 10;
|
||||||
|
min++;
|
||||||
|
}
|
||||||
|
return parseLong;
|
||||||
|
} catch (NumberFormatException unused) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static boolean startsWith(byte[] bArr, byte[] bArr2) {
|
||||||
|
if (bArr == null || bArr2 == null || bArr.length < bArr2.length) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
for (int i = 0; i < bArr2.length; i++) {
|
||||||
|
if (bArr[i] != bArr2[i]) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
|
@ -658,7 +658,8 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public final FragmentActivity getActivity() {
|
/* renamed from: getActivity */
|
||||||
|
public final FragmentActivity e() {
|
||||||
FragmentHostCallback<?> fragmentHostCallback = this.mHost;
|
FragmentHostCallback<?> fragmentHostCallback = this.mHost;
|
||||||
if (fragmentHostCallback == null) {
|
if (fragmentHostCallback == null) {
|
||||||
return null;
|
return null;
|
||||||
|
@ -1660,7 +1661,7 @@ public class Fragment implements ComponentCallbacks, View.OnCreateContextMenuLis
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
public final FragmentActivity requireActivity() {
|
public final FragmentActivity requireActivity() {
|
||||||
FragmentActivity activity = getActivity();
|
FragmentActivity activity = e();
|
||||||
if (activity != null) {
|
if (activity != null) {
|
||||||
return activity;
|
return activity;
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,7 +239,11 @@ public abstract class FragmentTransaction {
|
||||||
if (str2 == null || str.equals(str2)) {
|
if (str2 == null || str.equals(str2)) {
|
||||||
fragment.mTag = str;
|
fragment.mTag = str;
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("Can't change tag of fragment " + fragment + ": was " + fragment.mTag + " now " + str);
|
StringBuilder sb = new StringBuilder();
|
||||||
|
sb.append("Can't change tag of fragment ");
|
||||||
|
sb.append(fragment);
|
||||||
|
sb.append(": was ");
|
||||||
|
throw new IllegalStateException(a.J(sb, fragment.mTag, " now ", str));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i != 0) {
|
if (i != 0) {
|
||||||
|
|
|
@ -43,7 +43,7 @@ public final class BlockRunner$cancel$1 extends k implements Function2<Coroutine
|
||||||
l.throwOnFailure(obj);
|
l.throwOnFailure(obj);
|
||||||
long access$getTimeoutInMs$p = BlockRunner.access$getTimeoutInMs$p(this.this$0);
|
long access$getTimeoutInMs$p = BlockRunner.access$getTimeoutInMs$p(this.this$0);
|
||||||
this.label = 1;
|
this.label = 1;
|
||||||
if (f.O(access$getTimeoutInMs$p, this) == coroutine_suspended) {
|
if (f.P(access$getTimeoutInMs$p, this) == coroutine_suspended) {
|
||||||
return coroutine_suspended;
|
return coroutine_suspended;
|
||||||
}
|
}
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
|
@ -54,7 +54,7 @@ public final class BlockRunner$cancel$1 extends k implements Function2<Coroutine
|
||||||
if (!BlockRunner.access$getLiveData$p(this.this$0).hasActiveObservers()) {
|
if (!BlockRunner.access$getLiveData$p(this.this$0).hasActiveObservers()) {
|
||||||
Job access$getRunningJob$p = BlockRunner.access$getRunningJob$p(this.this$0);
|
Job access$getRunningJob$p = BlockRunner.access$getRunningJob$p(this.this$0);
|
||||||
if (access$getRunningJob$p != null) {
|
if (access$getRunningJob$p != null) {
|
||||||
f.s(access$getRunningJob$p, null, 1, null);
|
f.t(access$getRunningJob$p, null, 1, null);
|
||||||
}
|
}
|
||||||
BlockRunner.access$setRunningJob$p(this.this$0, null);
|
BlockRunner.access$setRunningJob$p(this.this$0, null);
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ public final class BlockRunner<T> {
|
||||||
if (this.cancellationJob == null) {
|
if (this.cancellationJob == null) {
|
||||||
CoroutineScope coroutineScope = this.scope;
|
CoroutineScope coroutineScope = this.scope;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
this.cancellationJob = f.F0(coroutineScope, n.f3788b.H(), null, new BlockRunner$cancel$1(this, null), 2, null);
|
this.cancellationJob = f.H0(coroutineScope, n.f3791b.H(), null, new BlockRunner$cancel$1(this, null), 2, null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw new IllegalStateException("Cancel call cannot happen without a maybeRun".toString());
|
throw new IllegalStateException("Cancel call cannot happen without a maybeRun".toString());
|
||||||
|
@ -75,11 +75,11 @@ public final class BlockRunner<T> {
|
||||||
public final void maybeRun() {
|
public final void maybeRun() {
|
||||||
Job job = this.cancellationJob;
|
Job job = this.cancellationJob;
|
||||||
if (job != null) {
|
if (job != null) {
|
||||||
f.s(job, null, 1, null);
|
f.t(job, null, 1, null);
|
||||||
}
|
}
|
||||||
this.cancellationJob = null;
|
this.cancellationJob = null;
|
||||||
if (this.runningJob == null) {
|
if (this.runningJob == null) {
|
||||||
this.runningJob = f.F0(this.scope, null, null, new BlockRunner$maybeRun$1(this, null), 3, null);
|
this.runningJob = f.H0(this.scope, null, null, new BlockRunner$maybeRun$1(this, null), 3, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ public final class CloseableCoroutineScope implements Closeable, CoroutineScope
|
||||||
|
|
||||||
@Override // java.io.Closeable, java.lang.AutoCloseable
|
@Override // java.io.Closeable, java.lang.AutoCloseable
|
||||||
public void close() {
|
public void close() {
|
||||||
f.r(getCoroutineContext(), null, 1, null);
|
f.s(getCoroutineContext(), null, 1, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // kotlinx.coroutines.CoroutineScope
|
@Override // kotlinx.coroutines.CoroutineScope
|
||||||
|
|
|
@ -45,7 +45,7 @@ public final class CoroutineLiveData<T> extends MediatorLiveData<T> {
|
||||||
m.checkNotNullParameter(function2, "block");
|
m.checkNotNullParameter(function2, "block");
|
||||||
t1 t1Var = new t1((Job) coroutineContext.get(Job.h));
|
t1 t1Var = new t1((Job) coroutineContext.get(Job.h));
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
this.blockRunner = new BlockRunner<>(this, function2, j, f.c(n.f3788b.H().plus(coroutineContext).plus(t1Var)), new AnonymousClass1(this));
|
this.blockRunner = new BlockRunner<>(this, function2, j, f.c(n.f3791b.H().plus(coroutineContext).plus(t1Var)), new AnonymousClass1(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
|
||||||
|
|
|
@ -17,7 +17,7 @@ public final class CoroutineLiveDataKt {
|
||||||
|
|
||||||
public static final <T> Object addDisposableSource(MediatorLiveData<T> mediatorLiveData, LiveData<T> liveData, Continuation<? super EmittedSource> continuation) {
|
public static final <T> Object addDisposableSource(MediatorLiveData<T> mediatorLiveData, LiveData<T> liveData, Continuation<? super EmittedSource> continuation) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
return f.t1(n.f3788b.H(), new CoroutineLiveDataKt$addDisposableSource$2(mediatorLiveData, liveData, null), continuation);
|
return f.C1(n.f3791b.H(), new CoroutineLiveDataKt$addDisposableSource$2(mediatorLiveData, liveData, null), continuation);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final <T> LiveData<T> liveData(CoroutineContext coroutineContext, long j, Function2<? super LiveDataScope<T>, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
public static final <T> LiveData<T> liveData(CoroutineContext coroutineContext, long j, Function2<? super LiveDataScope<T>, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
||||||
|
|
|
@ -42,7 +42,7 @@ public final class DispatchQueue {
|
||||||
m.checkNotNullParameter(coroutineContext, "context");
|
m.checkNotNullParameter(coroutineContext, "context");
|
||||||
m.checkNotNullParameter(runnable, "runnable");
|
m.checkNotNullParameter(runnable, "runnable");
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
if (H.isDispatchNeeded(coroutineContext) || canRun()) {
|
if (H.isDispatchNeeded(coroutineContext) || canRun()) {
|
||||||
H.dispatch(coroutineContext, new DispatchQueue$dispatchAndEnqueue$$inlined$with$lambda$1(this, coroutineContext, runnable));
|
H.dispatch(coroutineContext, new DispatchQueue$dispatchAndEnqueue$$inlined$with$lambda$1(this, coroutineContext, runnable));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -39,12 +39,12 @@ public final class EmittedSource implements m0 {
|
||||||
@Override // s.a.m0
|
@Override // s.a.m0
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
f.F0(f.c(n.f3788b.H()), null, null, new EmittedSource$dispose$1(this, null), 3, null);
|
f.H0(f.c(n.f3791b.H()), null, null, new EmittedSource$dispose$1(this, null), 3, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Object disposeNow(Continuation<? super Unit> continuation) {
|
public final Object disposeNow(Continuation<? super Unit> continuation) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
Object t1 = f.t1(n.f3788b.H(), new EmittedSource$disposeNow$2(this, null), continuation);
|
Object C1 = f.C1(n.f3791b.H(), new EmittedSource$disposeNow$2(this, null), continuation);
|
||||||
return t1 == c.getCOROUTINE_SUSPENDED() ? t1 : Unit.a;
|
return C1 == c.getCOROUTINE_SUSPENDED() ? C1 : Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -146,13 +146,13 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
f b2 = b.i.a.f.e.o.f.b(-1, null, null, 6);
|
f b2 = b.i.a.f.e.o.f.b(-1, null, null, 6);
|
||||||
observer3 = new FlowLiveDataConversions$asFlow$1$observer$1(b2);
|
observer3 = new FlowLiveDataConversions$asFlow$1$observer$1(b2);
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
AnonymousClass1 r8 = new AnonymousClass1(this, observer3, null);
|
AnonymousClass1 r8 = new AnonymousClass1(this, observer3, null);
|
||||||
this.L$0 = eVar2;
|
this.L$0 = eVar2;
|
||||||
this.L$1 = b2;
|
this.L$1 = b2;
|
||||||
this.L$2 = observer3;
|
this.L$2 = observer3;
|
||||||
this.label = 1;
|
this.label = 1;
|
||||||
if (b.i.a.f.e.o.f.t1(H, r8, this) == coroutine_suspended) {
|
if (b.i.a.f.e.o.f.C1(H, r8, this) == coroutine_suspended) {
|
||||||
return coroutine_suspended;
|
return coroutine_suspended;
|
||||||
}
|
}
|
||||||
fVar = b2;
|
fVar = b2;
|
||||||
|
@ -171,7 +171,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
}
|
}
|
||||||
x0 x0Var = x0.j;
|
x0 x0Var = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher2 = k0.a;
|
CoroutineDispatcher coroutineDispatcher2 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer2, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer2, null), 2, null);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
} else if (i == 3) {
|
} else if (i == 3) {
|
||||||
g gVar3 = (g) this.L$2;
|
g gVar3 = (g) this.L$2;
|
||||||
|
@ -214,14 +214,14 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
}
|
}
|
||||||
x0 x0Var = x0.j;
|
x0 x0Var = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher2 = k0.a;
|
CoroutineDispatcher coroutineDispatcher2 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer2, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer2, null), 2, null);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
} catch (Throwable th2) {
|
} catch (Throwable th2) {
|
||||||
th = th2;
|
th = th2;
|
||||||
observer = observer2;
|
observer = observer2;
|
||||||
x0 x0Var2 = x0.j;
|
x0 x0Var2 = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var2, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var2, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
||||||
throw th;
|
throw th;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -231,7 +231,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
flowLiveDataConversions$asFlow$1 = this;
|
flowLiveDataConversions$asFlow$1 = this;
|
||||||
x0 x0Var2 = x0.j;
|
x0 x0Var2 = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var2, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var2, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
||||||
throw th;
|
throw th;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -247,7 +247,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
flowLiveDataConversions$asFlow$1 = this;
|
flowLiveDataConversions$asFlow$1 = this;
|
||||||
x0 x0Var2 = x0.j;
|
x0 x0Var2 = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var2, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var2, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
||||||
throw th;
|
throw th;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
@ -263,7 +263,7 @@ public final class FlowLiveDataConversions$asFlow$1 extends k implements Functio
|
||||||
th = th5;
|
th = th5;
|
||||||
x0 x0Var2 = x0.j;
|
x0 x0Var2 = x0.j;
|
||||||
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
CoroutineDispatcher coroutineDispatcher3 = k0.a;
|
||||||
b.i.a.f.e.o.f.F0(x0Var2, n.f3788b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
b.i.a.f.e.o.f.H0(x0Var2, n.f3791b.H(), null, new AnonymousClass2(flowLiveDataConversions$asFlow$1, observer, null), 2, null);
|
||||||
throw th;
|
throw th;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ public final class LifecycleController$observer$1 implements LifecycleEventObser
|
||||||
m.checkNotNullExpressionValue(lifecycle, "source.lifecycle");
|
m.checkNotNullExpressionValue(lifecycle, "source.lifecycle");
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
LifecycleController lifecycleController = this.this$0;
|
LifecycleController lifecycleController = this.this$0;
|
||||||
f.s(this.$parentJob, null, 1, null);
|
f.t(this.$parentJob, null, 1, null);
|
||||||
lifecycleController.finish();
|
lifecycleController.finish();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ public final class LifecycleController {
|
||||||
LifecycleController$observer$1 lifecycleController$observer$1 = new LifecycleController$observer$1(this, job);
|
LifecycleController$observer$1 lifecycleController$observer$1 = new LifecycleController$observer$1(this, job);
|
||||||
this.observer = lifecycleController$observer$1;
|
this.observer = lifecycleController$observer$1;
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
f.s(job, null, 1, null);
|
f.t(job, null, 1, null);
|
||||||
finish();
|
finish();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ public final class LifecycleController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private final void handleDestroy(Job job) {
|
private final void handleDestroy(Job job) {
|
||||||
f.s(job, null, 1, null);
|
f.t(job, null, 1, null);
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,16 +17,16 @@ public abstract class LifecycleCoroutineScope implements CoroutineScope {
|
||||||
|
|
||||||
public final Job launchWhenCreated(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
public final Job launchWhenCreated(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
||||||
m.checkNotNullParameter(function2, "block");
|
m.checkNotNullParameter(function2, "block");
|
||||||
return f.F0(this, null, null, new LifecycleCoroutineScope$launchWhenCreated$1(this, function2, null), 3, null);
|
return f.H0(this, null, null, new LifecycleCoroutineScope$launchWhenCreated$1(this, function2, null), 3, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Job launchWhenResumed(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
public final Job launchWhenResumed(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
||||||
m.checkNotNullParameter(function2, "block");
|
m.checkNotNullParameter(function2, "block");
|
||||||
return f.F0(this, null, null, new LifecycleCoroutineScope$launchWhenResumed$1(this, function2, null), 3, null);
|
return f.H0(this, null, null, new LifecycleCoroutineScope$launchWhenResumed$1(this, function2, null), 3, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final Job launchWhenStarted(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
public final Job launchWhenStarted(Function2<? super CoroutineScope, ? super Continuation<? super Unit>, ? extends Object> function2) {
|
||||||
m.checkNotNullParameter(function2, "block");
|
m.checkNotNullParameter(function2, "block");
|
||||||
return f.F0(this, null, null, new LifecycleCoroutineScope$launchWhenStarted$1(this, function2, null), 3, null);
|
return f.H0(this, null, null, new LifecycleCoroutineScope$launchWhenStarted$1(this, function2, null), 3, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ public final class LifecycleCoroutineScopeImpl$register$1 extends k implements F
|
||||||
if (this.this$0.getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.INITIALIZED) >= 0) {
|
if (this.this$0.getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.INITIALIZED) >= 0) {
|
||||||
this.this$0.getLifecycle$lifecycle_runtime_ktx_release().addObserver(this.this$0);
|
this.this$0.getLifecycle$lifecycle_runtime_ktx_release().addObserver(this.this$0);
|
||||||
} else {
|
} else {
|
||||||
f.r(coroutineScope.getCoroutineContext(), null, 1, null);
|
f.s(coroutineScope.getCoroutineContext(), null, 1, null);
|
||||||
}
|
}
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ public final class LifecycleCoroutineScopeImpl extends LifecycleCoroutineScope i
|
||||||
this.lifecycle = lifecycle;
|
this.lifecycle = lifecycle;
|
||||||
this.coroutineContext = coroutineContext;
|
this.coroutineContext = coroutineContext;
|
||||||
if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
f.r(getCoroutineContext(), null, 1, null);
|
f.s(getCoroutineContext(), null, 1, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,12 +38,12 @@ public final class LifecycleCoroutineScopeImpl extends LifecycleCoroutineScope i
|
||||||
m.checkNotNullParameter(event, "event");
|
m.checkNotNullParameter(event, "event");
|
||||||
if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.DESTROYED) <= 0) {
|
if (getLifecycle$lifecycle_runtime_ktx_release().getCurrentState().compareTo(Lifecycle.State.DESTROYED) <= 0) {
|
||||||
getLifecycle$lifecycle_runtime_ktx_release().removeObserver(this);
|
getLifecycle$lifecycle_runtime_ktx_release().removeObserver(this);
|
||||||
f.r(getCoroutineContext(), null, 1, null);
|
f.s(getCoroutineContext(), null, 1, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void register() {
|
public final void register() {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
f.F0(this, n.f3788b.H(), null, new LifecycleCoroutineScopeImpl$register$1(this, null), 2, null);
|
f.H0(this, n.f3791b.H(), null, new LifecycleCoroutineScopeImpl$register$1(this, null), 2, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class LifecycleKt {
|
||||||
}
|
}
|
||||||
u d = f.d(null, 1);
|
u d = f.d(null, 1);
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
lifecycleCoroutineScopeImpl = new LifecycleCoroutineScopeImpl(lifecycle, CoroutineContext.Element.a.plus((h1) d, n.f3788b.H()));
|
lifecycleCoroutineScopeImpl = new LifecycleCoroutineScopeImpl(lifecycle, CoroutineContext.Element.a.plus((h1) d, n.f3791b.H()));
|
||||||
} while (!lifecycle.mInternalScopeRef.compareAndSet(null, lifecycleCoroutineScopeImpl));
|
} while (!lifecycle.mInternalScopeRef.compareAndSet(null, lifecycleCoroutineScopeImpl));
|
||||||
lifecycleCoroutineScopeImpl.register();
|
lifecycleCoroutineScopeImpl.register();
|
||||||
return lifecycleCoroutineScopeImpl;
|
return lifecycleCoroutineScopeImpl;
|
||||||
|
|
|
@ -20,18 +20,18 @@ public final class LiveDataScopeImpl<T> implements LiveDataScope<T> {
|
||||||
m.checkNotNullParameter(coroutineContext, "context");
|
m.checkNotNullParameter(coroutineContext, "context");
|
||||||
this.target = coroutineLiveData;
|
this.target = coroutineLiveData;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
this.coroutineContext = coroutineContext.plus(n.f3788b.H());
|
this.coroutineContext = coroutineContext.plus(n.f3791b.H());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.lifecycle.LiveDataScope
|
@Override // androidx.lifecycle.LiveDataScope
|
||||||
public Object emit(T t, Continuation<? super Unit> continuation) {
|
public Object emit(T t, Continuation<? super Unit> continuation) {
|
||||||
Object t1 = f.t1(this.coroutineContext, new LiveDataScopeImpl$emit$2(this, t, null), continuation);
|
Object C1 = f.C1(this.coroutineContext, new LiveDataScopeImpl$emit$2(this, t, null), continuation);
|
||||||
return t1 == c.getCOROUTINE_SUSPENDED() ? t1 : Unit.a;
|
return C1 == c.getCOROUTINE_SUSPENDED() ? C1 : Unit.a;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.lifecycle.LiveDataScope
|
@Override // androidx.lifecycle.LiveDataScope
|
||||||
public Object emitSource(LiveData<T> liveData, Continuation<? super m0> continuation) {
|
public Object emitSource(LiveData<T> liveData, Continuation<? super m0> continuation) {
|
||||||
return f.t1(this.coroutineContext, new LiveDataScopeImpl$emitSource$2(this, liveData, null), continuation);
|
return f.C1(this.coroutineContext, new LiveDataScopeImpl$emitSource$2(this, liveData, null), continuation);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // androidx.lifecycle.LiveDataScope
|
@Override // androidx.lifecycle.LiveDataScope
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class PausingDispatcher extends CoroutineDispatcher {
|
||||||
public boolean isDispatchNeeded(CoroutineContext coroutineContext) {
|
public boolean isDispatchNeeded(CoroutineContext coroutineContext) {
|
||||||
m.checkNotNullParameter(coroutineContext, "context");
|
m.checkNotNullParameter(coroutineContext, "context");
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
if (n.f3788b.H().isDispatchNeeded(coroutineContext)) {
|
if (n.f3791b.H().isDispatchNeeded(coroutineContext)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return !this.dispatchQueue.canRun();
|
return !this.dispatchQueue.canRun();
|
||||||
|
|
|
@ -59,7 +59,7 @@ public final class PausingDispatcherKt$whenStateAtLeast$2 extends k implements F
|
||||||
Function2 function2 = this.$block;
|
Function2 function2 = this.$block;
|
||||||
this.L$0 = lifecycleController2;
|
this.L$0 = lifecycleController2;
|
||||||
this.label = 1;
|
this.label = 1;
|
||||||
obj = f.t1(pausingDispatcher, function2, this);
|
obj = f.C1(pausingDispatcher, function2, this);
|
||||||
if (obj == coroutine_suspended) {
|
if (obj == coroutine_suspended) {
|
||||||
return coroutine_suspended;
|
return coroutine_suspended;
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@ public final class PausingDispatcherKt {
|
||||||
|
|
||||||
public static final <T> Object whenStateAtLeast(Lifecycle lifecycle, Lifecycle.State state, Function2<? super CoroutineScope, ? super Continuation<? super T>, ? extends Object> function2, Continuation<? super T> continuation) {
|
public static final <T> Object whenStateAtLeast(Lifecycle lifecycle, Lifecycle.State state, Function2<? super CoroutineScope, ? super Continuation<? super T>, ? extends Object> function2, Continuation<? super T> continuation) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
return f.t1(n.f3788b.H(), new PausingDispatcherKt$whenStateAtLeast$2(lifecycle, state, function2, null), continuation);
|
return f.C1(n.f3791b.H(), new PausingDispatcherKt$whenStateAtLeast$2(lifecycle, state, function2, null), continuation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public final class ViewModelKt {
|
||||||
}
|
}
|
||||||
u d = f.d(null, 1);
|
u d = f.d(null, 1);
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
Object tagIfAbsent = viewModel.setTagIfAbsent(JOB_KEY, new CloseableCoroutineScope(CoroutineContext.Element.a.plus((h1) d, n.f3788b.H())));
|
Object tagIfAbsent = viewModel.setTagIfAbsent(JOB_KEY, new CloseableCoroutineScope(CoroutineContext.Element.a.plus((h1) d, n.f3791b.H())));
|
||||||
m.checkNotNullExpressionValue(tagIfAbsent, "setTagIfAbsent(\n …Main.immediate)\n )");
|
m.checkNotNullExpressionValue(tagIfAbsent, "setTagIfAbsent(\n …Main.immediate)\n )");
|
||||||
return (CoroutineScope) tagIfAbsent;
|
return (CoroutineScope) tagIfAbsent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ public final class WithLifecycleStateKt {
|
||||||
public static final <R> Object withCreated(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
public static final <R> Object withCreated(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.CREATED;
|
Lifecycle.State state = Lifecycle.State.CREATED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -52,7 +52,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.CREATED;
|
Lifecycle.State state = Lifecycle.State.CREATED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -67,7 +67,7 @@ public final class WithLifecycleStateKt {
|
||||||
private static final Object withCreated$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
private static final Object withCreated$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.CREATED;
|
Lifecycle.State state = Lifecycle.State.CREATED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.CREATED;
|
Lifecycle.State state = Lifecycle.State.CREATED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ public final class WithLifecycleStateKt {
|
||||||
public static final <R> Object withResumed(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
public static final <R> Object withResumed(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.RESUMED;
|
Lifecycle.State state = Lifecycle.State.RESUMED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -101,7 +101,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.RESUMED;
|
Lifecycle.State state = Lifecycle.State.RESUMED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -116,7 +116,7 @@ public final class WithLifecycleStateKt {
|
||||||
private static final Object withResumed$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
private static final Object withResumed$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.RESUMED;
|
Lifecycle.State state = Lifecycle.State.RESUMED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.RESUMED;
|
Lifecycle.State state = Lifecycle.State.RESUMED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -133,7 +133,7 @@ public final class WithLifecycleStateKt {
|
||||||
public static final <R> Object withStarted(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
public static final <R> Object withStarted(Lifecycle lifecycle, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.STARTED;
|
Lifecycle.State state = Lifecycle.State.STARTED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -150,7 +150,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.STARTED;
|
Lifecycle.State state = Lifecycle.State.STARTED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -165,7 +165,7 @@ public final class WithLifecycleStateKt {
|
||||||
private static final Object withStarted$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
private static final Object withStarted$$forInline(Lifecycle lifecycle, Function0 function0, Continuation continuation) {
|
||||||
Lifecycle.State state = Lifecycle.State.STARTED;
|
Lifecycle.State state = Lifecycle.State.STARTED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
m.checkNotNullExpressionValue(lifecycleOwner.getLifecycle(), "lifecycle");
|
||||||
Lifecycle.State state = Lifecycle.State.STARTED;
|
Lifecycle.State state = Lifecycle.State.STARTED;
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -182,7 +182,7 @@ public final class WithLifecycleStateKt {
|
||||||
public static final <R> Object withStateAtLeast(Lifecycle lifecycle, Lifecycle.State state, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
public static final <R> Object withStateAtLeast(Lifecycle lifecycle, Lifecycle.State state, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
||||||
if (state.compareTo(Lifecycle.State.CREATED) >= 0) {
|
if (state.compareTo(Lifecycle.State.CREATED) >= 0) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -201,7 +201,7 @@ public final class WithLifecycleStateKt {
|
||||||
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
m.checkNotNullExpressionValue(lifecycle, "lifecycle");
|
||||||
if (state.compareTo(Lifecycle.State.CREATED) >= 0) {
|
if (state.compareTo(Lifecycle.State.CREATED) >= 0) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -220,7 +220,7 @@ public final class WithLifecycleStateKt {
|
||||||
throw new IllegalArgumentException(("target state must be CREATED or greater, found " + state).toString());
|
throw new IllegalArgumentException(("target state must be CREATED or greater, found " + state).toString());
|
||||||
}
|
}
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
@ -231,14 +231,14 @@ public final class WithLifecycleStateKt {
|
||||||
throw new IllegalArgumentException(("target state must be CREATED or greater, found " + state).toString());
|
throw new IllegalArgumentException(("target state must be CREATED or greater, found " + state).toString());
|
||||||
}
|
}
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final <R> Object withStateAtLeastUnchecked(Lifecycle lifecycle, Lifecycle.State state, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
public static final <R> Object withStateAtLeastUnchecked(Lifecycle lifecycle, Lifecycle.State state, Function0<? extends R> function0, Continuation<? super R> continuation) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
l1 H = n.f3788b.H();
|
l1 H = n.f3791b.H();
|
||||||
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
boolean isDispatchNeeded = H.isDispatchNeeded(continuation.getContext());
|
||||||
if (!isDispatchNeeded) {
|
if (!isDispatchNeeded) {
|
||||||
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
if (lifecycle.getCurrentState() == Lifecycle.State.DESTROYED) {
|
||||||
|
@ -252,7 +252,7 @@ public final class WithLifecycleStateKt {
|
||||||
|
|
||||||
private static final Object withStateAtLeastUnchecked$$forInline(Lifecycle lifecycle, Lifecycle.State state, Function0 function0, Continuation continuation) {
|
private static final Object withStateAtLeastUnchecked$$forInline(Lifecycle lifecycle, Lifecycle.State state, Function0 function0, Continuation continuation) {
|
||||||
CoroutineDispatcher coroutineDispatcher = k0.a;
|
CoroutineDispatcher coroutineDispatcher = k0.a;
|
||||||
n.f3788b.H();
|
n.f3791b.H();
|
||||||
d0.z.d.l.mark(3);
|
d0.z.d.l.mark(3);
|
||||||
throw null;
|
throw null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1598,11 +1598,7 @@ public abstract class MediaBrowserServiceCompat extends Service {
|
||||||
}
|
}
|
||||||
this.mCurConnection = null;
|
this.mCurConnection = null;
|
||||||
if (!r7.isDone()) {
|
if (!r7.isDone()) {
|
||||||
StringBuilder R = a.R("onLoadChildren must call detach() or sendResult() before returning for package=");
|
throw new IllegalStateException(a.J(a.R("onLoadChildren must call detach() or sendResult() before returning for package="), connectionRecord.pkg, " id=", str));
|
||||||
R.append(connectionRecord.pkg);
|
|
||||||
R.append(" id=");
|
|
||||||
R.append(str);
|
|
||||||
throw new IllegalStateException(R.toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ public abstract class PreferenceDialogFragmentCompat extends DialogFragment impl
|
||||||
@Override // androidx.fragment.app.DialogFragment
|
@Override // androidx.fragment.app.DialogFragment
|
||||||
@NonNull
|
@NonNull
|
||||||
public Dialog onCreateDialog(Bundle bundle) {
|
public Dialog onCreateDialog(Bundle bundle) {
|
||||||
FragmentActivity activity = getActivity();
|
FragmentActivity activity = e();
|
||||||
this.mWhichButtonClicked = -2;
|
this.mWhichButtonClicked = -2;
|
||||||
AlertDialog.Builder negativeButton = new AlertDialog.Builder(activity).setTitle(this.mDialogTitle).setIcon(this.mDialogIcon).setPositiveButton(this.mPositiveButtonText, this).setNegativeButton(this.mNegativeButtonText, this);
|
AlertDialog.Builder negativeButton = new AlertDialog.Builder(activity).setTitle(this.mDialogTitle).setIcon(this.mDialogIcon).setPositiveButton(this.mPositiveButtonText, this).setNegativeButton(this.mNegativeButtonText, this);
|
||||||
View onCreateDialogView = onCreateDialogView(activity);
|
View onCreateDialogView = onCreateDialogView(activity);
|
||||||
|
|
|
@ -306,12 +306,12 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe
|
||||||
public void onCreate(@Nullable Bundle bundle) {
|
public void onCreate(@Nullable Bundle bundle) {
|
||||||
super.onCreate(bundle);
|
super.onCreate(bundle);
|
||||||
TypedValue typedValue = new TypedValue();
|
TypedValue typedValue = new TypedValue();
|
||||||
getActivity().getTheme().resolveAttribute(R.attr.preferenceTheme, typedValue, true);
|
e().getTheme().resolveAttribute(R.attr.preferenceTheme, typedValue, true);
|
||||||
int i = typedValue.resourceId;
|
int i = typedValue.resourceId;
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
i = R.style.PreferenceThemeOverlay;
|
i = R.style.PreferenceThemeOverlay;
|
||||||
}
|
}
|
||||||
getActivity().getTheme().applyStyle(i, false);
|
e().getTheme().applyStyle(i, false);
|
||||||
PreferenceManager preferenceManager = new PreferenceManager(getContext());
|
PreferenceManager preferenceManager = new PreferenceManager(getContext());
|
||||||
this.mPreferenceManager = preferenceManager;
|
this.mPreferenceManager = preferenceManager;
|
||||||
preferenceManager.setOnNavigateToScreenListener(this);
|
preferenceManager.setOnNavigateToScreenListener(this);
|
||||||
|
@ -387,8 +387,8 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe
|
||||||
public void onDisplayPreferenceDialog(Preference preference) {
|
public void onDisplayPreferenceDialog(Preference preference) {
|
||||||
DialogFragment dialogFragment;
|
DialogFragment dialogFragment;
|
||||||
boolean onPreferenceDisplayDialog = getCallbackFragment() instanceof OnPreferenceDisplayDialogCallback ? ((OnPreferenceDisplayDialogCallback) getCallbackFragment()).onPreferenceDisplayDialog(this, preference) : false;
|
boolean onPreferenceDisplayDialog = getCallbackFragment() instanceof OnPreferenceDisplayDialogCallback ? ((OnPreferenceDisplayDialogCallback) getCallbackFragment()).onPreferenceDisplayDialog(this, preference) : false;
|
||||||
if (!onPreferenceDisplayDialog && (getActivity() instanceof OnPreferenceDisplayDialogCallback)) {
|
if (!onPreferenceDisplayDialog && (e() instanceof OnPreferenceDisplayDialogCallback)) {
|
||||||
onPreferenceDisplayDialog = ((OnPreferenceDisplayDialogCallback) getActivity()).onPreferenceDisplayDialog(this, preference);
|
onPreferenceDisplayDialog = ((OnPreferenceDisplayDialogCallback) e()).onPreferenceDisplayDialog(this, preference);
|
||||||
}
|
}
|
||||||
if (!onPreferenceDisplayDialog && getParentFragmentManager().findFragmentByTag(DIALOG_FRAGMENT_TAG) == null) {
|
if (!onPreferenceDisplayDialog && getParentFragmentManager().findFragmentByTag(DIALOG_FRAGMENT_TAG) == null) {
|
||||||
if (preference instanceof EditTextPreference) {
|
if (preference instanceof EditTextPreference) {
|
||||||
|
@ -410,8 +410,8 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe
|
||||||
|
|
||||||
@Override // androidx.preference.PreferenceManager.OnNavigateToScreenListener
|
@Override // androidx.preference.PreferenceManager.OnNavigateToScreenListener
|
||||||
public void onNavigateToScreen(PreferenceScreen preferenceScreen) {
|
public void onNavigateToScreen(PreferenceScreen preferenceScreen) {
|
||||||
if (!(getCallbackFragment() instanceof OnPreferenceStartScreenCallback ? ((OnPreferenceStartScreenCallback) getCallbackFragment()).onPreferenceStartScreen(this, preferenceScreen) : false) && (getActivity() instanceof OnPreferenceStartScreenCallback)) {
|
if (!(getCallbackFragment() instanceof OnPreferenceStartScreenCallback ? ((OnPreferenceStartScreenCallback) getCallbackFragment()).onPreferenceStartScreen(this, preferenceScreen) : false) && (e() instanceof OnPreferenceStartScreenCallback)) {
|
||||||
((OnPreferenceStartScreenCallback) getActivity()).onPreferenceStartScreen(this, preferenceScreen);
|
((OnPreferenceStartScreenCallback) e()).onPreferenceStartScreen(this, preferenceScreen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -421,8 +421,8 @@ public abstract class PreferenceFragmentCompat extends Fragment implements Prefe
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
boolean onPreferenceStartFragment = getCallbackFragment() instanceof OnPreferenceStartFragmentCallback ? ((OnPreferenceStartFragmentCallback) getCallbackFragment()).onPreferenceStartFragment(this, preference) : false;
|
boolean onPreferenceStartFragment = getCallbackFragment() instanceof OnPreferenceStartFragmentCallback ? ((OnPreferenceStartFragmentCallback) getCallbackFragment()).onPreferenceStartFragment(this, preference) : false;
|
||||||
if (!onPreferenceStartFragment && (getActivity() instanceof OnPreferenceStartFragmentCallback)) {
|
if (!onPreferenceStartFragment && (e() instanceof OnPreferenceStartFragmentCallback)) {
|
||||||
onPreferenceStartFragment = ((OnPreferenceStartFragmentCallback) getActivity()).onPreferenceStartFragment(this, preference);
|
onPreferenceStartFragment = ((OnPreferenceStartFragmentCallback) e()).onPreferenceStartFragment(this, preference);
|
||||||
}
|
}
|
||||||
if (onPreferenceStartFragment) {
|
if (onPreferenceStartFragment) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -36,7 +36,7 @@ public abstract class CoroutineWorker extends ListenableWorker {
|
||||||
@Override // java.lang.Runnable
|
@Override // java.lang.Runnable
|
||||||
public final void run() {
|
public final void run() {
|
||||||
if (this.this$0.getFuture$work_runtime_ktx_release().isCancelled()) {
|
if (this.this$0.getFuture$work_runtime_ktx_release().isCancelled()) {
|
||||||
f.s(this.this$0.getJob$work_runtime_ktx_release(), null, 1, null);
|
f.t(this.this$0.getJob$work_runtime_ktx_release(), null, 1, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@ public abstract class CoroutineWorker extends ListenableWorker {
|
||||||
|
|
||||||
@Override // androidx.work.ListenableWorker
|
@Override // androidx.work.ListenableWorker
|
||||||
public final a<ListenableWorker.Result> startWork() {
|
public final a<ListenableWorker.Result> startWork() {
|
||||||
f.F0(f.c(getCoroutineContext().plus(this.job)), null, null, new CoroutineWorker$startWork$1(this, null), 3, null);
|
f.H0(f.c(getCoroutineContext().plus(this.job)), null, null, new CoroutineWorker$startWork$1(this, null), 3, null);
|
||||||
return this.future;
|
return this.future;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -267,7 +267,7 @@ public final class f extends AppViewModel<c> {
|
||||||
StringBuilder R = b.d.b.a.a.R("Loaded(subscription=");
|
StringBuilder R = b.d.b.a.a.R("Loaded(subscription=");
|
||||||
R.append(this.f);
|
R.append(this.f);
|
||||||
R.append(", isFromInventory=");
|
R.append(", isFromInventory=");
|
||||||
return b.d.b.a.a.L(R, this.g, ")");
|
return b.d.b.a.a.M(R, this.g, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ public final class k extends AppViewModel<c> {
|
||||||
R.append(", uncancelInProgress=");
|
R.append(", uncancelInProgress=");
|
||||||
R.append(this.f43b);
|
R.append(this.f43b);
|
||||||
R.append(", error=");
|
R.append(", error=");
|
||||||
return b.d.b.a.a.L(R, this.c, ")");
|
return b.d.b.a.a.M(R, this.c, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -189,7 +189,7 @@ public final class f extends AppViewModel<d> {
|
||||||
R.append(", showUnblockItem=");
|
R.append(", showUnblockItem=");
|
||||||
R.append(this.d);
|
R.append(this.d);
|
||||||
R.append(", showRemoveFriendItem=");
|
R.append(", showRemoveFriendItem=");
|
||||||
return b.d.b.a.a.L(R, this.e, ")");
|
return b.d.b.a.a.M(R, this.e, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ public final class e extends AppDialog {
|
||||||
m.checkNotNullParameter(simpleConfirmationDialogArgs, "args");
|
m.checkNotNullParameter(simpleConfirmationDialogArgs, "args");
|
||||||
m.checkNotNullParameter(onClickListener, "positiveClickListener");
|
m.checkNotNullParameter(onClickListener, "positiveClickListener");
|
||||||
e eVar = new e();
|
e eVar = new e();
|
||||||
eVar.setArguments(b.c.a.a0.d.c2(simpleConfirmationDialogArgs));
|
eVar.setArguments(b.c.a.a0.d.e2(simpleConfirmationDialogArgs));
|
||||||
eVar.m = onClickListener;
|
eVar.m = onClickListener;
|
||||||
eVar.show(fragmentManager, a0.getOrCreateKotlinClass(e.class).toString());
|
eVar.show(fragmentManager, a0.getOrCreateKotlinClass(e.class).toString());
|
||||||
return eVar;
|
return eVar;
|
||||||
|
|
|
@ -30,7 +30,7 @@ public final class c extends o implements Function1<StoreAudioManagerV2.State, U
|
||||||
List<DiscordAudioManager.AudioDevice> audioDevices = state2.getAudioDevices();
|
List<DiscordAudioManager.AudioDevice> audioDevices = state2.getAudioDevices();
|
||||||
DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice();
|
DiscordAudioManager.DeviceTypes activeAudioDevice = state2.getActiveAudioDevice();
|
||||||
DiscordAudioManager.DeviceTypes deviceTypes = DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET;
|
DiscordAudioManager.DeviceTypes deviceTypes = DiscordAudioManager.DeviceTypes.BLUETOOTH_HEADSET;
|
||||||
dVar.updateViewState(new d.a.C0014a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).f2747b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).f2747b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).f2747b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).f2747b));
|
dVar.updateViewState(new d.a.C0014a(activeAudioDevice, audioDevices.get(deviceTypes.getValue()).f2752b, audioDevices.get(deviceTypes.getValue()).d, audioDevices.get(DiscordAudioManager.DeviceTypes.SPEAKERPHONE.getValue()).f2752b, audioDevices.get(DiscordAudioManager.DeviceTypes.WIRED_HEADSET.getValue()).f2752b, audioDevices.get(DiscordAudioManager.DeviceTypes.EARPIECE.getValue()).f2752b));
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ public final class d extends AppViewModel<a> {
|
||||||
R.append(", showWiredItem=");
|
R.append(", showWiredItem=");
|
||||||
R.append(this.e);
|
R.append(this.e);
|
||||||
R.append(", showEarpieceItem=");
|
R.append(", showEarpieceItem=");
|
||||||
return b.d.b.a.a.L(R, this.f, ")");
|
return b.d.b.a.a.M(R, this.f, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,7 +190,7 @@ public final class r extends AppDialog {
|
||||||
|
|
||||||
@Override // android.view.View.OnClickListener
|
@Override // android.view.View.OnClickListener
|
||||||
public final void onClick(View view) {
|
public final void onClick(View view) {
|
||||||
FragmentActivity activity = this.j.getActivity();
|
FragmentActivity activity = this.j.e();
|
||||||
if (activity != null) {
|
if (activity != null) {
|
||||||
activity.onBackPressed();
|
activity.onBackPressed();
|
||||||
}
|
}
|
||||||
|
|
|
@ -126,7 +126,7 @@ public final class w extends AppViewModel<d> {
|
||||||
StringBuilder R = b.d.b.a.a.R("ViewState(userFlags=");
|
StringBuilder R = b.d.b.a.a.R("ViewState(userFlags=");
|
||||||
R.append(this.a);
|
R.append(this.a);
|
||||||
R.append(", isBusy=");
|
R.append(", isBusy=");
|
||||||
return b.d.b.a.a.L(R, this.f49b, ")");
|
return b.d.b.a.a.M(R, this.f49b, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ public final class c extends AppDialog {
|
||||||
StringBuilder R = b.d.b.a.a.R("GiftUiState(giftState=");
|
StringBuilder R = b.d.b.a.a.R("GiftUiState(giftState=");
|
||||||
R.append(this.a);
|
R.append(this.a);
|
||||||
R.append(", reduceMotion=");
|
R.append(", reduceMotion=");
|
||||||
return b.d.b.a.a.L(R, this.f50b, ")");
|
return b.d.b.a.a.M(R, this.f50b, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ public final class c extends AppDialog {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
l.throwOnFailure(obj);
|
l.throwOnFailure(obj);
|
||||||
this.label = 1;
|
this.label = 1;
|
||||||
if (b.i.a.f.e.o.f.O(200, this) == coroutine_suspended) {
|
if (b.i.a.f.e.o.f.P(200, this) == coroutine_suspended) {
|
||||||
return coroutine_suspended;
|
return coroutine_suspended;
|
||||||
}
|
}
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
|
@ -501,7 +501,7 @@ public final class c extends AppDialog {
|
||||||
rLottieImageView2.c(animRes, dpToPixels, DimenUtils.dpToPixels(rLottieImageView4.getLayoutParams().height));
|
rLottieImageView2.c(animRes, dpToPixels, DimenUtils.dpToPixels(rLottieImageView4.getLayoutParams().height));
|
||||||
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(rLottieImageView2);
|
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(rLottieImageView2);
|
||||||
if (coroutineScope != null) {
|
if (coroutineScope != null) {
|
||||||
b.i.a.f.e.o.f.F0(coroutineScope, null, null, new C0020c(rLottieImageView2, null), 3, null);
|
b.i.a.f.e.o.f.H0(coroutineScope, null, null, new C0020c(rLottieImageView2, null), 3, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m.checkNotNullExpressionValue(rLottieImageView2, "binding.acceptGiftBodyLo… }\n }\n }");
|
m.checkNotNullExpressionValue(rLottieImageView2, "binding.acceptGiftBodyLo… }\n }\n }");
|
||||||
|
|
|
@ -124,7 +124,7 @@ public final class j {
|
||||||
if (intent2 != null) {
|
if (intent2 != null) {
|
||||||
intent = intent2;
|
intent = intent2;
|
||||||
} else if (parcelable != null) {
|
} else if (parcelable != null) {
|
||||||
intent = d.e2(parcelable);
|
intent = d.g2(parcelable);
|
||||||
}
|
}
|
||||||
AppLog appLog = AppLog.g;
|
AppLog appLog = AppLog.g;
|
||||||
String simpleName = context.getClass().getSimpleName();
|
String simpleName = context.getClass().getSimpleName();
|
||||||
|
@ -163,7 +163,7 @@ public final class j {
|
||||||
d0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment");
|
d0.z.d.m.checkNotNullExpressionValue(instantiate, "fragment");
|
||||||
Bundle bundle = (Bundle) (!(parcelable instanceof Bundle) ? null : parcelable);
|
Bundle bundle = (Bundle) (!(parcelable instanceof Bundle) ? null : parcelable);
|
||||||
if (bundle == null) {
|
if (bundle == null) {
|
||||||
bundle = d.c2(parcelable);
|
bundle = d.e2(parcelable);
|
||||||
}
|
}
|
||||||
instantiate.setArguments(bundle);
|
instantiate.setArguments(bundle);
|
||||||
}
|
}
|
||||||
|
@ -197,7 +197,7 @@ public final class j {
|
||||||
if (intent2 != null) {
|
if (intent2 != null) {
|
||||||
intent = intent2;
|
intent = intent2;
|
||||||
} else if (parcelable != null) {
|
} else if (parcelable != null) {
|
||||||
intent = d.e2(parcelable);
|
intent = d.g2(parcelable);
|
||||||
}
|
}
|
||||||
activityResultLauncher.launch(a(context, cls, intent));
|
activityResultLauncher.launch(a(context, cls, intent));
|
||||||
}
|
}
|
||||||
|
|
|
@ -229,7 +229,7 @@ public final class b {
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
String replace = a.replace(charSequence, "%s");
|
String replace = a.replace(charSequence, "%s");
|
||||||
Object[] copyOf = Arrays.copyOf(objArr, objArr.length);
|
Object[] copyOf = Arrays.copyOf(objArr, objArr.length);
|
||||||
charSequence = b.d.b.a.a.M(copyOf, copyOf.length, replace, "java.lang.String.format(this, *args)");
|
charSequence = b.d.b.a.a.N(copyOf, copyOf.length, replace, "java.lang.String.format(this, *args)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a aVar = a.d;
|
a aVar = a.d;
|
||||||
|
@ -259,7 +259,7 @@ public final class b {
|
||||||
m.checkNotNullParameter(charSequence, "$this$i18nFormat");
|
m.checkNotNullParameter(charSequence, "$this$i18nFormat");
|
||||||
m.checkNotNullParameter(objArr, "formatArgs");
|
m.checkNotNullParameter(objArr, "formatArgs");
|
||||||
m.checkNotNullParameter(function1, "initializer");
|
m.checkNotNullParameter(function1, "initializer");
|
||||||
return f(charSequence, objArr, b.c.a.a0.d.P1(function1, Arrays.copyOf(objArr, objArr.length)));
|
return f(charSequence, objArr, b.c.a.a0.d.R1(function1, Arrays.copyOf(objArr, objArr.length)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static /* synthetic */ CharSequence h(Context context, int i, Object[] objArr, Function1 function1, int i2) {
|
public static /* synthetic */ CharSequence h(Context context, int i, Object[] objArr, Function1 function1, int i2) {
|
||||||
|
@ -286,11 +286,11 @@ public final class b {
|
||||||
m.checkNotNullParameter(textView, "$this$i18nSetText");
|
m.checkNotNullParameter(textView, "$this$i18nSetText");
|
||||||
m.checkNotNullParameter(objArr, "formatArgs");
|
m.checkNotNullParameter(objArr, "formatArgs");
|
||||||
m.checkNotNullParameter(function1, "initializer");
|
m.checkNotNullParameter(function1, "initializer");
|
||||||
RenderContext P1 = b.c.a.a0.d.P1(function1, Arrays.copyOf(objArr, objArr.length));
|
RenderContext R1 = b.c.a.a0.d.R1(function1, Arrays.copyOf(objArr, objArr.length));
|
||||||
textView.setMovementMethod(P1.g ? LinkMovementMethod.getInstance() : null);
|
textView.setMovementMethod(R1.g ? LinkMovementMethod.getInstance() : null);
|
||||||
String string = textView.getContext().getString(i);
|
String string = textView.getContext().getString(i);
|
||||||
m.checkNotNullExpressionValue(string, "context.getString(stringResId)");
|
m.checkNotNullExpressionValue(string, "context.getString(stringResId)");
|
||||||
textView.setText(f(string, objArr, P1));
|
textView.setText(f(string, objArr, R1));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static /* synthetic */ void n(TextView textView, int i, Object[] objArr, Function1 function1, int i2) {
|
public static /* synthetic */ void n(TextView textView, int i, Object[] objArr, Function1 function1, int i2) {
|
||||||
|
@ -309,11 +309,11 @@ public final class b {
|
||||||
textView.setMovementMethod(null);
|
textView.setMovementMethod(null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
RenderContext P1 = b.c.a.a0.d.P1(hVar, Arrays.copyOf(objArr, objArr.length));
|
RenderContext R1 = b.c.a.a0.d.R1(hVar, Arrays.copyOf(objArr, objArr.length));
|
||||||
if (P1.g) {
|
if (R1.g) {
|
||||||
movementMethod = LinkMovementMethod.getInstance();
|
movementMethod = LinkMovementMethod.getInstance();
|
||||||
}
|
}
|
||||||
textView.setMovementMethod(movementMethod);
|
textView.setMovementMethod(movementMethod);
|
||||||
textView.setText(f(charSequence, objArr, P1));
|
textView.setText(f(charSequence, objArr, R1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ public final class b extends o implements Function1<View, Unit> {
|
||||||
public Unit invoke(View view) {
|
public Unit invoke(View view) {
|
||||||
View view2 = view;
|
View view2 = view;
|
||||||
m.checkNotNullParameter(view2, "view");
|
m.checkNotNullParameter(view2, "view");
|
||||||
this.$clickHandler.f2668b.invoke(this.this$0.a, view2);
|
this.$clickHandler.f2673b.invoke(this.this$0.a, view2);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,11 +25,11 @@ public final class c extends Node.a<RenderContext> {
|
||||||
RenderContext renderContext = (RenderContext) obj;
|
RenderContext renderContext = (RenderContext) obj;
|
||||||
m.checkNotNullParameter(spannableStringBuilder, "builder");
|
m.checkNotNullParameter(spannableStringBuilder, "builder");
|
||||||
m.checkNotNullParameter(renderContext, "renderContext");
|
m.checkNotNullParameter(renderContext, "renderContext");
|
||||||
Hook hook = renderContext.f2669b.get(this.a);
|
Hook hook = renderContext.f2674b.get(this.a);
|
||||||
int length = spannableStringBuilder.length();
|
int length = spannableStringBuilder.length();
|
||||||
super.render(spannableStringBuilder, renderContext);
|
super.render(spannableStringBuilder, renderContext);
|
||||||
Hook.a aVar = null;
|
Hook.a aVar = null;
|
||||||
CharSequence charSequence = hook != null ? hook.f2667b : null;
|
CharSequence charSequence = hook != null ? hook.f2672b : null;
|
||||||
if (charSequence != null) {
|
if (charSequence != null) {
|
||||||
spannableStringBuilder.replace(length, spannableStringBuilder.length(), charSequence);
|
spannableStringBuilder.replace(length, spannableStringBuilder.length(), charSequence);
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class b extends o implements Function1<OverlayBubbleWrap, Boolean>
|
||||||
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
|
OverlayBubbleWrap overlayBubbleWrap2 = overlayBubbleWrap;
|
||||||
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
|
m.checkNotNullParameter(overlayBubbleWrap2, "bubbleWrap");
|
||||||
try {
|
try {
|
||||||
this.this$0.f2714s.removeViewImmediate(overlayBubbleWrap2);
|
this.this$0.f2719s.removeViewImmediate(overlayBubbleWrap2);
|
||||||
this.this$0.m.invoke(overlayBubbleWrap2);
|
this.this$0.m.invoke(overlayBubbleWrap2);
|
||||||
z2 = true;
|
z2 = true;
|
||||||
} catch (IllegalArgumentException unused) {
|
} catch (IllegalArgumentException unused) {
|
||||||
|
|
|
@ -77,8 +77,8 @@ public final class d implements View.OnClickListener {
|
||||||
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
|
overlayBubbleWrap.addOnAttachStateChangeListener(new a(this));
|
||||||
this.j.a(overlayBubbleWrap);
|
this.j.a(overlayBubbleWrap);
|
||||||
this.l.setBubbleTouchable(false);
|
this.l.setBubbleTouchable(false);
|
||||||
this.j.f2714s.removeViewImmediate(this.l);
|
this.j.f2719s.removeViewImmediate(this.l);
|
||||||
WindowManager windowManager = this.j.f2714s;
|
WindowManager windowManager = this.j.f2719s;
|
||||||
OverlayBubbleWrap overlayBubbleWrap2 = this.l;
|
OverlayBubbleWrap overlayBubbleWrap2 = this.l;
|
||||||
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
|
windowManager.addView(overlayBubbleWrap2, overlayBubbleWrap2.getWindowLayoutParams());
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,15 +28,15 @@ public final class e<T> implements Action1<k.c> {
|
||||||
PublishSubject<AppMediaPlayer.Event> publishSubject2 = this.j.a;
|
PublishSubject<AppMediaPlayer.Event> publishSubject2 = this.j.a;
|
||||||
publishSubject2.k.onNext(AppMediaPlayer.Event.a.a);
|
publishSubject2.k.onNext(AppMediaPlayer.Event.a.a);
|
||||||
AppMediaPlayer appMediaPlayer = this.j;
|
AppMediaPlayer appMediaPlayer = this.j;
|
||||||
Subscription subscription = appMediaPlayer.f2717b;
|
Subscription subscription = appMediaPlayer.f2722b;
|
||||||
if (subscription != null) {
|
if (subscription != null) {
|
||||||
subscription.unsubscribe();
|
subscription.unsubscribe();
|
||||||
}
|
}
|
||||||
appMediaPlayer.f2717b = Observable.E(500, 500, TimeUnit.MILLISECONDS, appMediaPlayer.i).K().I(a.a()).W(new g(appMediaPlayer), new h(appMediaPlayer));
|
appMediaPlayer.f2722b = Observable.E(500, 500, TimeUnit.MILLISECONDS, appMediaPlayer.i).K().I(a.a()).W(new g(appMediaPlayer), new h(appMediaPlayer));
|
||||||
} else if (i == 4) {
|
} else if (i == 4) {
|
||||||
PublishSubject<AppMediaPlayer.Event> publishSubject3 = this.j.a;
|
PublishSubject<AppMediaPlayer.Event> publishSubject3 = this.j.a;
|
||||||
publishSubject3.k.onNext(AppMediaPlayer.Event.e.a);
|
publishSubject3.k.onNext(AppMediaPlayer.Event.e.a);
|
||||||
Subscription subscription2 = this.j.f2717b;
|
Subscription subscription2 = this.j.f2722b;
|
||||||
if (subscription2 != null) {
|
if (subscription2 != null) {
|
||||||
subscription2.unsubscribe();
|
subscription2.unsubscribe();
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,10 @@ public final class i {
|
||||||
z0 z0Var = new z0(new o(true, 65536), 10000, 30000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false);
|
z0 z0Var = new z0(new o(true, 65536), 10000, 30000, GuildConstantsKt.MAX_GUILD_MEMBERS_NOTIFY_ALL_MESSAGES, 5000, -1, false, 0, false);
|
||||||
m.checkNotNullExpressionValue(z0Var, "DefaultLoadControl.Build… )\n .build()");
|
m.checkNotNullExpressionValue(z0Var, "DefaultLoadControl.Build… )\n .build()");
|
||||||
e1.b bVar = new e1.b(context);
|
e1.b bVar = new e1.b(context);
|
||||||
d.D(!bVar.f910s);
|
d.D(!bVar.f914s);
|
||||||
bVar.f = new b.i.a.c.d(z0Var);
|
bVar.f = new b.i.a.c.d(z0Var);
|
||||||
d.D(!bVar.f910s);
|
d.D(!bVar.f914s);
|
||||||
bVar.f910s = true;
|
bVar.f914s = true;
|
||||||
k2 k2Var = new k2(bVar);
|
k2 k2Var = new k2(bVar);
|
||||||
m.checkNotNullExpressionValue(k2Var, "ExoPlayer\n .Bui…ntrol)\n .build()");
|
m.checkNotNullExpressionValue(k2Var, "ExoPlayer\n .Bui…ntrol)\n .build()");
|
||||||
k2Var.x(kVar);
|
k2Var.x(kVar);
|
||||||
|
|
|
@ -25,6 +25,6 @@ public final class j implements l.a {
|
||||||
l lVar = l.f249b;
|
l lVar = l.f249b;
|
||||||
r rVar = (r) l.a.getValue();
|
r rVar = (r) l.a.getValue();
|
||||||
q.a aVar = this.a;
|
q.a aVar = this.a;
|
||||||
return new c(rVar, new q(aVar.a, aVar.f935b.a()), new FileDataSource(), new CacheDataSink(rVar, this.f248b), 3, null);
|
return new c(rVar, new q(aVar.a, aVar.f939b.a()), new FileDataSource(), new CacheDataSink(rVar, this.f248b), 3, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ public final class k implements y1.e {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return b.d.b.a.a.L(b.d.b.a.a.R("IsPlayingChange(isPlaying="), this.a, ")");
|
return b.d.b.a.a.M(b.d.b.a.a.R("IsPlayingChange(isPlaying="), this.a, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
Pair<? extends Map<String, ? extends EncodeQuality>, ? extends RtcConnection.State> pair2 = pair;
|
||||||
m.checkNotNullParameter(pair2, "p1");
|
m.checkNotNullParameter(pair2, "p1");
|
||||||
RtcConnection rtcConnection = (RtcConnection) this.receiver;
|
RtcConnection rtcConnection = (RtcConnection) this.receiver;
|
||||||
if (rtcConnection.f2732b0) {
|
if (rtcConnection.f2737b0) {
|
||||||
Map map = (Map) pair2.component1();
|
Map map = (Map) pair2.component1();
|
||||||
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
|
if (m.areEqual((RtcConnection.State) pair2.component2(), RtcConnection.State.f.a)) {
|
||||||
rtcConnection.V.i(rtcConnection.l, "local MediaSinkWants: " + map, null);
|
rtcConnection.V.i(rtcConnection.l, "local MediaSinkWants: " + map, null);
|
||||||
|
|
|
@ -42,7 +42,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
rtcConnection.q.succeed();
|
rtcConnection.q.succeed();
|
||||||
rtcConnection.r = transportInfo;
|
rtcConnection.r = transportInfo;
|
||||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2736x;
|
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2741x;
|
||||||
if (mediaEngineConnection2 != null) {
|
if (mediaEngineConnection2 != null) {
|
||||||
d dVar = new d(1000, rtcConnection.V, mediaEngineConnection2, new VoiceQuality(), rtcConnection.B, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
|
d dVar = new d(1000, rtcConnection.V, mediaEngineConnection2, new VoiceQuality(), rtcConnection.B, new KrispOveruseDetector(mediaEngineConnection2), 0, 64);
|
||||||
dVar.a.clear();
|
dVar.a.clear();
|
||||||
|
@ -67,7 +67,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String str = transportInfo.a;
|
String str = transportInfo.a;
|
||||||
int i = transportInfo.f2756b;
|
int i = transportInfo.f2761b;
|
||||||
m.checkNotNullParameter("udp", "protocol");
|
m.checkNotNullParameter("udp", "protocol");
|
||||||
m.checkNotNullParameter(str, "address");
|
m.checkNotNullParameter(str, "address");
|
||||||
m.checkNotNullParameter("xsalsa20_poly1305", "mode");
|
m.checkNotNullParameter("xsalsa20_poly1305", "mode");
|
||||||
|
@ -91,7 +91,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
m.checkNotNullParameter(mediaEngineConnection, "connection");
|
||||||
m.checkNotNullParameter(connectionState, "connectionState");
|
m.checkNotNullParameter(connectionState, "connectionState");
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
RtcConnection.StateChange stateChange = rtcConnection.f2735s;
|
RtcConnection.StateChange stateChange = rtcConnection.f2740s;
|
||||||
rtcConnection.r("Connection state change: " + connectionState);
|
rtcConnection.r("Connection state change: " + connectionState);
|
||||||
int ordinal = connectionState.ordinal();
|
int ordinal = connectionState.ordinal();
|
||||||
if (ordinal == 0) {
|
if (ordinal == 0) {
|
||||||
|
@ -106,10 +106,10 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
throw new NoWhenBranchMatchedException();
|
throw new NoWhenBranchMatchedException();
|
||||||
}
|
}
|
||||||
rtcConnection.u(state);
|
rtcConnection.u(state);
|
||||||
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2735s.a == RtcConnection.State.h.a) {
|
if (stateChange.a == RtcConnection.State.g.a && rtcConnection.f2740s.a == RtcConnection.State.h.a) {
|
||||||
rtcConnection.q();
|
rtcConnection.q();
|
||||||
}
|
}
|
||||||
if (rtcConnection.f2735s.a == RtcConnection.State.f.a) {
|
if (rtcConnection.f2740s.a == RtcConnection.State.f.a) {
|
||||||
rtcConnection.D = Long.valueOf(rtcConnection.W.currentTimeMillis());
|
rtcConnection.D = Long.valueOf(rtcConnection.W.currentTimeMillis());
|
||||||
rtcConnection.J = true;
|
rtcConnection.J = true;
|
||||||
Map<String, Object> mutableMapOf = h0.mutableMapOf(d0.o.to("connect_count", Integer.valueOf(rtcConnection.E)));
|
Map<String, Object> mutableMapOf = h0.mutableMapOf(d0.o.to("connect_count", Integer.valueOf(rtcConnection.E)));
|
||||||
|
@ -123,7 +123,7 @@ public final class b0 implements MediaEngineConnection.d {
|
||||||
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
|
rtcConnection.p(RtcConnection.AnalyticsEvent.VOICE_CONNECTION_SUCCESS, mutableMapOf);
|
||||||
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.H;
|
MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.H;
|
||||||
if (mediaSinkWantsManager != null) {
|
if (mediaSinkWantsManager != null) {
|
||||||
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2736x));
|
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, rtcConnection.f2741x));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ public final class c implements ExecutorService {
|
||||||
public final void a() {
|
public final void a() {
|
||||||
if (Process.myTid() != this.k) {
|
if (Process.myTid() != this.k) {
|
||||||
IllegalStateException illegalStateException = new IllegalStateException("oops! not called on the MediaEngineExecutor");
|
IllegalStateException illegalStateException = new IllegalStateException("oops! not called on the MediaEngineExecutor");
|
||||||
d.b1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException);
|
d.c1("MediaEngineExecutor", "oops! not called on the MediaEngineExecutor", illegalStateException);
|
||||||
if (this.m) {
|
if (this.m) {
|
||||||
new Handler(Looper.getMainLooper()).post(new d(illegalStateException));
|
new Handler(Looper.getMainLooper()).post(new d(illegalStateException));
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ public final class g extends o implements Function0<Unit> {
|
||||||
Objects.requireNonNull(mediaSinkWantsManager);
|
Objects.requireNonNull(mediaSinkWantsManager);
|
||||||
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, null));
|
mediaSinkWantsManager.b(new i(mediaSinkWantsManager, null));
|
||||||
this.this$0.a.clear();
|
this.this$0.a.clear();
|
||||||
this.this$0.f2729b.clear();
|
this.this$0.f2734b.clear();
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,7 +41,7 @@ public final class h0 implements a.d {
|
||||||
public void a(String str, String str2) {
|
public void a(String str, String str2) {
|
||||||
m.checkNotNullParameter(str, "audioCodec");
|
m.checkNotNullParameter(str, "audioCodec");
|
||||||
m.checkNotNullParameter(str2, "videoCodec");
|
m.checkNotNullParameter(str2, "videoCodec");
|
||||||
MediaEngineConnection mediaEngineConnection = this.a.f2736x;
|
MediaEngineConnection mediaEngineConnection = this.a.f2741x;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.r(str, str2);
|
mediaEngineConnection.r(str, str2);
|
||||||
}
|
}
|
||||||
|
@ -52,11 +52,11 @@ public final class h0 implements a.d {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
Objects.requireNonNull(rtcConnection);
|
Objects.requireNonNull(rtcConnection);
|
||||||
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
|
rtcConnection.r("Disconnected from RTC server. wasFatal: " + z2 + " -- code: " + num + " -- reason: " + str);
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2736x;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2741x;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.destroy();
|
mediaEngineConnection.destroy();
|
||||||
}
|
}
|
||||||
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2736x;
|
MediaEngineConnection mediaEngineConnection2 = rtcConnection.f2741x;
|
||||||
if (mediaEngineConnection2 != null) {
|
if (mediaEngineConnection2 != null) {
|
||||||
mediaEngineConnection2.o(rtcConnection.N);
|
mediaEngineConnection2.o(rtcConnection.N);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ public final class h0 implements a.d {
|
||||||
if ((num != null && num.intValue() == 1000) || z4) {
|
if ((num != null && num.intValue() == 1000) || z4) {
|
||||||
z3 = false;
|
z3 = false;
|
||||||
}
|
}
|
||||||
if (!(rtcConnection.f2735s.a instanceof RtcConnection.State.d)) {
|
if (!(rtcConnection.f2740s.a instanceof RtcConnection.State.d)) {
|
||||||
rtcConnection.n(z3, str);
|
rtcConnection.n(z3, str);
|
||||||
d dVar = rtcConnection.o;
|
d dVar = rtcConnection.o;
|
||||||
if (dVar != null) {
|
if (dVar != null) {
|
||||||
|
@ -93,7 +93,7 @@ public final class h0 implements a.d {
|
||||||
public void c(String str, List<Integer> list) {
|
public void c(String str, List<Integer> list) {
|
||||||
m.checkNotNullParameter(str, "mode");
|
m.checkNotNullParameter(str, "mode");
|
||||||
m.checkNotNullParameter(list, "secretKey");
|
m.checkNotNullParameter(list, "secretKey");
|
||||||
MediaEngineConnection mediaEngineConnection = this.a.f2736x;
|
MediaEngineConnection mediaEngineConnection = this.a.f2741x;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.t(str, u.toIntArray(list));
|
mediaEngineConnection.t(str, u.toIntArray(list));
|
||||||
}
|
}
|
||||||
|
@ -241,7 +241,7 @@ public final class h0 implements a.d {
|
||||||
n nVar = cVar2.a;
|
n nVar = cVar2.a;
|
||||||
int max = Math.max((int) (((double) j0Var.c.a) * nVar.c), j0Var.d);
|
int max = Math.max((int) (((double) j0Var.c.a) * nVar.c), j0Var.d);
|
||||||
int max2 = Math.max((int) (((double) j0Var.c.f250b) * nVar.c), j0Var.d);
|
int max2 = Math.max((int) (((double) j0Var.c.f250b) * nVar.c), j0Var.d);
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2736x;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2741x;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.f269b, nVar.d, nVar.e));
|
mediaEngineConnection.m(new MediaEngineConnection.b(max, max2, nVar.a, nVar.f269b, nVar.d, nVar.e));
|
||||||
return;
|
return;
|
||||||
|
@ -372,7 +372,7 @@ public final class h0 implements a.d {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
g.l(rtcConnection.N);
|
g.l(rtcConnection.N);
|
||||||
rtcConnection.f2736x = g;
|
rtcConnection.f2741x = g;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // b.a.q.n0.a.d
|
@Override // b.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) {
|
public void onSpeaking(long j, int i, boolean z2) {
|
||||||
RtcConnection rtcConnection = this.a;
|
RtcConnection rtcConnection = this.a;
|
||||||
if (j != rtcConnection.T) {
|
if (j != rtcConnection.T) {
|
||||||
MediaEngineConnection mediaEngineConnection = rtcConnection.f2736x;
|
MediaEngineConnection mediaEngineConnection = rtcConnection.f2741x;
|
||||||
if (mediaEngineConnection != null) {
|
if (mediaEngineConnection != null) {
|
||||||
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
|
mediaEngineConnection.s(j, i, null, rtcConnection.g(j), rtcConnection.h(j));
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ public final class i extends o implements Function0<Unit> {
|
||||||
}
|
}
|
||||||
if (this.$connection != null) {
|
if (this.$connection != null) {
|
||||||
MediaSinkWantsManager mediaSinkWantsManager3 = this.this$0;
|
MediaSinkWantsManager mediaSinkWantsManager3 = this.this$0;
|
||||||
Set<Long> keySet = mediaSinkWantsManager3.f2729b.keySet();
|
Set<Long> keySet = mediaSinkWantsManager3.f2734b.keySet();
|
||||||
ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(keySet, 10));
|
ArrayList arrayList = new ArrayList(d0.t.o.collectionSizeOrDefault(keySet, 10));
|
||||||
for (Number number : keySet) {
|
for (Number number : keySet) {
|
||||||
arrayList.add(String.valueOf(number.longValue()));
|
arrayList.add(String.valueOf(number.longValue()));
|
||||||
|
|
|
@ -60,7 +60,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
||||||
switch (thermalStatus.ordinal()) {
|
switch (thermalStatus.ordinal()) {
|
||||||
case 0:
|
case 0:
|
||||||
if (l) {
|
if (l) {
|
||||||
d.c1("ThermalDetector", "totally cool: no longer in thermal trouble");
|
d.d1("ThermalDetector", "totally cool: no longer in thermal trouble");
|
||||||
l = false;
|
l = false;
|
||||||
if (m) {
|
if (m) {
|
||||||
((Handler) j.getValue()).removeCallbacks(this);
|
((Handler) j.getValue()).removeCallbacks(this);
|
||||||
|
@ -69,30 +69,30 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d.d1("ThermalDetector", "totally cool: thermal status is nominal");
|
d.e1("ThermalDetector", "totally cool: thermal status is nominal");
|
||||||
return;
|
return;
|
||||||
case 1:
|
case 1:
|
||||||
case 2:
|
case 2:
|
||||||
if (l) {
|
if (l) {
|
||||||
d.c1("ThermalDetector", "cooling down: thermal status = " + thermalStatus);
|
d.d1("ThermalDetector", "cooling down: thermal status = " + thermalStatus);
|
||||||
c();
|
c();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d.d1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus);
|
d.e1("ThermalDetector", "pretty warm: ignoring low priority thermal status = " + thermalStatus);
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
case 5:
|
case 5:
|
||||||
case 6:
|
case 6:
|
||||||
if (!l) {
|
if (!l) {
|
||||||
d.e1("ThermalDetector", "we're starting to be in thermal trouble");
|
d.f1("ThermalDetector", "we're starting to be in thermal trouble");
|
||||||
l = true;
|
l = true;
|
||||||
}
|
}
|
||||||
String str = "very toasty: thermal status = " + thermalStatus;
|
String str = "very toasty: thermal status = " + thermalStatus;
|
||||||
if (thermalStatus.compareTo(ThermalStatus.Emergency) < 0) {
|
if (thermalStatus.compareTo(ThermalStatus.Emergency) < 0) {
|
||||||
d.e1("ThermalDetector", str);
|
d.f1("ThermalDetector", str);
|
||||||
} else {
|
} else {
|
||||||
d.b1("ThermalDetector", str, new RuntimeException(str));
|
d.c1("ThermalDetector", str, new RuntimeException(str));
|
||||||
}
|
}
|
||||||
c();
|
c();
|
||||||
return;
|
return;
|
||||||
|
@ -121,7 +121,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
||||||
@Override // android.os.PowerManager.OnThermalStatusChangedListener
|
@Override // android.os.PowerManager.OnThermalStatusChangedListener
|
||||||
public synchronized void onThermalStatusChanged(int i) {
|
public synchronized void onThermalStatusChanged(int i) {
|
||||||
ThermalStatus a2 = ThermalStatus.Companion.a(i);
|
ThermalStatus a2 = ThermalStatus.Companion.a(i);
|
||||||
d.a1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )");
|
d.b1("ThermalDetector", "system update: onThermalStatusChanged( " + a2 + " )");
|
||||||
b(a2);
|
b(a2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ public final class i0 implements PowerManager.OnThermalStatusChangedListener, Ru
|
||||||
public synchronized void run() {
|
public synchronized void run() {
|
||||||
m = false;
|
m = false;
|
||||||
ThermalStatus a2 = a();
|
ThermalStatus a2 = a();
|
||||||
d.a1("ThermalDetector", "scheduled update: current thermal status = " + a2);
|
d.b1("ThermalDetector", "scheduled update: current thermal status = " + a2);
|
||||||
b(a2);
|
b(a2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,10 +69,10 @@ public final class a extends BroadcastReceiver {
|
||||||
if (audioManagerBroadcastAction == null) {
|
if (audioManagerBroadcastAction == null) {
|
||||||
StringBuilder R = b.d.b.a.a.R("unable to parse AudioManagerBroadcastAction for action: ");
|
StringBuilder R = b.d.b.a.a.R("unable to parse AudioManagerBroadcastAction for action: ");
|
||||||
R.append(intent.getAction());
|
R.append(intent.getAction());
|
||||||
d.e1("AudioManagerBroadcastReceiver", R.toString());
|
d.f1("AudioManagerBroadcastReceiver", R.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d.d1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction);
|
d.e1("AudioManagerBroadcastReceiver", "onReceive: action = " + audioManagerBroadcastAction);
|
||||||
try {
|
try {
|
||||||
h hVar = this.c;
|
h hVar = this.c;
|
||||||
int ordinal = audioManagerBroadcastAction.ordinal();
|
int ordinal = audioManagerBroadcastAction.ordinal();
|
||||||
|
@ -114,7 +114,7 @@ public final class a extends BroadcastReceiver {
|
||||||
hVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn());
|
hVar.d(context, ((AudioManager) systemService2).isSpeakerphoneOn());
|
||||||
}
|
}
|
||||||
} catch (Throwable th) {
|
} catch (Throwable th) {
|
||||||
d.b1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th);
|
d.c1("AudioManagerBroadcastReceiver", "error handling " + audioManagerBroadcastAction, th);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,13 +30,13 @@ public final class b {
|
||||||
this.c = z4;
|
this.c = z4;
|
||||||
this.d = z2;
|
this.d = z2;
|
||||||
if (!z3) {
|
if (!z3) {
|
||||||
d.e1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing");
|
d.f1("AudioPermissions", "MODIFY_AUDIO_SETTINGS permission is missing");
|
||||||
}
|
}
|
||||||
if (!z4) {
|
if (!z4) {
|
||||||
d.e1("AudioPermissions", "RECORD_AUDIO permission is missing");
|
d.f1("AudioPermissions", "RECORD_AUDIO permission is missing");
|
||||||
}
|
}
|
||||||
if (!z2) {
|
if (!z2) {
|
||||||
d.e1("AudioPermissions", "BLUETOOTH permission is missing");
|
d.f1("AudioPermissions", "BLUETOOTH permission is missing");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,6 +82,6 @@ public final class b {
|
||||||
R.append(", hasRecordAudioPermission=");
|
R.append(", hasRecordAudioPermission=");
|
||||||
R.append(this.c);
|
R.append(this.c);
|
||||||
R.append(", hasBluetoothPermission=");
|
R.append(", hasBluetoothPermission=");
|
||||||
return b.d.b.a.a.L(R, this.d, ")");
|
return b.d.b.a.a.M(R, this.d, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,10 +68,10 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
||||||
if (bluetoothBroadcastAction == null) {
|
if (bluetoothBroadcastAction == null) {
|
||||||
StringBuilder R = b.d.b.a.a.R("unable to parse BluetoothBroadcastAction for action: ");
|
StringBuilder R = b.d.b.a.a.R("unable to parse BluetoothBroadcastAction for action: ");
|
||||||
R.append(intent.getAction());
|
R.append(intent.getAction());
|
||||||
d.e1("BluetoothBroadcastReceiver", R.toString());
|
d.f1("BluetoothBroadcastReceiver", R.toString());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
d.d1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction);
|
d.e1("BluetoothBroadcastReceiver", "onReceive: action = " + bluetoothBroadcastAction);
|
||||||
try {
|
try {
|
||||||
i iVar = this.o;
|
i iVar = this.o;
|
||||||
int ordinal = bluetoothBroadcastAction.ordinal();
|
int ordinal = bluetoothBroadcastAction.ordinal();
|
||||||
|
@ -80,13 +80,13 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
||||||
} else if (ordinal == 1) {
|
} else if (ordinal == 1) {
|
||||||
iVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent));
|
iVar.a(context, BluetoothHeadsetAudioState.Companion.b(intent));
|
||||||
} else if (ordinal != 4) {
|
} else if (ordinal != 4) {
|
||||||
d.e1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction);
|
d.f1("BluetoothBroadcastReceiver", "unexpected " + bluetoothBroadcastAction);
|
||||||
} else {
|
} else {
|
||||||
m.checkNotNullParameter(intent, "$this$getBluetoothDeviceExtra");
|
m.checkNotNullParameter(intent, "$this$getBluetoothDeviceExtra");
|
||||||
iVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"));
|
iVar.b((BluetoothDevice) intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE"));
|
||||||
}
|
}
|
||||||
} catch (Throwable th) {
|
} catch (Throwable th) {
|
||||||
d.b1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th);
|
d.c1("BluetoothBroadcastReceiver", "error handling " + bluetoothBroadcastAction, th);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
||||||
public void onServiceConnected(int i, BluetoothProfile bluetoothProfile) {
|
public void onServiceConnected(int i, BluetoothProfile bluetoothProfile) {
|
||||||
ThreadUtils.checkIsOnMainThread();
|
ThreadUtils.checkIsOnMainThread();
|
||||||
if (i == 1 && this.l) {
|
if (i == 1 && this.l) {
|
||||||
d.a1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected");
|
d.b1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceConnected");
|
||||||
if (!(bluetoothProfile instanceof BluetoothHeadset)) {
|
if (!(bluetoothProfile instanceof BluetoothHeadset)) {
|
||||||
bluetoothProfile = null;
|
bluetoothProfile = null;
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,7 @@ public final class c extends BroadcastReceiver implements BluetoothProfile.Servi
|
||||||
public void onServiceDisconnected(int i) {
|
public void onServiceDisconnected(int i) {
|
||||||
ThreadUtils.checkIsOnMainThread();
|
ThreadUtils.checkIsOnMainThread();
|
||||||
if (i == 1 && this.l) {
|
if (i == 1 && this.l) {
|
||||||
d.a1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected");
|
d.b1("BluetoothBroadcastReceiver", "BluetoothProfile.ServiceListener.onServiceDisconnected");
|
||||||
this.m = null;
|
this.m = null;
|
||||||
this.o.c(null);
|
this.o.c(null);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ public final class e implements AudioManager.OnAudioFocusChangeListener {
|
||||||
|
|
||||||
@Override // android.media.AudioManager.OnAudioFocusChangeListener
|
@Override // android.media.AudioManager.OnAudioFocusChangeListener
|
||||||
public final void onAudioFocusChange(int i) {
|
public final void onAudioFocusChange(int i) {
|
||||||
d.a1("DiscordAudioManager", "[AudioFocus] new focus: " + i);
|
d.b1("DiscordAudioManager", "[AudioFocus] new focus: " + i);
|
||||||
if (i == -3 || i == -2) {
|
if (i == -3 || i == -2) {
|
||||||
this.j.i(false);
|
this.j.i(false);
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class f extends ContentObserver {
|
||||||
DiscordAudioManager discordAudioManager = this.a;
|
DiscordAudioManager discordAudioManager = this.a;
|
||||||
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
int streamVolume = discordAudioManager.e.getStreamVolume(3);
|
||||||
discordAudioManager.w = streamVolume;
|
discordAudioManager.w = streamVolume;
|
||||||
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2745y;
|
SerializedSubject<Integer, Integer> serializedSubject = discordAudioManager.f2750y;
|
||||||
serializedSubject.k.onNext(Integer.valueOf(streamVolume));
|
serializedSubject.k.onNext(Integer.valueOf(streamVolume));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,6 +67,6 @@ public final class g {
|
||||||
R.append(", alwaysEnableAec=");
|
R.append(", alwaysEnableAec=");
|
||||||
R.append(this.f);
|
R.append(this.f);
|
||||||
R.append(", disableSwAecWhenHwIsEnabled=");
|
R.append(", disableSwAecWhenHwIsEnabled=");
|
||||||
return b.d.b.a.a.L(R, this.g, ")");
|
return b.d.b.a.a.M(R, this.g, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,10 +95,10 @@ public final class l extends o implements Function0<Unit> {
|
||||||
arrayList2.add(new MediaSinkWantsManager.b(encodeQuality, intValue2, videoMetadata));
|
arrayList2.add(new MediaSinkWantsManager.b(encodeQuality, intValue2, videoMetadata));
|
||||||
}
|
}
|
||||||
if (arrayList2.isEmpty()) {
|
if (arrayList2.isEmpty()) {
|
||||||
this.this$0.f2729b.remove(Long.valueOf(this.$userId));
|
this.this$0.f2734b.remove(Long.valueOf(this.$userId));
|
||||||
this.this$0.c.remove(Long.valueOf(this.$userId));
|
this.this$0.c.remove(Long.valueOf(this.$userId));
|
||||||
} else {
|
} else {
|
||||||
this.this$0.f2729b.put(Long.valueOf(this.$userId), arrayList2);
|
this.this$0.f2734b.put(Long.valueOf(this.$userId), arrayList2);
|
||||||
this.this$0.c.add(Long.valueOf(this.$userId));
|
this.this$0.c.add(Long.valueOf(this.$userId));
|
||||||
}
|
}
|
||||||
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId)));
|
this.this$0.d(arrayList2.isEmpty() ? n.emptyList() : d0.t.m.listOf(String.valueOf(this.$userId)));
|
||||||
|
|
|
@ -50,7 +50,7 @@ public abstract class a {
|
||||||
StringBuilder R = b.d.b.a.a.R("PluggedIn(name=");
|
StringBuilder R = b.d.b.a.a.R("PluggedIn(name=");
|
||||||
R.append(this.a);
|
R.append(this.a);
|
||||||
R.append(", hasMic=");
|
R.append(", hasMic=");
|
||||||
return b.d.b.a.a.L(R, this.f260b, ")");
|
return b.d.b.a.a.M(R, this.f260b, ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,7 @@ public final class b extends ScreenCapturerAndroid {
|
||||||
synchronized (thumbnailEmitter) {
|
synchronized (thumbnailEmitter) {
|
||||||
thumbnailEmitter.d.release();
|
thumbnailEmitter.d.release();
|
||||||
thumbnailEmitter.c.release();
|
thumbnailEmitter.c.release();
|
||||||
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.f2759b);
|
JniCommon.nativeFreeByteBuffer(thumbnailEmitter.f2764b);
|
||||||
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
thumbnailEmitter.a = RecyclerView.FOREVER_NS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -287,7 +287,7 @@ public final class e implements MediaEngineConnection {
|
||||||
public Unit invoke(Connection connection) {
|
public Unit invoke(Connection connection) {
|
||||||
Connection connection2 = connection;
|
Connection connection2 = connection;
|
||||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||||
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.f2758b);
|
connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.f2763b);
|
||||||
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.c);
|
connection2.setVADTrailingFramesToSend(this.$inputModeOptions.c);
|
||||||
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a);
|
||||||
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1);
|
||||||
|
@ -449,7 +449,7 @@ public final class e implements MediaEngineConnection {
|
||||||
public Unit invoke(MediaEngineConnection.d dVar) {
|
public Unit invoke(MediaEngineConnection.d dVar) {
|
||||||
MediaEngineConnection.d dVar2 = dVar;
|
MediaEngineConnection.d dVar2 = dVar;
|
||||||
d0.z.d.m.checkNotNullParameter(dVar2, "it");
|
d0.z.d.m.checkNotNullParameter(dVar2, "it");
|
||||||
dVar2.onTargetBitrate(this.$quality.f2757b);
|
dVar2.onTargetBitrate(this.$quality.f2762b);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -473,7 +473,7 @@ public final class e implements MediaEngineConnection {
|
||||||
Connection connection2 = connection;
|
Connection connection2 = connection;
|
||||||
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
d0.z.d.m.checkNotNullParameter(connection2, "$receiver");
|
||||||
MediaEngineConnection.b bVar = this.$quality;
|
MediaEngineConnection.b bVar = this.$quality;
|
||||||
connection2.setEncodingQuality(bVar.a, bVar.f2757b, bVar.c, bVar.d, this.$frameRate);
|
connection2.setEncodingQuality(bVar.a, bVar.f2762b, bVar.c, bVar.d, this.$frameRate);
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -609,7 +609,7 @@ public final class e implements MediaEngineConnection {
|
||||||
this.f265b = connectionState;
|
this.f265b = connectionState;
|
||||||
this.d = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
this.d = h0.mutableMapOf(d0.o.to(Long.valueOf(j2), Integer.valueOf(aVar.a)));
|
||||||
int i2 = aVar.a;
|
int i2 = aVar.a;
|
||||||
String str = aVar.f2755b;
|
String str = aVar.f2760b;
|
||||||
int i3 = aVar.c;
|
int i3 = aVar.c;
|
||||||
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
Object[] array = aVar.d.toArray(new StreamParameters[0]);
|
||||||
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
||||||
|
|
|
@ -392,7 +392,7 @@ public final class k implements MediaEngine {
|
||||||
boolean z2;
|
boolean z2;
|
||||||
StringBuilder R = b.d.b.a.a.R("updateVoiceConfig: ");
|
StringBuilder R = b.d.b.a.a.R("updateVoiceConfig: ");
|
||||||
R.append(this.$voiceConfig);
|
R.append(this.$voiceConfig);
|
||||||
b.c.a.a0.d.a1("MediaEngineLegacy", R.toString());
|
b.c.a.a0.d.b1("MediaEngineLegacy", R.toString());
|
||||||
MediaEngine.VoiceConfig voiceConfig = this.$voiceConfig;
|
MediaEngine.VoiceConfig voiceConfig = this.$voiceConfig;
|
||||||
k kVar = this.this$0;
|
k kVar = this.this$0;
|
||||||
float f = voiceConfig.a;
|
float f = voiceConfig.a;
|
||||||
|
@ -401,7 +401,7 @@ public final class k implements MediaEngine {
|
||||||
discord.setSpeakerVolume(Math.min(300.0f, Math.max(0.0f, f)) / 100.0f);
|
discord.setSpeakerVolume(Math.min(300.0f, Math.max(0.0f, f)) / 100.0f);
|
||||||
}
|
}
|
||||||
k kVar2 = this.this$0;
|
k kVar2 = this.this$0;
|
||||||
boolean z3 = voiceConfig.f2754b;
|
boolean z3 = voiceConfig.f2759b;
|
||||||
kVar2.l.a();
|
kVar2.l.a();
|
||||||
b.a.q.k0.g gVar = kVar2.o;
|
b.a.q.k0.g gVar = kVar2.o;
|
||||||
if (gVar.g && gVar.d) {
|
if (gVar.g && gVar.d) {
|
||||||
|
@ -411,7 +411,7 @@ public final class k implements MediaEngine {
|
||||||
z2 = gVar2.f && !gVar2.d ? true : z3;
|
z2 = gVar2.f && !gVar2.d ? true : z3;
|
||||||
}
|
}
|
||||||
if (z2 != z3) {
|
if (z2 != z3) {
|
||||||
b.c.a.a0.d.a1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o);
|
b.c.a.a0.d.b1("MediaEngineLegacy", "ignoring call to setEchoCancellation(" + z3 + "), config=" + kVar2.o);
|
||||||
}
|
}
|
||||||
Discord discord2 = kVar2.f;
|
Discord discord2 = kVar2.f;
|
||||||
if (discord2 != null) {
|
if (discord2 != null) {
|
||||||
|
|
|
@ -38,8 +38,8 @@ public final class m implements Discord.AecConfigCallback {
|
||||||
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
|
MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i;
|
||||||
kVar.i = null;
|
kVar.i = null;
|
||||||
if (echoCancellationInfo != null) {
|
if (echoCancellationInfo != null) {
|
||||||
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.f2752b, echoCancellationInfo.c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.f2757b, echoCancellationInfo.c, echoCancellationInfo.d, this.$requestEnable, this.$enabled, this.$requestMobileMode, this.$previouslyEnabled, this.$previouslyMobileMode);
|
||||||
d.c1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
d.d1("MediaEngineLegacy", "onEchoCancellationUpdated: " + echoCancellationInfo2);
|
||||||
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
this.this$0.a.p.onEchoCancellationUpdated(echoCancellationInfo2);
|
||||||
}
|
}
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
|
|
|
@ -555,8 +555,8 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
aVar.f(z2, num, str);
|
aVar.f(z2, num, str);
|
||||||
} else {
|
} else {
|
||||||
aVar.b(null);
|
aVar.b(null);
|
||||||
String M = b.d.b.a.a.M(new Object[]{Double.valueOf(((double) aVar.p.fail(new c(aVar, z2, num, str))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)");
|
String N = b.d.b.a.a.N(new Object[]{Double.valueOf(((double) aVar.p.fail(new c(aVar, z2, num, str))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)");
|
||||||
aVar.j("`[WS CLOSED] (" + z2 + ", " + num + ", " + str + ") retrying in " + M + " seconds.");
|
aVar.j("`[WS CLOSED] (" + z2 + ", " + num + ", " + str + ") retrying in " + N + " seconds.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -708,8 +708,8 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
b(d.j);
|
b(d.j);
|
||||||
String M = b.d.b.a.a.M(new Object[]{Double.valueOf(((double) this.p.fail(new e(this))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)");
|
String N = b.d.b.a.a.N(new Object[]{Double.valueOf(((double) this.p.fail(new e(this))) / 1000.0d)}, 1, "%.2f", "java.lang.String.format(this, *args)");
|
||||||
j("[ACK TIMEOUT] reconnecting in " + M + " seconds.");
|
j("[ACK TIMEOUT] reconnecting in " + N + " seconds.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void l(boolean z2, Integer num, String str) {
|
public final void l(boolean z2, Integer num, String str) {
|
||||||
|
@ -775,7 +775,7 @@ public final class a extends WebSocketListener implements DebugPrintable {
|
||||||
public void onMessage(WebSocket webSocket, String str) {
|
public void onMessage(WebSocket webSocket, String str) {
|
||||||
m.checkNotNullParameter(webSocket, "webSocket");
|
m.checkNotNullParameter(webSocket, "webSocket");
|
||||||
m.checkNotNullParameter(str, NotificationCompat.MessagingStyle.Message.KEY_TEXT);
|
m.checkNotNullParameter(str, NotificationCompat.MessagingStyle.Message.KEY_TEXT);
|
||||||
Payloads.Incoming incoming = (Payloads.Incoming) b.i.a.f.e.o.f.v1(Payloads.Incoming.class).cast(this.n.g(str, Payloads.Incoming.class));
|
Payloads.Incoming incoming = (Payloads.Incoming) b.i.a.f.e.o.f.E1(Payloads.Incoming.class).cast(this.n.g(str, Payloads.Incoming.class));
|
||||||
super.onMessage(webSocket, str);
|
super.onMessage(webSocket, str);
|
||||||
StringBuilder R = b.d.b.a.a.R("received (");
|
StringBuilder R = b.d.b.a.a.R("received (");
|
||||||
R.append(Opcodes.INSTANCE.getNameOf(incoming.getOpcode()));
|
R.append(Opcodes.INSTANCE.getNameOf(incoming.getOpcode()));
|
||||||
|
|
|
@ -90,7 +90,7 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
||||||
if (krispOveruseDetector.d.getType() == MediaEngineConnection.Type.DEFAULT && krispOveruseDetector.d.b()) {
|
if (krispOveruseDetector.d.getType() == MediaEngineConnection.Type.DEFAULT && krispOveruseDetector.d.b()) {
|
||||||
OutboundRtpAudio outboundRtpAudio = stats2.getOutboundRtpAudio();
|
OutboundRtpAudio outboundRtpAudio = stats2.getOutboundRtpAudio();
|
||||||
if (outboundRtpAudio != null && outboundRtpAudio.getNoiseCancellerIsEnabled()) {
|
if (outboundRtpAudio != null && outboundRtpAudio.getNoiseCancellerIsEnabled()) {
|
||||||
OutboundRtpAudio outboundRtpAudio2 = krispOveruseDetector.f2728b;
|
OutboundRtpAudio outboundRtpAudio2 = krispOveruseDetector.f2733b;
|
||||||
if (outboundRtpAudio2 != null) {
|
if (outboundRtpAudio2 != null) {
|
||||||
Pair<Boolean, Long> a = krispOveruseDetector.a(outboundRtpAudio2, stats2.getOutboundRtpAudio(), 8.0d);
|
Pair<Boolean, Long> a = krispOveruseDetector.a(outboundRtpAudio2, stats2.getOutboundRtpAudio(), 8.0d);
|
||||||
boolean booleanValue = a.component1().booleanValue();
|
boolean booleanValue = a.component1().booleanValue();
|
||||||
|
@ -107,7 +107,7 @@ public final /* synthetic */ class a extends k implements Function1<Stats, Unit>
|
||||||
krispOveruseDetector.c = 0;
|
krispOveruseDetector.c = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
krispOveruseDetector.f2728b = stats2.getOutboundRtpAudio();
|
krispOveruseDetector.f2733b = stats2.getOutboundRtpAudio();
|
||||||
}
|
}
|
||||||
OutboundRtpAudio outboundRtpAudio3 = stats2.getOutboundRtpAudio();
|
OutboundRtpAudio outboundRtpAudio3 = stats2.getOutboundRtpAudio();
|
||||||
if (outboundRtpAudio3 != null && outboundRtpAudio3.getVoiceActivityDetectorIsEnabled()) {
|
if (outboundRtpAudio3 != null && outboundRtpAudio3.getVoiceActivityDetectorIsEnabled()) {
|
||||||
|
|
|
@ -53,8 +53,8 @@ public final class s extends o implements Function0<Unit> {
|
||||||
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
rtcConnection.r("connecting via endpoint: " + replace$default + " token: " + str2);
|
||||||
try {
|
try {
|
||||||
URI uri = new URI(w);
|
URI uri = new URI(w);
|
||||||
rtcConnection.f2737y = uri.getHost();
|
rtcConnection.f2742y = uri.getHost();
|
||||||
rtcConnection.f2738z = Integer.valueOf(uri.getPort());
|
rtcConnection.f2743z = Integer.valueOf(uri.getPort());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
rtcConnection.V.e(rtcConnection.l, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default)));
|
rtcConnection.V.e(rtcConnection.l, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ package b.a.r;
|
||||||
import b.n.a.a.a;
|
import b.n.a.a.a;
|
||||||
import com.discord.samsung.SamsungConnectActivity;
|
import com.discord.samsung.SamsungConnectActivity;
|
||||||
/* compiled from: SamsungConnectActivity.kt */
|
/* compiled from: SamsungConnectActivity.kt */
|
||||||
public final class d extends a.AbstractBinderC0157a {
|
public final class d extends a.AbstractBinderC0155a {
|
||||||
public final /* synthetic */ SamsungConnectActivity a;
|
public final /* synthetic */ SamsungConnectActivity a;
|
||||||
|
|
||||||
public d(SamsungConnectActivity samsungConnectActivity) {
|
public d(SamsungConnectActivity samsungConnectActivity) {
|
||||||
|
|
|
@ -52,7 +52,7 @@ public final class a extends Rule<R, Node<R>, S> {
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
List parse = parser.parse(group2, s2, list);
|
List parse = parser.parse(group2, s2, list);
|
||||||
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
|
Objects.requireNonNull(parse, "null cannot be cast to non-null type kotlin.collections.List<com.discord.simpleast.core.node.Node<R>>");
|
||||||
aVar = new CodeNode.a.C0177a(group2, parse);
|
aVar = new CodeNode.a.C0175a(group2, parse);
|
||||||
} else {
|
} else {
|
||||||
aVar = new CodeNode.a.b(group2);
|
aVar = new CodeNode.a.b(group2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ public final class d extends Animatable2Compat.AnimationCallback {
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
l.throwOnFailure(obj);
|
l.throwOnFailure(obj);
|
||||||
this.label = 1;
|
this.label = 1;
|
||||||
if (f.O(500, this) == coroutine_suspended) {
|
if (f.P(500, this) == coroutine_suspended) {
|
||||||
return coroutine_suspended;
|
return coroutine_suspended;
|
||||||
}
|
}
|
||||||
} else if (i == 1) {
|
} else if (i == 1) {
|
||||||
|
@ -77,7 +77,7 @@ public final class d extends Animatable2Compat.AnimationCallback {
|
||||||
m.checkNotNullParameter(drawable, "drawable");
|
m.checkNotNullParameter(drawable, "drawable");
|
||||||
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(this.a);
|
CoroutineScope coroutineScope = ViewCoroutineScopeKt.getCoroutineScope(this.a);
|
||||||
if (coroutineScope != null) {
|
if (coroutineScope != null) {
|
||||||
f.F0(coroutineScope, null, null, new a(this, null), 3, null);
|
f.H0(coroutineScope, null, null, new a(this, null), 3, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,6 @@ public final class i0 extends o implements Function0<Boolean> {
|
||||||
/* renamed from: invoke */
|
/* renamed from: invoke */
|
||||||
public Boolean mo1invoke() {
|
public Boolean mo1invoke() {
|
||||||
VoiceUserView voiceUserView = this.this$0;
|
VoiceUserView voiceUserView = this.this$0;
|
||||||
return Boolean.valueOf(voiceUserView.m == VoiceUserView.a.RINGING && voiceUserView.f2794s);
|
return Boolean.valueOf(voiceUserView.m == VoiceUserView.a.RINGING && voiceUserView.f2799s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,8 @@ public final class n implements View.OnClickListener {
|
||||||
|
|
||||||
@Override // android.view.View.OnClickListener
|
@Override // android.view.View.OnClickListener
|
||||||
public final void onClick(View view) {
|
public final void onClick(View view) {
|
||||||
if (this.k.f2798b.getApplicationStream() != null) {
|
if (this.k.f2803b.getApplicationStream() != null) {
|
||||||
this.j.n.invoke(this.k.f2798b.getApplicationStream().getEncodedStreamKey());
|
this.j.n.invoke(this.k.f2803b.getApplicationStream().getEncodedStreamKey());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public final class o<T, R> implements b<Map<Long, ? extends StoreVoiceParticipan
|
||||||
/* Return type fixed from 'java.lang.Object' to match base method */
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
||||||
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||||||
/* JADX WARNING: Code restructure failed: missing block: B:12:0x0038, code lost:
|
/* JADX WARNING: Code restructure failed: missing block: B:12:0x0038, code lost:
|
||||||
if ((r2 != null ? b.c.a.a0.d.x0(r2) : null) == com.discord.api.voice.state.StageRequestToSpeakState.ON_STAGE) goto L_0x003a;
|
if ((r2 != null ? b.c.a.a0.d.y0(r2) : null) == com.discord.api.voice.state.StageRequestToSpeakState.ON_STAGE) goto L_0x003a;
|
||||||
*/
|
*/
|
||||||
/* JADX WARNING: Removed duplicated region for block: B:19:0x003f A[SYNTHETIC] */
|
/* JADX WARNING: Removed duplicated region for block: B:19:0x003f A[SYNTHETIC] */
|
||||||
/* JADX WARNING: Removed duplicated region for block: B:21:0x000f A[SYNTHETIC] */
|
/* JADX WARNING: Removed duplicated region for block: B:21:0x000f A[SYNTHETIC] */
|
||||||
|
|
|
@ -27,7 +27,7 @@ public final /* synthetic */ class h implements b {
|
||||||
List list = this.j;
|
List list = this.j;
|
||||||
Map map = this.k;
|
Map map = this.k;
|
||||||
Observable h02 = Observable.h0(new r(Observable.A(((Map) obj).values()).x(new l(list)).x(new m(map)).x(new k(this.l)).j, new o2(new f(map), 10)));
|
Observable h02 = Observable.h0(new r(Observable.A(((Map) obj).values()).x(new l(list)).x(new m(map)).x(new k(this.l)).j, new o2(new f(map), 10)));
|
||||||
m mVar = m.INSTANCE;
|
m.a aVar = m.a.INSTANCE;
|
||||||
return (h02 instanceof k ? Observable.h0(new n.b(((k) h02).l, mVar)) : Observable.h0(new n(h02, mVar, i.j))).F(new d(map)).f0();
|
return (h02 instanceof k ? Observable.h0(new n.b(((k) h02).l, aVar)) : Observable.h0(new n(h02, aVar, i.j))).F(new d(map)).f0();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class a extends AppCompatDialogFragment {
|
||||||
}
|
}
|
||||||
} else if (i == 2) {
|
} else if (i == 2) {
|
||||||
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.k);
|
FlexInputFragment flexInputFragment = (FlexInputFragment) ((Fragment) this.k);
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f3125s;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f3128s;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onSendButtonClicked(flexInputFragment.o);
|
flexInputViewModel.onSendButtonClicked(flexInputFragment.o);
|
||||||
}
|
}
|
||||||
|
@ -418,7 +418,7 @@ public class a extends AppCompatDialogFragment {
|
||||||
flexInputFragment.k();
|
flexInputFragment.k();
|
||||||
eVar.mo1invoke();
|
eVar.mo1invoke();
|
||||||
} catch (UninitializedPropertyAccessException unused) {
|
} catch (UninitializedPropertyAccessException unused) {
|
||||||
flexInputFragment.f3126x.add(eVar);
|
flexInputFragment.f3129x.add(eVar);
|
||||||
}
|
}
|
||||||
FloatingActionButton floatingActionButton2 = this.m;
|
FloatingActionButton floatingActionButton2 = this.m;
|
||||||
if (floatingActionButton2 != null) {
|
if (floatingActionButton2 != null) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ public final class b implements TabLayout.OnTabSelectedListener {
|
||||||
if (position == 3) {
|
if (position == 3) {
|
||||||
this.a.h(false);
|
this.a.h(false);
|
||||||
Fragment parentFragment = this.a.getParentFragment();
|
Fragment parentFragment = this.a.getParentFragment();
|
||||||
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f3125s) != null) {
|
if ((parentFragment instanceof FlexInputFragment) && (flexInputViewModel = ((FlexInputFragment) parentFragment).f3128s) != null) {
|
||||||
flexInputViewModel.onCreateThreadSelected();
|
flexInputViewModel.onCreateThreadSelected();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public final class f implements ViewPager.OnPageChangeListener {
|
||||||
|
|
||||||
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
|
@Override // androidx.viewpager.widget.ViewPager.OnPageChangeListener
|
||||||
public void onPageSelected(int i) {
|
public void onPageSelected(int i) {
|
||||||
FlexInputViewModel flexInputViewModel = this.a.f3125s;
|
FlexInputViewModel flexInputViewModel = this.a.f3128s;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onContentDialogPageChanged(i);
|
flexInputViewModel.onContentDialogPageChanged(i);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@ public final class g implements DialogInterface.OnDismissListener {
|
||||||
@Override // android.content.DialogInterface.OnDismissListener
|
@Override // android.content.DialogInterface.OnDismissListener
|
||||||
public final void onDismiss(DialogInterface dialogInterface) {
|
public final void onDismiss(DialogInterface dialogInterface) {
|
||||||
FlexInputViewModel flexInputViewModel;
|
FlexInputViewModel flexInputViewModel;
|
||||||
if (this.j.isAdded() && !this.j.isHidden() && (flexInputViewModel = this.j.f3125s) != null) {
|
if (this.j.isAdded() && !this.j.isHidden() && (flexInputViewModel = this.j.f3128s) != null) {
|
||||||
f.M0(flexInputViewModel, false, 1, null);
|
f.O0(flexInputViewModel, false, 1, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,9 +23,9 @@ public final class h extends o implements Function1<View, Unit> {
|
||||||
@Override // kotlin.jvm.functions.Function1
|
@Override // kotlin.jvm.functions.Function1
|
||||||
public Unit invoke(View view) {
|
public Unit invoke(View view) {
|
||||||
m.checkNotNullParameter(view, "it");
|
m.checkNotNullParameter(view, "it");
|
||||||
FlexInputViewModel flexInputViewModel = this.this$0.f3125s;
|
FlexInputViewModel flexInputViewModel = this.this$0.f3128s;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
f.M0(flexInputViewModel, false, 1, null);
|
f.O0(flexInputViewModel, false, 1, null);
|
||||||
}
|
}
|
||||||
return Unit.a;
|
return Unit.a;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ public final class i implements View.OnLongClickListener {
|
||||||
|
|
||||||
@Override // android.view.View.OnLongClickListener
|
@Override // android.view.View.OnLongClickListener
|
||||||
public final boolean onLongClick(View view) {
|
public final boolean onLongClick(View view) {
|
||||||
FlexInputViewModel flexInputViewModel = this.j.f3125s;
|
FlexInputViewModel flexInputViewModel = this.j.f3128s;
|
||||||
if (flexInputViewModel == null) {
|
if (flexInputViewModel == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
||||||
public void onItemSelected(Attachment<? extends Object> attachment) {
|
public void onItemSelected(Attachment<? extends Object> attachment) {
|
||||||
d0.z.d.m.checkNotNullParameter(attachment, "item");
|
d0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||||
FlexInputFragment flexInputFragment = this.a;
|
FlexInputFragment flexInputFragment = this.a;
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f3125s;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f3128s;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ public final class m implements SelectionCoordinator.ItemSelectionListener<Attac
|
||||||
public void onItemUnselected(Attachment<? extends Object> attachment) {
|
public void onItemUnselected(Attachment<? extends Object> attachment) {
|
||||||
d0.z.d.m.checkNotNullParameter(attachment, "item");
|
d0.z.d.m.checkNotNullParameter(attachment, "item");
|
||||||
FlexInputFragment flexInputFragment = this.a;
|
FlexInputFragment flexInputFragment = this.a;
|
||||||
FlexInputViewModel flexInputViewModel = flexInputFragment.f3125s;
|
FlexInputViewModel flexInputViewModel = flexInputFragment.f3128s;
|
||||||
if (flexInputViewModel != null) {
|
if (flexInputViewModel != null) {
|
||||||
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
flexInputViewModel.onAttachmentsUpdated(flexInputFragment.b().getAttachments());
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ package b.b.a.d;
|
||||||
import d0.u.a;
|
import d0.u.a;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
/* compiled from: Comparisons.kt */
|
/* compiled from: Comparisons.kt */
|
||||||
public final class e<T> implements Comparator<T> {
|
public final class e<T> implements Comparator {
|
||||||
@Override // java.util.Comparator
|
@Override // java.util.Comparator
|
||||||
public final int compare(T t, T t2) {
|
public final int compare(T t, T t2) {
|
||||||
return a.compareValues(t.getUri(), t2.getUri());
|
return a.compareValues(t.getUri(), t2.getUri());
|
||||||
|
|
|
@ -6,7 +6,7 @@ import java.io.File;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
/* compiled from: Comparisons.kt */
|
/* compiled from: Comparisons.kt */
|
||||||
public final class f<T> implements Comparator<T> {
|
public final class f<T> implements Comparator {
|
||||||
public final /* synthetic */ FileListAdapter.a j;
|
public final /* synthetic */ FileListAdapter.a j;
|
||||||
|
|
||||||
public f(FileListAdapter.a aVar) {
|
public f(FileListAdapter.a aVar) {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue