package com.mexico.inloancash.activity;

import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.TextView;
import android.widget.Toast;
import androidx.recyclerview.widget.RecyclerView;
import com.indiaholacash.holacash.R;
import com.mexico.inloancash.bean.India_User_Message_ListInfoBean;
import ඓ.ඓ.K.䁗.C0730;
import 㳳.ῲ.K.C2399;

public class IndiaPermissionCheckActivity extends BaseActivity {

    /* renamed from: ඓ  reason: contains not printable characters */
    public TextView f2484;

    /* renamed from: ⁱ  reason: contains not printable characters */
    public Button f2485;

    /* renamed from: 㴹  reason: contains not printable characters */
    public CheckBox f2486;

    /* renamed from: com.mexico.inloancash.activity.IndiaPermissionCheckActivity$K  reason: contains not printable characters */
    public class View$OnClickListenerC0422 implements View.OnClickListener {
        public View$OnClickListenerC0422() {
        }

        public void onClick(View view) {
            if (!IndiaPermissionCheckActivity.this.f2486.isChecked()) {
                Toast.makeText(IndiaPermissionCheckActivity.this, "Por favor, confirme y acepte el acuerdo.", 0).show();
                return;
            }
            India_User_Message_ListInfoBean india_User_Message_ListInfoBean = new India_User_Message_ListInfoBean();
            india_User_Message_ListInfoBean.setCode(200);
            C2399.m6437().m6442(india_User_Message_ListInfoBean);
            IndiaPermissionCheckActivity.this.finish();
        }
    }

    @Override // androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, com.mexico.inloancash.activity.BaseActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.india_permission_layout);
        this.f2484 = (TextView) findViewById(R.id.tv_xieyi);
        this.f2486 = (CheckBox) findViewById(R.id.select_all);
        this.f2485 = (Button) findViewById(R.id.btn_per_confirm);
        TextView textView = (TextView) findViewById(R.id.tv_xieyi);
        getWindow().setLayout(-1, -1);
        m1444();
        this.f2484.setText("Por favor, acepte nuestro");
        SpannableString spannableString = new SpannableString(" Condiciones de servicio ");
        spannableString.setSpan(new C0730(" Condiciones de servicio ", this), 0, 25, 17);
        this.f2484.append(spannableString);
        this.f2484.append("&");
        SpannableString spannableString2 = new SpannableString(" Política de privacidad ");
        spannableString2.setSpan(new C0730(" Política de privacidad ", this), 0, 24, 17);
        this.f2484.append(spannableString2);
        this.f2484.append("y recibir comunicaciones por SMS y correo electrónico para préstamos rápidos ");
        this.f2484.setMovementMethod(LinkMovementMethod.getInstance());
        this.f2484.setHighlightColor(Color.parseColor("#00ffffff"));
        this.f2485.setOnClickListener(new View$OnClickListenerC0422());
    }

    /* renamed from: ؿ  reason: contains not printable characters */
    public void m1444() {
        int i = Build.VERSION.SDK_INT;
        Window window = getWindow();
        window.clearFlags(67108864);
        window.addFlags(Integer.MIN_VALUE);
        window.setStatusBarColor(0);
        window.getDecorView().setSystemUiVisibility(window.getDecorView().getSystemUiVisibility() | RecyclerView.AbstractC0269.FLAG_ADAPTER_FULLUPDATE | 256);
    }
}
