乐健体育 v3.9.1版本的 MD5 值为:87ae8a64955cdd0e43f3559ee8984d75
以下内容为反编译后的 PrivacyActivity.java 源代码,内容仅作参考
package com.ledreamer.privacyModule.activity;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.MenuItem;
import android.webkit.WebView;
import androidx.appcompat.app.ActionBar;
import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.amap.api.col.p0003l.gk;
import com.ledreamer.commonModule.base.BaseActivity;
import com.ledreamer.commonModule.widget.CenterTitleToolbar;
import com.ledreamer.privacyModule.R;
import f.c.a.a.b.a;
import io.dcloud.common.constant.AbsoluteConst;
import kotlin.Metadata;
import kotlin.jvm.JvmField;
import kotlin.jvm.internal.Intrinsics;
@Route(path = "/privacy/privacy")
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0010\u0010\u0011J\u0019\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0015¢\u0006\u0004\b\u0005\u0010\u0006J\u0017\u0010\n\u001a\u00020\t2\u0006\u0010\b\u001a\u00020\u0007H\u0016¢\u0006\u0004\b\n\u0010\u000bR\u0016\u0010\u000f\u001a\u00020\f8\u0006@\u0006X\u0087\u000e¢\u0006\u0006\n\u0004\b\r\u0010\u000e¨\u0006\u0012"}, d2 = {"Lcom/ledreamer/privacyModule/activity/PrivacyActivity;", "Lcom/ledreamer/commonModule/base/BaseActivity;", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "(Landroid/os/Bundle;)V", "Landroid/view/MenuItem;", AbsoluteConst.XML_ITEM, "", "onOptionsItemSelected", "(Landroid/view/MenuItem;)Z", "", gk.f683f, "I", "flag", "<init>", "()V", "privacyModule_uni_release_Release"}, k = 1, mv = {1, 5, 1})
public final class PrivacyActivity extends BaseActivity {
@Autowired(name = "Privacy_Flag")
@JvmField
public int f1571g;
@Override
@SuppressLint({"SetJavaScriptEnabled"})
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
a.d().f(this);
f.l.a.e.a.e(this);
setContentView(R.layout.activity_privacy);
int i2 = R.id.titleToolbar;
setSupportActionBar((CenterTitleToolbar) findViewById(i2));
ActionBar supportActionBar = getSupportActionBar();
if (supportActionBar != null) {
supportActionBar.setHomeButtonEnabled(true);
}
int i3 = R.id.web_view;
((WebView) findViewById(i3)).setHorizontalScrollBarEnabled(false);
((WebView) findViewById(i3)).getSettings().setJavaScriptEnabled(true);
if (this.f1571g == 0) {
((CenterTitleToolbar) findViewById(i2)).setTitle("用户协议");
((WebView) findViewById(i3)).loadUrl("http://47.108.225.20/app/v1/index.html");
return;
}
((CenterTitleToolbar) findViewById(i2)).setTitle("隐私政策");
((WebView) findViewById(i3)).loadUrl("http://47.108.225.20/app/v1/privacy.html");
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
Intrinsics.checkNotNullParameter(item, "item");
if (item.getItemId() == 16908332) {
finish();
overridePendingTransition(R.anim.left_in, R.anim.right_out);
return true;
}
return super.onOptionsItemSelected(item);
}
}