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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,176 @@
package androidx.appcompat.app;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import androidx.activity.ComponentDialog;
import androidx.activity.ViewTreeOnBackPressedDispatcherOwner;
import androidx.annotation.IdRes;
import androidx.annotation.LayoutRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import androidx.appcompat.R;
import androidx.appcompat.view.ActionMode;
import androidx.core.view.KeyEventDispatcher;
import androidx.lifecycle.ViewTreeLifecycleOwner;
import androidx.savedstate.ViewTreeSavedStateRegistryOwner;
/* loaded from: classes.dex */
public class AppCompatDialog extends ComponentDialog implements AppCompatCallback {
private AppCompatDelegate mDelegate;
private final KeyEventDispatcher.Component mKeyDispatcher;
@Override // androidx.appcompat.app.AppCompatCallback
public void onSupportActionModeFinished(ActionMode actionMode) {
}
@Override // androidx.appcompat.app.AppCompatCallback
public void onSupportActionModeStarted(ActionMode actionMode) {
}
@Override // androidx.appcompat.app.AppCompatCallback
@Nullable
public ActionMode onWindowStartingSupportActionMode(ActionMode.Callback callback) {
return null;
}
public AppCompatDialog(@NonNull Context context) {
this(context, 0);
}
public AppCompatDialog(@NonNull Context context, int i) {
super(context, getThemeResId(context, i));
this.mKeyDispatcher = new KeyEventDispatcher.Component() { // from class: androidx.appcompat.app.AppCompatDialog$$ExternalSyntheticLambda0
@Override // androidx.core.view.KeyEventDispatcher.Component
public final boolean superDispatchKeyEvent(KeyEvent keyEvent) {
return AppCompatDialog.this.superDispatchKeyEvent(keyEvent);
}
};
AppCompatDelegate delegate = getDelegate();
delegate.setTheme(getThemeResId(context, i));
delegate.onCreate(null);
}
public AppCompatDialog(@NonNull Context context, boolean z, @Nullable DialogInterface.OnCancelListener onCancelListener) {
super(context);
this.mKeyDispatcher = new KeyEventDispatcher.Component() { // from class: androidx.appcompat.app.AppCompatDialog$$ExternalSyntheticLambda0
@Override // androidx.core.view.KeyEventDispatcher.Component
public final boolean superDispatchKeyEvent(KeyEvent keyEvent) {
return AppCompatDialog.this.superDispatchKeyEvent(keyEvent);
}
};
setCancelable(z);
setOnCancelListener(onCancelListener);
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void onCreate(Bundle bundle) {
getDelegate().installViewFactory();
super.onCreate(bundle);
getDelegate().onCreate(bundle);
}
public ActionBar getSupportActionBar() {
return getDelegate().getSupportActionBar();
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void setContentView(@LayoutRes int i) {
initViewTreeOwners();
getDelegate().setContentView(i);
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void setContentView(@NonNull View view) {
initViewTreeOwners();
getDelegate().setContentView(view);
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void setContentView(@NonNull View view, ViewGroup.LayoutParams layoutParams) {
initViewTreeOwners();
getDelegate().setContentView(view, layoutParams);
}
private void initViewTreeOwners() {
ViewTreeLifecycleOwner.set(getWindow().getDecorView(), this);
ViewTreeSavedStateRegistryOwner.set(getWindow().getDecorView(), this);
ViewTreeOnBackPressedDispatcherOwner.set(getWindow().getDecorView(), this);
}
@Override // android.app.Dialog
@Nullable
public <T extends View> T findViewById(@IdRes int i) {
return (T) getDelegate().findViewById(i);
}
@Override // android.app.Dialog
public void setTitle(CharSequence charSequence) {
super.setTitle(charSequence);
getDelegate().setTitle(charSequence);
}
@Override // android.app.Dialog
public void setTitle(int i) {
super.setTitle(i);
getDelegate().setTitle(getContext().getString(i));
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void addContentView(@NonNull View view, ViewGroup.LayoutParams layoutParams) {
getDelegate().addContentView(view, layoutParams);
}
@Override // androidx.activity.ComponentDialog, android.app.Dialog
public void onStop() {
super.onStop();
getDelegate().onStop();
}
@Override // android.app.Dialog, android.content.DialogInterface
public void dismiss() {
super.dismiss();
getDelegate().onDestroy();
}
public boolean supportRequestWindowFeature(int i) {
return getDelegate().requestWindowFeature(i);
}
@Override // android.app.Dialog
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
public void invalidateOptionsMenu() {
getDelegate().invalidateOptionsMenu();
}
@NonNull
public AppCompatDelegate getDelegate() {
if (this.mDelegate == null) {
this.mDelegate = AppCompatDelegate.create(this, this);
}
return this.mDelegate;
}
private static int getThemeResId(Context context, int i) {
if (i != 0) {
return i;
}
TypedValue typedValue = new TypedValue();
context.getTheme().resolveAttribute(R.attr.dialogTheme, typedValue, true);
return typedValue.resourceId;
}
public boolean superDispatchKeyEvent(KeyEvent keyEvent) {
return super.dispatchKeyEvent(keyEvent);
}
@Override // android.app.Dialog, android.view.Window.Callback
public boolean dispatchKeyEvent(KeyEvent keyEvent) {
return KeyEventDispatcher.dispatchKeyEvent(this.mKeyDispatcher, getWindow().getDecorView(), this, keyEvent);
}
}