- 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
30 lines
716 B
Java
30 lines
716 B
Java
package com.google.android.gms.common.util;
|
|
|
|
import android.text.TextUtils;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
import java.util.regex.Pattern;
|
|
|
|
@KeepForSdk
|
|
/* loaded from: classes2.dex */
|
|
public class Strings {
|
|
private static final Pattern zza = Pattern.compile("\\$\\{(.*?)\\}");
|
|
|
|
private Strings() {
|
|
}
|
|
|
|
@Nullable
|
|
@KeepForSdk
|
|
public static String emptyToNull(@Nullable String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return null;
|
|
}
|
|
return str;
|
|
}
|
|
|
|
@KeepForSdk
|
|
public static boolean isEmptyOrWhitespace(@Nullable String str) {
|
|
return str == null || str.trim().isEmpty();
|
|
}
|
|
}
|