what-the-bank/sources/o/C1704aLv.java

81 lines
2.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Intent;
import android.net.Uri;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.aLv, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C1704aLv extends ZI<InterfaceC6638cYp> {
private final C16903sI c;
private final C9100ddO e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1704aLv(C16903sI c16903sI, C9100ddO c9100ddO) {
super(c16903sI);
C14957gcv.e(c9100ddO, "");
this.c = c16903sI;
this.e = c9100ddO;
}
public final void Vo_(Intent intent) {
Uri data;
if (intent == null || (data = intent.getData()) == null) {
return;
}
if (!data.isOpaque()) {
C9100ddO c9100ddO = this.e;
Set<String> queryParameterNames = data.getQueryParameterNames();
C14957gcv.c(queryParameterNames, "");
Set<String> set = queryParameterNames;
C14957gcv.e(set, "");
ArrayList arrayList = new ArrayList(set instanceof Collection ? set.size() : 10);
for (String str : set) {
String queryParameter = data.getQueryParameter(str);
if (queryParameter == null) {
queryParameter = "";
}
arrayList.add(new C13396fZU(str, queryParameter));
}
Map c = C14856gaP.c(arrayList);
C14957gcv.e(c, "");
String[] strArr = {"name", "source"};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
if (c.keySet().containsAll(asList)) {
String str2 = (String) c.get("name");
if (str2 == null) {
str2 = "";
}
if (str2.length() > 0) {
String str3 = (String) c.get("source");
if (str3 == null) {
str3 = "";
}
if (str3.length() > 0) {
OffsetDateTime now = OffsetDateTime.now();
String str4 = (String) c.get("name");
String str5 = (String) c.get("source");
C14957gcv.c(now, "");
c9100ddO.b(new QTk(str4, "external", str5, now));
return;
}
return;
}
return;
}
return;
}
guQ.c("Cannot save sticky params due to URI is not a hierarchical URI.", new Object[0]);
}
}