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,50 @@
package androidx.core.telephony.mbms;
import android.content.Context;
import android.os.Build;
import android.telephony.mbms.ServiceInfo;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import java.util.Iterator;
import java.util.Locale;
import java.util.Set;
/* loaded from: classes.dex */
public final class MbmsHelper {
private MbmsHelper() {
}
@Nullable
public static CharSequence getBestNameForService(@NonNull Context context, @NonNull ServiceInfo serviceInfo) {
if (Build.VERSION.SDK_INT >= 28) {
return Api28Impl.getBestNameForService(context, serviceInfo);
}
return null;
}
@RequiresApi(28)
public static class Api28Impl {
private Api28Impl() {
}
public static CharSequence getBestNameForService(Context context, ServiceInfo serviceInfo) {
Set<Locale> namedContentLocales = serviceInfo.getNamedContentLocales();
if (namedContentLocales.isEmpty()) {
return null;
}
String[] strArr = new String[namedContentLocales.size()];
Iterator<Locale> it = serviceInfo.getNamedContentLocales().iterator();
int i = 0;
while (it.hasNext()) {
strArr[i] = it.next().toLanguageTag();
i++;
}
Locale firstMatch = context.getResources().getConfiguration().getLocales().getFirstMatch(strArr);
if (firstMatch == null) {
return null;
}
return serviceInfo.getNameForLocale(firstMatch);
}
}
}