正在查看: OVO v3.139.0 应用的 VGDialogActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 VGDialogActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.vkey.android.vguard;
import android.app.Activity;
import android.app.job.JobScheduler;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.vkey.android.bc;
import com.vkey.android.dh;
import com.vkey.android.internal.vguard.cache.DatabaseHandler;
import com.vkey.android.l;
import com.vkey.android.support.view.GravityCompat;
import java.util.Timer;
import o.i.pb2;
public class VGDialogActivity extends Activity implements View.OnClickListener {
private static final byte[] i = {74, -94, 40, 98, 30, 12, -14, -6, 16, 2, -16, 8, 0, -41, -24, -13, -1, 39, -6, 13, 5, -6, -36, 36, 19, -9, 15, -11, 13, 7, -41, 53, 1, 2, -3, 1, -24, 19, 21, -2, 22, 1, -3, -28, 38, -10, 13, -49, 49, 2, -78, 71, 15, 2, -1, 5, -80, 22, 1, -3, -28, 38, -10, 13, -9, 13, -6, -5, -41, -24, 4, 19, 3, -18, 13, -29, 36, -9, 3, 4, -9, 3, 4, 19, -9, 8, 1, -13, 6, 0, 13, 2, -8, 1, 4, 10, -10, 25, -13, -1, 7, -6, 13, 5, -6, 36, -9, 3, -41, -24, 1, -41, 43, -1, -4, 10, -47, -24, 47, 22, 15, 9, -18, 13, 2, 15, -87, 83, 6, -10, 13, 2, -9, 7, -5, -69, 86, -10, -1, -67, 35, 49, 2, -64, 38, -10, 13, -82, 54, 23, 6, -6, 15, -9, -4, 22, -73, 53, 15, -8, 16, -1, -4, -3, -52, 74, -13, 16, -18, 19, -12, -52, 26, 37, 7, -3, 12, -9, -9, 13, -6, -5, 7, -11, 19, -14, 7, -1, 1, 19, -7, -5, 15, -41, 53, 1, 2, -3, 1, -24, 19, 21, -2, -56, -24, -9, -4, 22, -73, 53, 15, -8, 16, -1, -4, -3, -52, 74, -13, 16, -18, 19, -12, -52, 36, 4, -1, -7, 5, 5, -5, 28, -9, -10, 12, -11, -2, 21, 13, -11, -11, 16, -1, 1, 1, 7, -12, -6, 16, 2, -16, 8, 0};
private static int j = 123;
private int f697d;
private int f698e;
private Timer f;
private String a = "";
private String b = "";
private String c = "";
private final String g = getClass().getSimpleName();
private final String h = a(j & 31, 232, i[121]);
private static String a(int i2, int i3, int i4) {
byte[] bArr = i;
int i5 = 43 - i2;
int i6 = i4 + 77;
int i7 = 246 - i3;
byte[] bArr2 = new byte[i5];
int i8 = -1;
int i9 = i5 - 1;
while (true) {
i7++;
i8++;
bArr2[i8] = (byte) i6;
if (i8 == i9) {
return new String(bArr2, 0).intern();
}
i6 = (i6 + bArr[i7]) - 2;
}
}
private void d(VGDialogActivity vGDialogActivity) {
int i2 = j & 21;
byte[] bArr = i;
LocalBroadcastManager.getInstance(vGDialogActivity).sendBroadcast(new Intent(a(i2, -bArr[1], -bArr[13])));
}
@Override
public void onClick(View view) {
byte[] bArr = i;
Intent intent = new Intent(a(bArr[24], 165, bArr[38] - 1));
intent.putExtra(a(bArr[140], 190, 20), false);
LocalBroadcastManager.getInstance(this).sendBroadcast(intent);
byte b = bArr[12];
Intent intent2 = new Intent(a(b, b | 42, -bArr[13]));
byte b2 = bArr[12];
intent2.putExtra(a(b2, b2 | 42, -bArr[13]), this.f697d);
int i2 = this.f697d;
if (i2 == 1) {
String str = this.c;
if (str != null && !str.equalsIgnoreCase(bc.f596e)) {
LocalBroadcastManager.getInstance(this).sendBroadcast(intent2);
}
finish();
return;
}
if (i2 == 2 || i2 == 3 || i2 == 5 || i2 == 6) {
String str2 = this.c;
if (str2 != null && !str2.equalsIgnoreCase(bc.f596e)) {
LocalBroadcastManager.getInstance(this).sendBroadcast(intent2);
}
Timer timer = this.f;
if (timer != null) {
timer.cancel();
}
byte b3 = bArr[11];
int i3 = b3 | 129;
a(b3, i3, i3 >>> 2);
a();
}
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setFinishOnTouchOutside(false);
Bundle extras = getIntent().getExtras();
if (extras != null) {
byte[] bArr = i;
this.a = extras.getString(a(bArr[44], -bArr[135], bArr[17]));
byte b = bArr[23];
byte b2 = bArr[12];
this.b = extras.getString(a(b, b2, b2 | 32));
int i2 = j;
this.c = extras.getString(a(i2 & 160, 217, i2 & 160));
this.f697d = extras.getInt(a(bArr[17], 168, 32));
int i3 = j & 165;
this.f698e = extras.getInt(a(i3, i3 | 144, bArr[38] - 1));
}
byte[] bArr2 = i;
byte b3 = bArr2[23];
a(b3, b3 | 147, bArr2[17]);
a(j & 166, 240, 32);
byte b4 = bArr2[4];
byte b5 = bArr2[148];
a(b4, b5, b5 & 232);
a(bArr2[173], 142, bArr2[12]);
int i4 = this.f698e;
if (i4 == 2 || i4 == 3 || i4 == 5) {
if (bc.W <= 0) {
bc.W = 5000;
}
int i5 = j & 165;
Timer timer = new Timer(a(i5, i5 | 70, bArr2[70]));
this.f = timer;
timer.schedule(new dh(this), bc.W);
}
if (TextUtils.isEmpty(this.b) || TextUtils.isEmpty(this.c)) {
return;
}
LinearLayout linearLayout = new LinearLayout(this);
ViewGroup.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
linearLayout.setGravity(GravityCompat.END);
linearLayout.setPadding(30, 30, 30, 20);
linearLayout.setLayoutParams(layoutParams);
linearLayout.setOrientation(1);
TextView textView = new TextView(this);
LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(-2, -1);
layoutParams2.gravity = GravityCompat.START;
textView.setLayoutParams(layoutParams2);
textView.setText(this.a);
textView.setTextSize(14.0f);
textView.setTypeface(textView.getTypeface(), 1);
linearLayout.addView(textView);
TextView textView2 = new TextView(this);
LinearLayout.LayoutParams layoutParams3 = new LinearLayout.LayoutParams(-2, -1);
layoutParams3.gravity = GravityCompat.START;
textView2.setLayoutParams(layoutParams3);
textView2.setText(this.b);
linearLayout.addView(textView2);
Button button = new Button(this);
LinearLayout.LayoutParams layoutParams4 = new LinearLayout.LayoutParams(-2, -2);
layoutParams4.setMargins(10, 50, 20, 10);
button.setLayoutParams(layoutParams4);
button.setText(this.c);
button.setTextSize(16.0f);
button.setTypeface(button.getTypeface(), 1);
button.setPadding(20, 20, 20, 20);
button.setOnClickListener(this);
linearLayout.addView(button);
setContentView(linearLayout);
}
@Override
public void onDestroy() {
super.onDestroy();
Timer timer = this.f;
if (timer != null) {
timer.cancel();
}
this.f = null;
}
@Override
public boolean onKeyDown(int i2, KeyEvent keyEvent) {
if (i2 == 4) {
return false;
}
return super.onKeyDown(i2, keyEvent);
}
public void a() {
try {
setResult(0);
d(this);
Context applicationContext = getApplicationContext();
byte[] bArr = i;
((JobScheduler) applicationContext.getSystemService(a(bArr[4] + 1, j & 453, -bArr[75]))).cancelAll();
finishAffinity();
} catch (Exception e4) {
StringBuilder sb = new StringBuilder();
byte[] bArr2 = i;
String e5 = pb2.e(sb, a(bArr2[97], 207, bArr2[38] - 1), e4);
String str = bc.f595d;
DatabaseHandler databaseHandler = bc.c;
if (databaseHandler != null && str != null && e5 != null) {
databaseHandler.a(str, e5, false);
}
l.a(a(bArr2[17], 243, bArr2[12]), a(j & 31, 232, bArr2[121]), e5, true);
}
}
}