17 lines
509 B
Java
17 lines
509 B
Java
package com.google.android.gms.internal.location;
|
|
|
|
import android.os.Looper;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zzbn {
|
|
public static Looper zza(Looper looper) {
|
|
return looper != null ? looper : zzb();
|
|
}
|
|
|
|
public static Looper zzb() {
|
|
Preconditions.checkState(Looper.myLooper() != null, "Can't create handler inside thread that has not called Looper.prepare()");
|
|
return Looper.myLooper();
|
|
}
|
|
}
|