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,55 @@
package androidx.core.os;
import android.os.UserHandle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
/* loaded from: classes.dex */
public class UserHandleCompat {
@Nullable
private static Method sGetUserIdMethod;
@Nullable
private static Constructor<UserHandle> sUserHandleConstructor;
private UserHandleCompat() {
}
@NonNull
public static UserHandle getUserHandleForUid(int i) {
return Api24Impl.getUserHandleForUid(i);
}
@RequiresApi(24)
public static class Api24Impl {
private Api24Impl() {
}
@NonNull
public static UserHandle getUserHandleForUid(int i) {
return UserHandle.getUserHandleForUid(i);
}
}
private static Method getGetUserIdMethod() throws NoSuchMethodException {
if (sGetUserIdMethod == null) {
Method declaredMethod = UserHandle.class.getDeclaredMethod("getUserId", Integer.TYPE);
sGetUserIdMethod = declaredMethod;
declaredMethod.setAccessible(true);
}
return sGetUserIdMethod;
}
private static Constructor<UserHandle> getUserHandleConstructor() throws NoSuchMethodException {
if (sUserHandleConstructor == null) {
Constructor<UserHandle> declaredConstructor = UserHandle.class.getDeclaredConstructor(Integer.TYPE);
sUserHandleConstructor = declaredConstructor;
declaredConstructor.setAccessible(true);
}
return sUserHandleConstructor;
}
}