33 lines
1.4 KiB
Java
33 lines
1.4 KiB
Java
|
package com.discord.widgets.auth;
|
||
|
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: WidgetAuthLanding.kt */
|
||
|
public final class WidgetAuthLanding$onViewBoundOrOnResume$2 extends o implements Function1<Boolean, Unit> {
|
||
|
public final /* synthetic */ WidgetAuthLanding this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public WidgetAuthLanding$onViewBoundOrOnResume$2(WidgetAuthLanding widgetAuthLanding) {
|
||
|
super(1);
|
||
|
this.this$0 = widgetAuthLanding;
|
||
|
}
|
||
|
|
||
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
||
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||
|
@Override // kotlin.jvm.functions.Function1
|
||
|
public /* bridge */ /* synthetic */ Unit invoke(Boolean bool) {
|
||
|
invoke(bool);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(Boolean bool) {
|
||
|
m.checkNotNullExpressionValue(bool, "experimentEnabled");
|
||
|
if (bool.booleanValue() && !WidgetAuthLanding.access$getViewModel$p(this.this$0).getSmartLockCredentialRequestDisabled()) {
|
||
|
WidgetAuthLanding.access$getViewModel$p(this.this$0).getGoogleSmartLockManager().requestCredentials(this.this$0, 4009);
|
||
|
WidgetAuthLanding.access$getViewModel$p(this.this$0).setSmartLockCredentialRequestDisabled(true);
|
||
|
}
|
||
|
}
|
||
|
}
|