65 lines
1.7 KiB
Java
65 lines
1.7 KiB
Java
|
package o;
|
||
|
|
||
|
import android.net.Uri;
|
||
|
import java.util.Set;
|
||
|
|
||
|
/* renamed from: o.aKS, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C1649aKS extends ZI<InterfaceC6638cYp> {
|
||
|
@InterfaceC13391fZD
|
||
|
public C1649aKS(C16903sI c16903sI) {
|
||
|
super(c16903sI);
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.aKS$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class LWm {
|
||
|
private LWm() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ LWm(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static String Vn_(Uri uri) {
|
||
|
if (uri == null) {
|
||
|
return null;
|
||
|
}
|
||
|
Uri.Builder buildUpon = uri.buildUpon();
|
||
|
C14957gcv.c(buildUpon, "");
|
||
|
buildUpon.clearQuery();
|
||
|
Set<String> queryParameterNames = uri.getQueryParameterNames();
|
||
|
if (queryParameterNames != null) {
|
||
|
C14957gcv.c(queryParameterNames, "");
|
||
|
for (String str : queryParameterNames) {
|
||
|
if (!C14957gcv.b((Object) "applicationId", (Object) str)) {
|
||
|
buildUpon.appendQueryParameter(str, uri.getQueryParameter(str));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
Uri build = buildUpon.build();
|
||
|
if (build != null) {
|
||
|
return build.getQuery();
|
||
|
}
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public static String e(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
String concat = "scbeasy://partner/consent/authorize/application/".concat(String.valueOf(str));
|
||
|
if (!gjJ.a(str2)) {
|
||
|
return concat;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(concat);
|
||
|
sb.append("?");
|
||
|
sb.append(str2);
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new LWm((byte) 0);
|
||
|
}
|
||
|
}
|