package com.ss.android.ugc.aweme.compliance.privacy.settings.account.items.activitystatus;

import X.AnonymousClass2GO;
import X.AnonymousClass2UX;
import X.C12422nK;
import X.C39573q1;
import X.C39753qJ;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.base.api.BaseResponse;
import com.ss.android.ugc.aweme.compliance.privacy.settings.account.pages.BasePrivacyUserSettingViewModelV2;

public final class ActivityStatusPrivacyViewModel extends BasePrivacyUserSettingViewModelV2 implements AnonymousClass2GO {
    static {
        Covode.recordClassIndex(61493);
    }

    public final C39753qJ LIZ() {
        return C39573q1.LIZ;
    }

    public final void LIZ(int i, BaseResponse baseResponse) {
        String str;
        M12.LIZ(baseResponse);
        super.LIZ(i, baseResponse);
        if (i == 1) {
            str = "on";
        } else if (i != 2) {
            str = "";
        } else {
            str = "off";
        }
        AnonymousClass2UX r2 = new AnonymousClass2UX();
        r2.LIZ("enter_from", "privacy_and_safety_settings");
        r2.LIZ("to_status", str);
        C12422nK.LIZ("change_activity_status", r2.LIZ);
    }
}
