- 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
44 lines
1.3 KiB
Java
44 lines
1.3 KiB
Java
package androidx.appcompat.app;
|
|
|
|
import android.app.Dialog;
|
|
import android.os.Bundle;
|
|
import androidx.annotation.LayoutRes;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RestrictTo;
|
|
import androidx.fragment.app.DialogFragment;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class AppCompatDialogFragment extends DialogFragment {
|
|
public AppCompatDialogFragment() {
|
|
}
|
|
|
|
public AppCompatDialogFragment(@LayoutRes int i) {
|
|
super(i);
|
|
}
|
|
|
|
@Override // androidx.fragment.app.DialogFragment
|
|
@NonNull
|
|
public Dialog onCreateDialog(@Nullable Bundle bundle) {
|
|
return new AppCompatDialog(getContext(), getTheme());
|
|
}
|
|
|
|
@Override // androidx.fragment.app.DialogFragment
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
|
|
public void setupDialog(@NonNull Dialog dialog, int i) {
|
|
if (dialog instanceof AppCompatDialog) {
|
|
AppCompatDialog appCompatDialog = (AppCompatDialog) dialog;
|
|
if (i != 1 && i != 2) {
|
|
if (i != 3) {
|
|
return;
|
|
} else {
|
|
dialog.getWindow().addFlags(24);
|
|
}
|
|
}
|
|
appCompatDialog.supportRequestWindowFeature(1);
|
|
return;
|
|
}
|
|
super.setupDialog(dialog, i);
|
|
}
|
|
}
|