2021-12-17 21:59:34 +00:00
|
|
|
package b.a.a;
|
2021-07-24 02:37:17 +00:00
|
|
|
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.app.AppViewModel;
|
|
|
|
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 */
|
2021-08-03 07:33:18 +00:00
|
|
|
public final class p extends AppViewModel<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 */
|
|
|
|
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-02-01 08:01:17 +00:00
|
|
|
public static final class C0017a extends a {
|
|
|
|
public static final C0017a a = new C0017a();
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2022-02-01 08:01:17 +00:00
|
|
|
public C0017a() {
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public p(StoreUserSettings storeUserSettings, StoreNotices storeNotices, int i) {
|
2022-02-01 08:01:17 +00:00
|
|
|
super(a.C0017a.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
|
|
|
}
|
|
|
|
|
2021-08-03 07:33:18 +00:00
|
|
|
@Override // com.discord.app.AppViewModel, androidx.lifecycle.ViewModel
|
|
|
|
public void onCleared() {
|
2021-12-02 18:53:44 +00:00
|
|
|
StoreNotices storeNotices = this.k;
|
|
|
|
Objects.requireNonNull(h.k);
|
2021-08-03 07:33:18 +00:00
|
|
|
StoreNotices.markSeen$default(storeNotices, "ALLOW_ACCESSIBILITY_DETECTION_DIALOG", 0, 2, null);
|
2021-07-24 02:37:17 +00:00
|
|
|
}
|
|
|
|
}
|