what-the-bank/sources/com/google/android/gms/common/internal/ApiExceptionUtil.java

16 lines
493 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.internal;
import com.google.android.gms.common.api.ApiException;
import com.google.android.gms.common.api.ResolvableApiException;
import com.google.android.gms.common.api.Status;
/* loaded from: classes.dex */
public class ApiExceptionUtil {
public static ApiException fromStatus(Status status) {
if (status.hasResolution()) {
return new ResolvableApiException(status);
}
return new ApiException(status);
}
}