package com.ss.android.ugc.aweme.bullet.bridge.framework;

import X.0CB;
import X.0CH;
import X.4UQ;
import X.6Is;
import X.C3134JMn;
import X.C3137JMq;
import X.KCc;
import X.KKi;
import X.KT7;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.bullet.bridge.BaseBridgeMethod;
import java.util.Map;
import org.json.JSONObject;

public final class BulletGetAppInfoMethod extends BaseBridgeMethod implements 6Is {
    public static final C3134JMn LIZIZ = new C3134JMn((byte) 0);
    public final String LIZJ = "uniAppInfo";
    public KCc LIZLLL = KCc.PUBLIC;

    static {
        Covode.recordClassIndex(55076);
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
        BulletGetAppInfoMethod.super.onStateChanged(r1, r2);
    }

    public final KCc LIZIZ() {
        return this.LIZLLL;
    }

    public final String LIZLLL() {
        return this.LIZJ;
    }

    public final void LIZ(KCc kCc) {
        M12.LIZ(kCc);
        this.LIZLLL = kCc;
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public BulletGetAppInfoMethod(KT7 kt7) {
        super(kt7);
        M12.LIZ(kt7);
    }

    public final void LIZ(JSONObject jSONObject, 4UQ r6) {
        M12.LIZ(jSONObject, r6);
        JSONObject jSONObject2 = new JSONObject();
        String optString = jSONObject.optString("permissionGroup");
        this.LIZ.LIZJ(KKi.class);
        for (Map.Entry entry : C3137JMq.LIZ(optString).entrySet()) {
            jSONObject2.put((String) entry.getKey(), entry.getValue());
        }
        r6.LIZ(jSONObject2);
    }
}
