Files
rr3-apk/decompiled-community/sources/androidx/media/MediaBrowserCompatUtils.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

45 lines
1.8 KiB
Java

package androidx.media;
import android.os.Bundle;
import android.support.v4.media.MediaBrowserCompat;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public class MediaBrowserCompatUtils {
public static boolean areSameOptions(Bundle bundle, Bundle bundle2) {
if (bundle == bundle2) {
return true;
}
return bundle == null ? bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 && bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1 : bundle2 == null ? bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == -1 && bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) == bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1) && bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1) == bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1);
}
public static boolean hasDuplicatedItems(Bundle bundle, Bundle bundle2) {
int i;
int i2;
int i3;
int i4 = bundle == null ? -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE, -1);
int i5 = bundle2 == null ? -1 : bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE, -1);
int i6 = bundle == null ? -1 : bundle.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1);
int i7 = bundle2 == null ? -1 : bundle2.getInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, -1);
int i8 = Integer.MAX_VALUE;
if (i4 == -1 || i6 == -1) {
i = Integer.MAX_VALUE;
i2 = 0;
} else {
i2 = i4 * i6;
i = (i6 + i2) - 1;
}
if (i5 == -1 || i7 == -1) {
i3 = 0;
} else {
i3 = i5 * i7;
i8 = (i7 + i3) - 1;
}
return i >= i3 && i8 >= i2;
}
private MediaBrowserCompatUtils() {
}
}