what-the-bank/sources/com/google/android/libraries/places/internal/zzaho.java

25 lines
757 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.internal;
import java.lang.reflect.Field;
import java.security.PrivilegedExceptionAction;
import sun.misc.Unsafe;
/* loaded from: classes2.dex */
final class zzaho implements PrivilegedExceptionAction {
public static final Unsafe zza() throws Exception {
for (Field field : Unsafe.class.getDeclaredFields()) {
field.setAccessible(true);
Object obj = field.get(null);
if (Unsafe.class.isInstance(obj)) {
return (Unsafe) Unsafe.class.cast(obj);
}
}
return null;
}
@Override // java.security.PrivilegedExceptionAction
public final /* synthetic */ Object run() throws Exception {
return zza();
}
}