Files
rr3-apk/decompiled/sources/com/google/android/gms/common/util/ScopeUtil.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

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;
}
}