- 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
28 lines
887 B
Java
28 lines
887 B
Java
package com.google.android.gms.common.util;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
import com.google.android.gms.common.api.Scope;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import java.util.Set;
|
|
|
|
@KeepForSdk
|
|
/* loaded from: classes2.dex */
|
|
public final class ScopeUtil {
|
|
private ScopeUtil() {
|
|
}
|
|
|
|
@NonNull
|
|
@KeepForSdk
|
|
public static String[] toScopeString(@NonNull Set<Scope> set) {
|
|
Preconditions.checkNotNull(set, "scopes can't be null.");
|
|
Scope[] scopeArr = (Scope[]) set.toArray(new Scope[set.size()]);
|
|
Preconditions.checkNotNull(scopeArr, "scopes can't be null.");
|
|
String[] strArr = new String[scopeArr.length];
|
|
for (int i = 0; i < scopeArr.length; i++) {
|
|
strArr[i] = scopeArr[i].getScopeUri();
|
|
}
|
|
return strArr;
|
|
}
|
|
}
|