what-the-bank/sources/com/google/android/gms/internal/flags/zze.java

18 lines
531 B
Java

package com.google.android.gms.internal.flags;
import android.os.StrictMode;
import java.util.concurrent.Callable;
/* loaded from: classes2.dex */
public final class zze {
public static <T> T zza(Callable<T> callable) throws Exception {
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
try {
StrictMode.setThreadPolicy(StrictMode.ThreadPolicy.LAX);
return callable.call();
} finally {
StrictMode.setThreadPolicy(threadPolicy);
}
}
}