Live Football Updates v1.0版本的 MD5 值为:95609b5a5bec0a5f5a0b6e8e4d8f1cba
以下内容为反编译后的 SettingsActivity.java 源代码,内容仅作参考
package com.applive.app.ui.activities;
import ae.d;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.appcompat.widget.Toolbar;
import androidx.preference.Preference;
import androidx.preference.PreferenceCategory;
import androidx.preference.PreferenceScreen;
import androidx.preference.b;
import be.h;
import com.applive.app.ui.activities.SettingsActivity;
import com.millingoupdate.app.R;
import i1.b1;
import i1.h0;
import i7.l;
import w6.e;
import x1.a0;
import x1.d0;
import x1.e0;
import x1.f0;
import x1.g;
public class SettingsActivity extends e {
public static class a extends b {
public static final int f4372g0 = 0;
@Override
public final void o0(String str) {
boolean z10;
androidx.preference.e eVar = this.Z;
if (eVar != null) {
PreferenceScreen e10 = eVar.e(f0());
Object obj = e10;
if (str != null) {
Object z11 = e10.z(str);
boolean z12 = z11 instanceof PreferenceScreen;
obj = z11;
if (!z12) {
throw new IllegalArgumentException(h.e("Preference object with key ", str, " is not a PreferenceScreen"));
}
}
PreferenceScreen preferenceScreen = (PreferenceScreen) obj;
androidx.preference.e eVar2 = this.Z;
PreferenceScreen preferenceScreen2 = eVar2.f2761h;
if (preferenceScreen != preferenceScreen2) {
if (preferenceScreen2 != null) {
preferenceScreen2.n();
}
eVar2.f2761h = preferenceScreen;
z10 = true;
} else {
z10 = false;
}
if (z10 && preferenceScreen != null) {
this.f2734b0 = true;
if (this.f2735c0) {
b.a aVar = this.f2736e0;
if (!aVar.hasMessages(1)) {
aVar.obtainMessage(1).sendToTarget();
}
}
}
Preference z13 = this.Z.f2761h.z("feedback_pref");
if (z13 != null) {
final String f10 = d.d().f("contact_email");
z13.w(!TextUtils.isEmpty(f10));
z13.f2699e = new Preference.d(this) {
public final SettingsActivity.a f32963b;
{
this.f32963b = this;
}
@Override
public final void a(Preference preference) {
int i = r3;
String str2 = f10;
SettingsActivity.a aVar2 = this.f32963b;
switch (i) {
case 0:
int i10 = SettingsActivity.a.f4372g0;
i7.l.e(aVar2.d0(), String.format("%s — %s (%s)", aVar2.B(R.string.feedback), aVar2.B(R.string.app_name), "com.millingoupdate.app"), null, str2);
return;
default:
int i11 = SettingsActivity.a.f4372g0;
i7.l.A(aVar2.d0(), String.format("https://www.youtube.com/channel/%s", str2));
return;
}
}
};
}
Preference z14 = this.Z.f2761h.z("privacy_pref");
if (z14 != null) {
z14.f2699e = new b1(7, this);
}
PreferenceCategory preferenceCategory = (PreferenceCategory) this.Z.f2761h.z("social_pref");
if (preferenceCategory != null) {
Preference z15 = this.Z.f2761h.z("social_fb_pref");
if (z15 != null) {
String f11 = d.d().f("facebook_url");
boolean z16 = !TextUtils.isEmpty(f11);
z15.w(z16);
if (z16) {
preferenceCategory.w(true);
z15.f2699e = new d0(this, 5, f11);
}
}
Preference z17 = this.Z.f2761h.z("social_ig_pref");
if (z17 != null) {
String f12 = d.d().f("instagram_url");
boolean z18 = !TextUtils.isEmpty(f12);
z17.w(z18);
if (z18) {
preferenceCategory.w(true);
z17.f2699e = new e0(this, 5, f12);
}
}
Preference z19 = this.Z.f2761h.z("social_tg_pref");
if (z19 != null) {
String f13 = d.d().f("telegram_url");
boolean z20 = !TextUtils.isEmpty(f13);
z19.w(z20);
if (z20) {
preferenceCategory.w(true);
z19.f2699e = new g(this, 3, f13);
}
}
Preference z21 = this.Z.f2761h.z("social_tt_pref");
if (z21 != null) {
String f14 = d.d().f("tiktok_url");
boolean z22 = !TextUtils.isEmpty(f14);
z21.w(z22);
if (z22) {
preferenceCategory.w(true);
z21.f2699e = new f0(this, 3, f14);
}
}
Preference z23 = this.Z.f2761h.z("social_tw_pref");
if (z23 != null) {
String f15 = d.d().f("twitter_url");
boolean z24 = !TextUtils.isEmpty(f15);
z23.w(z24);
if (z24) {
preferenceCategory.w(true);
z23.f2699e = new i1.h(this, 3, f15);
}
}
Preference z25 = this.Z.f2761h.z("social_wa_pref");
if (z25 != null) {
String f16 = d.d().f("whatsapp_url");
boolean z26 = !TextUtils.isEmpty(f16);
z25.w(z26);
if (z26) {
preferenceCategory.w(true);
z25.f2699e = new a0(this, 6, f16);
}
}
Preference z27 = this.Z.f2761h.z("social_yt_pref");
if (z27 != null) {
final String f17 = d.d().f("youtube_channel_id");
boolean z28 = !TextUtils.isEmpty(f17);
z27.w(z28);
if (z28) {
preferenceCategory.w(true);
z27.f2699e = new Preference.d(this) {
public final SettingsActivity.a f32963b;
{
this.f32963b = this;
}
@Override
public final void a(Preference preference) {
int i = r3;
String str2 = f17;
SettingsActivity.a aVar2 = this.f32963b;
switch (i) {
case 0:
int i10 = SettingsActivity.a.f4372g0;
i7.l.e(aVar2.d0(), String.format("%s — %s (%s)", aVar2.B(R.string.feedback), aVar2.B(R.string.app_name), "com.millingoupdate.app"), null, str2);
return;
default:
int i11 = SettingsActivity.a.f4372g0;
i7.l.A(aVar2.d0(), String.format("https://www.youtube.com/channel/%s", str2));
return;
}
}
};
return;
}
return;
}
return;
}
return;
}
throw new RuntimeException("This should be called after super.onCreate.");
}
}
@Override
public final void onCreate(Bundle bundle) {
l.D(this, false);
super.onCreate(bundle);
setContentView(R.layout.activity_settings);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
if (toolbar != null) {
K(toolbar);
}
j.a I = I();
if (I != null) {
I.m(true);
}
h0 F = F();
F.getClass();
i1.a aVar = new i1.a(F);
aVar.d(R.id.settings, new a(), null);
aVar.g();
}
}