Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 m.java 源代码,内容仅作参考
package myobfuscated.vh2;
import android.content.Intent;
import android.net.Uri;
import android.text.TextUtils;
import androidx.preference.Preference;
import com.picsart.studio.picsart.profile.activity.WebViewActivity;
import com.socialin.android.preference.ContactSyncedActivity;
import com.socialin.android.preference.PrefFragment;
import java.util.Locale;
import kotlin.jvm.internal.Intrinsics;
public final class m implements Preference.d {
public final int a;
public final PrefFragment b;
public m(PrefFragment prefFragment, int i) {
this.a = i;
this.b = prefFragment;
}
@Override
public final boolean g1(Preference pref) {
String b;
int i = this.a;
PrefFragment this$0 = this.b;
switch (i) {
case 0:
boolean z = PrefFragment.u;
Intrinsics.checkNotNullParameter(this$0, "this$0");
Intrinsics.checkNotNullParameter(pref, "pref");
androidx.fragment.app.h activity = this$0.getActivity();
String str = pref.l;
String str2 = myobfuscated.l02.d.a;
str.getClass();
str.hashCode();
char c = 65535;
switch (str.hashCode()) {
case -1717659284:
if (str.equals("pref_privacy")) {
c = 0;
break;
}
break;
case -1629755285:
if (str.equals("pref_terms")) {
c = 1;
break;
}
break;
case -1299968189:
if (str.equals("pref_dmca")) {
c = 2;
break;
}
break;
case -1288863596:
if (str.equals("pref_ads")) {
c = 3;
break;
}
break;
case -1236403675:
if (str.equals("pref_license")) {
c = 4;
break;
}
break;
}
switch (c) {
case 0:
b = myobfuscated.wn1.b.b();
break;
case 1:
b = myobfuscated.wn1.b.c();
break;
case 2:
String str3 = myobfuscated.wn1.b.a;
String lowerCase = Locale.getDefault().getLanguage().toLowerCase();
StringBuilder sb = new StringBuilder("https://picsart.com/");
if (TextUtils.isEmpty(lowerCase)) {
lowerCase = myobfuscated.wn1.b.a;
}
b = defpackage.e.m(sb, lowerCase, "/copyright-dispute-policy");
break;
case 3:
b = myobfuscated.wn1.b.b().concat("#interest-based");
break;
case 4:
String str4 = myobfuscated.wn1.b.a;
b = "https://picsart.com/license/android";
break;
default:
b = "";
break;
}
String uri = Uri.parse(b).buildUpon().appendQueryParameter("app", "1").build().toString();
Intent intent = new Intent(activity, WebViewActivity.class);
intent.putExtra("url", uri);
activity.startActivity(intent);
return false;
default:
boolean z2 = PrefFragment.u;
Intrinsics.checkNotNullParameter(this$0, "this$0");
Intent intent2 = new Intent();
androidx.fragment.app.h activity2 = this$0.getActivity();
if (activity2 != null) {
intent2.setClass(activity2, ContactSyncedActivity.class);
}
intent2.addFlags(67108864);
this$0.s.a(intent2);
return false;
}
}
}