55 lines
1.6 KiB
Java
55 lines
1.6 KiB
Java
package o;
|
|
|
|
import android.app.RemoteInput;
|
|
import android.os.Build;
|
|
import android.os.Bundle;
|
|
import java.util.Iterator;
|
|
import java.util.Set;
|
|
|
|
/* renamed from: o.wCa, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C17360wCa {
|
|
final Bundle a;
|
|
final int b;
|
|
final boolean c;
|
|
final CharSequence[] d;
|
|
final Set<String> e;
|
|
final String i;
|
|
final CharSequence j;
|
|
|
|
/* renamed from: o.wCa$LWm */
|
|
/* loaded from: classes.dex */
|
|
static class LWm {
|
|
static RemoteInput.Builder ng_(RemoteInput.Builder builder, String str, boolean z) {
|
|
return builder.setAllowDataType(str, z);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.wCa$Sts */
|
|
/* loaded from: classes.dex */
|
|
static class Sts {
|
|
public static RemoteInput nf_(C17360wCa c17360wCa) {
|
|
RemoteInput.Builder addExtras = new RemoteInput.Builder(c17360wCa.i).setLabel(c17360wCa.j).setChoices(c17360wCa.d).setAllowFreeFormInput(c17360wCa.c).addExtras(c17360wCa.a);
|
|
Set<String> set = c17360wCa.e;
|
|
if (set != null) {
|
|
Iterator<String> it = set.iterator();
|
|
while (it.hasNext()) {
|
|
LWm.ng_(addExtras, it.next(), true);
|
|
}
|
|
}
|
|
if (Build.VERSION.SDK_INT >= 29) {
|
|
RVV.nh_(addExtras, c17360wCa.b);
|
|
}
|
|
return addExtras.build();
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.wCa$RVV */
|
|
/* loaded from: classes.dex */
|
|
static class RVV {
|
|
static RemoteInput.Builder nh_(RemoteInput.Builder builder, int i) {
|
|
return builder.setEditChoicesBeforeSending(i);
|
|
}
|
|
}
|
|
}
|