24 lines
766 B
Java
24 lines
766 B
Java
|
package com.google.android.gms.common.api.internal;
|
||
|
|
||
|
import java.lang.ref.WeakReference;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zab extends ActivityLifecycleObserver {
|
||
|
private final WeakReference<zaa> zaa;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zab(zaa zaaVar) {
|
||
|
this.zaa = new WeakReference<>(zaaVar);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.common.api.internal.ActivityLifecycleObserver
|
||
|
public final ActivityLifecycleObserver onStopCallOnce(Runnable runnable) {
|
||
|
zaa zaaVar = this.zaa.get();
|
||
|
if (zaaVar == null) {
|
||
|
throw new IllegalStateException("The target activity has already been GC'd");
|
||
|
}
|
||
|
zaaVar.zac(runnable);
|
||
|
return this;
|
||
|
}
|
||
|
}
|