37 lines
1.6 KiB
Java
37 lines
1.6 KiB
Java
|
package com.discord.utilities.accessibility;
|
||
|
|
||
|
import android.view.accessibility.AccessibilityManager;
|
||
|
import j0.l.e.j;
|
||
|
import java.util.concurrent.TimeUnit;
|
||
|
import kotlin.Unit;
|
||
|
import rx.functions.Action1;
|
||
|
/* compiled from: AccessibilityMonitor.kt */
|
||
|
public final class AccessibilityMonitor$handleInitialState$1 implements AccessibilityManager.AccessibilityStateChangeListener {
|
||
|
public final /* synthetic */ AccessibilityMonitor this$0;
|
||
|
|
||
|
/* compiled from: AccessibilityMonitor.kt */
|
||
|
/* renamed from: com.discord.utilities.accessibility.AccessibilityMonitor$handleInitialState$1$1 reason: invalid class name */
|
||
|
public static final class AnonymousClass1<T> implements Action1<Unit> {
|
||
|
public final /* synthetic */ boolean $enabled;
|
||
|
public final /* synthetic */ AccessibilityMonitor$handleInitialState$1 this$0;
|
||
|
|
||
|
public AnonymousClass1(AccessibilityMonitor$handleInitialState$1 accessibilityMonitor$handleInitialState$1, boolean z2) {
|
||
|
this.this$0 = accessibilityMonitor$handleInitialState$1;
|
||
|
this.$enabled = z2;
|
||
|
}
|
||
|
|
||
|
public final void call(Unit unit) {
|
||
|
AccessibilityMonitor.access$handleScreenreaderEnabledUpdate(this.this$0.this$0, this.$enabled);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public AccessibilityMonitor$handleInitialState$1(AccessibilityMonitor accessibilityMonitor) {
|
||
|
this.this$0 = accessibilityMonitor;
|
||
|
}
|
||
|
|
||
|
@Override // android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener
|
||
|
public final void onAccessibilityStateChanged(boolean z2) {
|
||
|
new j(Unit.a).q(200, TimeUnit.MILLISECONDS).V(new AnonymousClass1(this, z2));
|
||
|
}
|
||
|
}
|