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

37 lines
955 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.api.internal;
import android.app.Activity;
import android.content.ContextWrapper;
import androidx.fragment.app.FragmentActivity;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes.dex */
public class LifecycleActivity {
private final Object zza;
public LifecycleActivity(Activity activity) {
Preconditions.checkNotNull(activity, "Activity must not be null");
this.zza = activity;
}
public final FragmentActivity zzb() {
return (FragmentActivity) this.zza;
}
public final boolean zzc() {
return this.zza instanceof Activity;
}
public final boolean zzd() {
return this.zza instanceof FragmentActivity;
}
public LifecycleActivity(ContextWrapper contextWrapper) {
throw new UnsupportedOperationException();
}
public final Activity zza() {
return (Activity) this.zza;
}
}