package com.mexico.inloancash.activity;

import android.os.Build;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.indiaholacash.holacash.R;

public class India_Privacy_Check_Activity extends BaseActivity {

    /* renamed from: ඓ  reason: contains not printable characters */
    public WebView f2541;

    /* renamed from: com.mexico.inloancash.activity.India_Privacy_Check_Activity$K  reason: contains not printable characters */
    public class C0441 extends WebViewClient {
        public C0441(India_Privacy_Check_Activity india_Privacy_Check_Activity) {
        }

        @Override // android.webkit.WebViewClient
        public boolean shouldOverrideUrlLoading(WebView webView, String str) {
            webView.loadUrl(str);
            return true;
        }
    }

    @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_agreement_view_layout);
        getWindow().setLayout(-1, -1);
        m1472();
        TextView textView = (TextView) findViewById(R.id.tv_privacy);
        this.f2541 = (WebView) findViewById(R.id.web_view);
        this.f2541.setHorizontalScrollBarEnabled(false);
        this.f2541.setVerticalScrollBarEnabled(false);
        m1473();
        this.f2541.setWebChromeClient(new WebChromeClient());
        this.f2541.loadUrl("file:///android_asset/contract.html");
        this.f2541.setWebViewClient(new C0441(this));
    }

    /* renamed from: ؿ  reason: contains not printable characters */
    public void m1472() {
        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);
    }

    /* renamed from: ᓣ  reason: contains not printable characters */
    public void m1473() {
        WebSettings settings = this.f2541.getSettings();
        settings.setJavaScriptEnabled(true);
        settings.setJavaScriptEnabled(true);
        settings.setJavaScriptCanOpenWindowsAutomatically(true);
        settings.setUseWideViewPort(true);
        settings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.NARROW_COLUMNS);
        settings.setDisplayZoomControls(false);
        settings.setJavaScriptEnabled(true);
        settings.setAllowFileAccess(true);
        settings.setBuiltInZoomControls(true);
        settings.setSupportZoom(true);
    }
}
