Rabbit-R1/switch port/smali/smali_classes3/org/webrtc/EglRenderer$HandlerWithExceptionCallback.smali
2024-05-21 17:08:36 -04:00

63 lines
1.6 KiB
Smali

.class Lorg/webrtc/EglRenderer$HandlerWithExceptionCallback;
.super Landroid/os/Handler;
.source "EglRenderer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/webrtc/EglRenderer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "HandlerWithExceptionCallback"
.end annotation
# instance fields
.field private final exceptionCallback:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>(Landroid/os/Looper;Ljava/lang/Runnable;)V
.locals 0
.line 96
invoke-direct {p0, p1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iput-object p2, p0, Lorg/webrtc/EglRenderer$HandlerWithExceptionCallback;->exceptionCallback:Ljava/lang/Runnable;
return-void
.end method
# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
.locals 2
.line 103
:try_start_0
invoke-super {p0, p1}, Landroid/os/Handler;->dispatchMessage(Landroid/os/Message;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception p1
const-string v0, "EglRenderer"
const-string v1, "Exception on EglRenderer thread"
.line 105
invoke-static {v0, v1, p1}, Lorg/webrtc/Logging;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
iget-object p0, p0, Lorg/webrtc/EglRenderer$HandlerWithExceptionCallback;->exceptionCallback:Ljava/lang/Runnable;
.line 106
invoke-interface {p0}, Ljava/lang/Runnable;->run()V
.line 107
throw p1
.end method