MD5 校验值:66bdc43743bbe9109f1c82a63c9f5e2f
ReportingPreferencesFragment.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package eu.thedarken.sdm.main.ui.settings; import android.content.Intent; import android.os.Bundle; import androidx.fragment.app.p; import androidx.preference.CheckBoxPreference; import androidx.preference.Preference; import ee.a; import eu.thedarken.sdm.App; import eu.thedarken.sdm.R; import eu.thedarken.sdm.tools.bugs.reporter.ReportActivity; import fa.p; public class ReportingPreferencesFragment extends SDMPreferenceFragment { public static final String f4526l0 = App.d("ReportingPreferencesFragment"); @Override public final boolean K1(Preference preference) { if ("main.bugreporting.userchoice".equals(preference.f1848r)) { boolean z10 = ((CheckBoxPreference) preference).T; boolean z11 = this.f1873d0.b().getBoolean("main.bugreporting.restricted", false); String str = f4526l0; a.d(str).a("Bugreporting userchoice: %s", Boolean.valueOf(z10)); a.d(str).a("Bugreporting restricted: %s", Boolean.valueOf(z11)); return true; } if ("main.bugreporting.issueticket".equals(preference.f1848r)) { p x32 = x3(); int i10 = ReportActivity.B; x32.startActivity(new Intent(x32, (Class<?>) ReportActivity.class)); return true; } if ("main.privacypolicy".equals(preference.f1848r)) { p.d d = new fa.p(x3()).d("https://sdmaid.darken.eu/privacy"); d.d = x3(); d.f5274e = true; d.c(); return true; } return super.K1(preference); } @Override public final int N3() { return R.xml.preferences_reporting; } @Override public final void W2(Bundle bundle) { super.W2(bundle); R3(R.string.bug_reporting, -1); } }