mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 18:37:17 +01:00
46 lines
2.4 KiB
Java
46 lines
2.4 KiB
Java
package com.facebook.react.bridge;
|
|
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\b&\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005B\u0011\b\u0016\u0012\u0006\u0010\u0006\u001a\u00020\u0007¢\u0006\u0004\b\u0004\u0010\bJ\u0006\u0010\t\u001a\u00020\nJ\b\u0010\u000b\u001a\u00020\nH&R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\f"}, d2 = {"Lcom/facebook/react/bridge/GuardedRunnable;", "Ljava/lang/Runnable;", "exceptionHandler", "Lcom/facebook/react/bridge/JSExceptionHandler;", "<init>", "(Lcom/facebook/react/bridge/JSExceptionHandler;)V", "reactContext", "Lcom/facebook/react/bridge/ReactContext;", "(Lcom/facebook/react/bridge/ReactContext;)V", "run", "", "runGuarded", "ReactAndroid_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
|
/* loaded from: classes6.dex */
|
|
public abstract class GuardedRunnable implements Runnable {
|
|
|
|
@NotNull
|
|
private final JSExceptionHandler exceptionHandler;
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public GuardedRunnable(@org.jetbrains.annotations.NotNull com.facebook.react.bridge.ReactContext r1) {
|
|
/*
|
|
r0 = this;
|
|
r1.getClass()
|
|
com.facebook.react.bridge.JSExceptionHandler r1 = r1.getExceptionHandler()
|
|
r1.getClass()
|
|
r0.<init>(r1)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.facebook.react.bridge.GuardedRunnable.<init>(com.facebook.react.bridge.ReactContext):void");
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
try {
|
|
runGuarded();
|
|
} catch (RuntimeException e) {
|
|
this.exceptionHandler.handleException(e);
|
|
}
|
|
}
|
|
|
|
public abstract void runGuarded();
|
|
|
|
public GuardedRunnable(@NotNull JSExceptionHandler jSExceptionHandler) {
|
|
jSExceptionHandler.getClass();
|
|
this.exceptionHandler = jSExceptionHandler;
|
|
}
|
|
}
|