66 lines
1.8 KiB
Smali
66 lines
1.8 KiB
Smali
.class public Lcom/helpshift/exception/HSUncaughtExceptionHandler$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/helpshift/exception/HSUncaughtExceptionHandler;->init()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic val$defaultUncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Thread$UncaughtExceptionHandler;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/helpshift/exception/HSUncaughtExceptionHandler$1;->val$defaultUncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
.line 27
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
|
.locals 2
|
|
|
|
.line 32
|
|
invoke-static {p2}, Lcom/helpshift/exception/HSUncaughtExceptionHandler;->isCausedByHelpshift(Ljava/lang/Throwable;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v0, "UncghtExptnHndlr"
|
|
|
|
const-string v1, "UNCAUGHT EXCEPTION "
|
|
|
|
.line 33
|
|
invoke-static {v0, v1, p2}, Lcom/helpshift/log/HSLogger;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/helpshift/exception/HSUncaughtExceptionHandler$1;->val$defaultUncaughtExceptionHandler:Ljava/lang/Thread$UncaughtExceptionHandler;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 38
|
|
invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|