package com.google.android.gms.internal.measurement;

import android.database.ContentObserver;
import java.util.Iterator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
final class zzjo extends ContentObserver {
    public final /* synthetic */ a a;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public zzjo(a aVar) {
        super(null);
        this.a = aVar;
    }

    @Override // android.database.ContentObserver
    public final void onChange(boolean z) {
        a aVar = this.a;
        synchronized (aVar.f) {
            aVar.g = null;
            aVar.c.run();
        }
        synchronized (aVar) {
            try {
                Iterator it = aVar.h.iterator();
                if (it.hasNext()) {
                    if (it.next() != null) {
                        throw new ClassCastException();
                    }
                    throw null;
                }
            } catch (Throwable th) {
                throw th;
            }
        }
    }
}
