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

18 lines
531 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}
}