package o;

import android.view.KeyEvent;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class LJ extends LP implements KJ {
    public OC A;
    public OC z;

    @Override // o.KJ
    public final boolean O(KeyEvent keyEvent) {
        OC oc = this.z;
        if (oc != null) {
            return ((Boolean) oc.g(new GJ(keyEvent))).booleanValue();
        }
        return false;
    }

    @Override // o.KJ
    public final boolean m(KeyEvent keyEvent) {
        OC oc = this.A;
        if (oc != null) {
            return ((Boolean) oc.g(new GJ(keyEvent))).booleanValue();
        }
        return false;
    }
}
