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

40 lines
1022 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.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
/* loaded from: classes.dex */
public final class zabx extends BroadcastReceiver {
Context zaa;
private final zabw zab;
public zabx(zabw zabwVar) {
this.zab = zabwVar;
}
@Override // android.content.BroadcastReceiver
public final void onReceive(Context context, Intent intent) {
Uri data = intent.getData();
if ("com.google.android.gms".equals(data != null ? data.getSchemeSpecificPart() : null)) {
this.zab.zaa();
zab();
}
}
public final void zab() {
synchronized (this) {
Context context = this.zaa;
if (context != null) {
context.unregisterReceiver(this);
}
this.zaa = null;
}
}
public final void zaa(Context context) {
this.zaa = context;
}
}