discord-jadx/app/src/main/java/c/i/a/f/d/x.java

31 lines
895 B
Java

package c.i.a.f.d;
import c.i.a.f.n.c;
import com.google.android.gms.tasks.Task;
import java.util.concurrent.ScheduledFuture;
/* compiled from: com.google.android.gms:play-services-cloud-messaging@@16.0.0 */
public final /* synthetic */ class x implements c {
public final b a;
public final String b;
/* renamed from: c reason: collision with root package name */
public final ScheduledFuture f1028c;
public x(b bVar, String str, ScheduledFuture scheduledFuture) {
this.a = bVar;
this.b = str;
this.f1028c = scheduledFuture;
}
@Override // c.i.a.f.n.c
public final void onComplete(Task task) {
b bVar = this.a;
String str = this.b;
ScheduledFuture scheduledFuture = this.f1028c;
synchronized (bVar.f1024c) {
bVar.f1024c.remove(str);
}
scheduledFuture.cancel(false);
}
}