discord-jadx/app/src/main/java/b/a/a/p.java

58 lines
2.0 KiB
Java
Raw Normal View History

2021-12-17 21:59:34 +00:00
package b.a.a;
2021-07-24 02:37:17 +00:00
2022-03-28 08:10:50 +00:00
import b.a.d.d0;
2021-08-03 07:33:18 +00:00
import com.discord.stores.StoreNotices;
import com.discord.stores.StoreStream;
import com.discord.stores.StoreUserSettings;
2021-11-02 06:38:17 +00:00
import d0.z.d.m;
2021-08-03 07:33:18 +00:00
import java.util.Objects;
import kotlin.jvm.internal.DefaultConstructorMarker;
2021-07-24 02:37:17 +00:00
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2022-03-28 08:10:50 +00:00
public final class p extends d0<a> {
2021-12-02 18:53:44 +00:00
public final StoreUserSettings j;
public final StoreNotices k;
2021-08-03 07:33:18 +00:00
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2021-08-03 07:33:18 +00:00
public static abstract class a {
/* compiled from: WidgetAccessibilityDetectionDialogViewModel.kt */
2021-12-17 21:59:34 +00:00
/* renamed from: b.a.a.p$a$a reason: collision with other inner class name */
2022-03-07 09:34:54 +00:00
/* loaded from: classes.dex */
2022-03-12 00:35:13 +00:00
public static final class C0026a extends a {
public static final C0026a a = new C0026a();
2021-08-03 07:33:18 +00:00
2022-03-12 00:35:13 +00:00
public C0026a() {
2021-08-03 07:33:18 +00:00
super(null);
}
}
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
}
2021-07-24 02:37:17 +00:00
public p() {
2021-08-03 07:33:18 +00:00
this(null, null, 3);
}
2022-03-07 09:34:54 +00:00
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
2021-08-03 07:33:18 +00:00
public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) {
2022-03-12 00:35:13 +00:00
super(a.C0026a.a);
2021-08-03 07:33:18 +00:00
StoreNotices storeNotices2 = null;
StoreUserSettings userSettings = (i & 1) != 0 ? StoreStream.Companion.getUserSettings() : null;
storeNotices2 = (i & 2) != 0 ? StoreStream.Companion.getNotices() : storeNotices2;
m.checkNotNullParameter(userSettings, "storeUserSettings");
m.checkNotNullParameter(storeNotices2, "storeNotices");
2021-12-02 18:53:44 +00:00
this.j = userSettings;
this.k = storeNotices2;
2021-07-24 02:37:17 +00:00
}
2022-03-28 08:10:50 +00:00
@Override // b.a.d.d0, androidx.lifecycle.ViewModel
2021-08-03 07:33:18 +00:00
public void onCleared() {
2021-12-02 18:53:44 +00:00
StoreNotices storeNotices = this.k;
Objects.requireNonNull(h.k);
2022-03-07 09:34:54 +00:00
StoreNotices.markSeen$default(storeNotices, "ALLOW_ACCESSIBILITY_DETECTION_DIALOG", 0L, 2, null);
2021-07-24 02:37:17 +00:00
}
}