导航菜单

页面标题

页面副标题

Tasker v6.5.11 - CreateKeyStore.java 源代码

正在查看: Tasker v6.5.11 应用的 CreateKeyStore.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package net.dinglisch.android.taskerm;

import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.SeekBar;

public class CreateKeyStore extends HasArgsEdit implements pf.a {
    protected static final in n0 = new in(6, 1, 2131889790, "w:1", 0, -1, -1, 1, 2131889822, "w:1", 0, -1, 2131887204, 1, 2131889823, "w:1", 0, -1, 2131887205, 1, 2131889734, "w:1", 0, -1, 2131887203, 1, 2131889973, "w:1", 0, -1, -1, 1, 2131889540, "c:1", 0, -1, -1, 1, 2131889495, "pp:1", 0, -1, -1, 1, 2131889495, "pp:1", 0, -1, 2131887206);
    public qf.g m0 = new qf.g(this);

    private boolean G2() {
        in inVar = n0;
        if (!z0(this, inVar)) {
            return false;
        }
        String m1 = dq.m1(this.v[0]);
        String m12 = dq.m1(this.v[1]);
        String m13 = dq.m1(this.v[2]);
        String m14 = dq.m1(this.v[3]);
        String m15 = dq.m1(this.v[4]);
        String m16 = dq.m1(this.v[5]);
        String m17 = dq.m1(this.v[6]);
        String m18 = dq.m1(this.v[7]);
        if (!m16.matches("^[A-Z][A-Z]$")) {
            dq.a0(this, 2131887814, vh.g(this, inVar.c(5), new Object[0]));
            return false;
        }
        if (!m17.equals(m18)) {
            dq.a0(this, 2131887876, new Object[0]);
            this.v[6].getText().clear();
            this.v[7].getText().clear();
            return false;
        }
        Intent i = jh.i(this, "bl^!)*(!*{a", m17, m1, m12, m13, m14, m15, m16);
        if (i != null) {
            startActivityForResult(i, 1);
        } else {
            dq.a0(this, 2131887816, new Object[0]);
        }
        return false;
    }

    public void H2() {
        I2();
        K2();
        Q1(this, n0);
    }

    private void I2() {
        x1((MyScrollView) findViewById(2131296767));
        t1(n0.i(), 65547);
    }

    private boolean J2() {
        if (!G2()) {
            return true;
        }
        setResult(-1);
        finish();
        return true;
    }

    public void K2() {
        int i;
        int i2 = 0;
        while (true) {
            in inVar = n0;
            if (i2 >= inVar.i()) {
                dq.W2(this.v[1], "Android Developers");
                dq.W2(this.v[2], "Tasker Users");
                dq.W2(this.v[5], jh.g(getResources()));
                return;
            }
            String g = vh.g(this, inVar.c(i2), new Object[0]);
            if (inVar.e(i2) != 1) {
                i = 8;
            } else {
                this.v[i2].setLines(1);
                oi.o(this.v[i2], b.h(inVar.d(i2)).equals("pp") ? 129 : 1);
                i = 0;
            }
            this.Q[i2].setText(g);
            this.Q[i2].setVisibility(0);
            this.v[i2].setVisibility(i);
            i2++;
        }
    }

    @Override
    public b5 O0() {
        return null;
    }

    @Override
    public void U1(int i) {
        K2();
    }

    @Override
    public void g(com.joaomgcd.taskerm.util.e5 e5Var, com.joaomgcd.taskerm.util.t6 t6Var) {
        finish();
    }

    @Override
    protected void onActivityResult(int i, int i2, Intent intent) {
        if (!jh.c(this, i2, intent, "keystore.user")) {
            dq.a0(this, 2131887816, new Object[0]);
            return;
        }
        dq.j0(this, 2131886891, new Object[0]);
        jh.e(this).delete();
        setResult(-1);
        finish();
    }

    @Override
    public void onBackPressed() {
        J2();
    }

    @Override
    public void onClick(View view) {
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.p1(bundle, 2131492909);
        this.m0.o1(com.joaomgcd.taskerm.util.e5.x(this), new Runnable() {
            @Override
            public final void run() {
                CreateKeyStore.this.H2();
            }
        });
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        return super.r1(menu, 2131888880, -1);
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem menuItem) {
        int itemId = menuItem.getItemId();
        if (itemId == 6) {
            finish();
            return true;
        }
        if (itemId != 16908332) {
            return s1(menuItem, null, "appcreation.html");
        }
        J2();
        return true;
    }

    @Override
    public void onProgressChanged(SeekBar seekBar, int i, boolean z) {
    }

    @Override
    public void onStartTrackingTouch(SeekBar seekBar) {
    }

    @Override
    public void onStopTrackingTouch(SeekBar seekBar) {
    }
}