Proxy Master v3.4.9版本的 MD5 值为:14d0aa2468d13530c8f6e96bcc114bf5
以下内容为反编译后的 b.java 源代码,内容仅作参考
package n7;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import android.widget.LinearLayout;
import androidx.activity.z;
import androidx.appcompat.app.i;
import com.hotspot.vpn.base.R$string;
import r7.l;
public abstract class b extends i {
public final int f28636i;
public boolean f28637j;
public boolean f28638k;
public p7.b f28642o;
public boolean f28639l = true;
public long f28640m = -1;
public boolean f28641n = false;
public final Intent f28643p = new Intent("android.intent.action.VIEW");
public b(int i10) {
this.f28636i = i10;
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
if (this.f28641n) {
View findViewWithTag = ((ViewGroup) getWindow().getDecorView()).findViewWithTag("TAG_COLOR");
if (findViewWithTag != null) {
findViewWithTag.setVisibility(8);
}
Window window = getWindow();
window.addFlags(Integer.MIN_VALUE);
window.getDecorView().setSystemUiVisibility(1280);
window.setStatusBarColor(0);
ViewGroup viewGroup = (ViewGroup) findViewById(16908290);
View findViewWithTag2 = viewGroup.findViewWithTag("TAG_ALPHA");
if (findViewWithTag2 != null) {
if (findViewWithTag2.getVisibility() == 8) {
findViewWithTag2.setVisibility(0);
}
findViewWithTag2.setBackgroundColor(Color.argb(0, 0, 0, 0));
} else {
View view = new View(viewGroup.getContext());
view.setLayoutParams(new LinearLayout.LayoutParams(-1, r7.b.a()));
view.setBackgroundColor(Color.argb(0, 0, 0, 0));
view.setTag("TAG_ALPHA");
viewGroup.addView(view);
}
}
this.f28643p.setPackage(r7.a.d());
if (this.f28639l) {
setContentView(this.f28636i);
}
w();
}
@Override
public void onDestroy() {
super.onDestroy();
p7.b bVar = this.f28642o;
if (bVar == null || !bVar.isShowing()) {
return;
}
this.f28642o.dismiss();
}
@Override
public final void onPause() {
super.onPause();
this.f28637j = false;
}
@Override
public void onResume() {
super.onResume();
e8.a.c("Show_".concat(getClass().getSimpleName()));
this.f28637j = true;
}
@Override
public void onStart() {
super.onStart();
long j10 = this.f28640m;
if (j10 != -1) {
l.b(1000, j10);
}
this.f28640m = -1L;
this.f28638k = true;
}
@Override
public final void onStop() {
super.onStop();
this.f28640m = System.currentTimeMillis();
this.f28638k = false;
}
public abstract void w();
public final void x() {
try {
Intent intent = new Intent();
intent.setAction("android.intent.action.VIEW");
intent.setData(Uri.parse("https://www.supershell.me/about/security_privacy.html"));
startActivity(intent);
} catch (Exception e10) {
e10.printStackTrace();
z.s0(R$string.operation_failed, this);
}
}
}