Files
rr3-apk/decompiled-community/sources/com/google/android/gms/common/internal/StringResourceValueReader.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

33 lines
1.0 KiB
Java

package com.google.android.gms.common.internal;
import android.content.Context;
import android.content.res.Resources;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.R;
import com.google.android.gms.common.annotation.KeepForSdk;
@KeepForSdk
/* loaded from: classes2.dex */
public class StringResourceValueReader {
private final Resources zza;
private final String zzb;
public StringResourceValueReader(@NonNull Context context) {
Preconditions.checkNotNull(context);
Resources resources = context.getResources();
this.zza = resources;
this.zzb = resources.getResourcePackageName(R.string.common_google_play_services_unknown_issue);
}
@Nullable
@KeepForSdk
public String getString(@NonNull String str) {
int identifier = this.zza.getIdentifier(str, "string", this.zzb);
if (identifier == 0) {
return null;
}
return this.zza.getString(identifier);
}
}