what-the-bank/sources/o/QAo.java

77 lines
2.6 KiB
Java

package o;
import android.view.accessibility.AccessibilityManager;
/* loaded from: classes.dex */
public final class QAo {
/* loaded from: classes.dex */
public interface LWm {
void b(boolean z);
}
public static boolean tP_(AccessibilityManager accessibilityManager, LWm lWm) {
return Sts.tR_(accessibilityManager, lWm);
}
public static boolean tQ_(AccessibilityManager accessibilityManager, LWm lWm) {
return Sts.tS_(accessibilityManager, lWm);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public static final class IeS implements AccessibilityManager.TouchExplorationStateChangeListener {
final LWm d;
IeS(LWm lWm) {
this.d = lWm;
}
public final int hashCode() {
return this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj instanceof IeS) {
return this.d.equals(((IeS) obj).d);
}
return false;
}
@Override // android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener
public final void onTouchExplorationStateChanged(boolean z) {
this.d.b(z);
}
}
/* loaded from: classes.dex */
static class Sts {
static boolean tR_(AccessibilityManager accessibilityManager, LWm lWm) {
try {
return ((Boolean) Class.forName("android.view.accessibility.AccessibilityManager").getMethod("addTouchExplorationStateChangeListener", AccessibilityManager.TouchExplorationStateChangeListener.class).invoke(accessibilityManager, new IeS(lWm))).booleanValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
static boolean tS_(AccessibilityManager accessibilityManager, LWm lWm) {
try {
return ((Boolean) Class.forName("android.view.accessibility.AccessibilityManager").getMethod("removeTouchExplorationStateChangeListener", AccessibilityManager.TouchExplorationStateChangeListener.class).invoke(accessibilityManager, new IeS(lWm))).booleanValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
}