q.smali

.class public Ljo/q;
.super Ljava/lang/Object;
.source "UncaughtException.java"

# interfaces
.implements Ljava/lang/Thread$UncaughtExceptionHandler;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Ljo/q$c;,
        Ljo/q$b;
    }
.end annotation


# static fields
.field public static final b:Ljava/lang/String;


# instance fields
.field public a:Ljo/q$c;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    const-class v0, Ljo/q;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Ljo/q;->b:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public synthetic constructor <init>(Ljo/q$a;)V
    .registers 2

    invoke-direct {p0}, Ljo/q;-><init>()V

    return-void
.end method

.method public static a()Ljo/q;
    .registers 1

    invoke-static {}, Ljo/q$b;->a()Ljo/q;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a(Ljo/q$c;)V
    .registers 2

    iput-object p1, p0, Ljo/q;->a:Ljo/q$c;

    return-void
.end method

.method public uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
    .registers 5
    .param p1    # Ljava/lang/Thread;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .param p2    # Ljava/lang/Throwable;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    iget-object v0, p0, Ljo/q;->a:Ljo/q$c;

    if-eqz v0, :cond_7

    invoke-interface {v0, p1, p2}, Ljo/q$c;->onException(Ljava/lang/Thread;Ljava/lang/Throwable;)V

    :cond_7
    sget-object p1, Ljo/q;->b:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "uncaughtException"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/Throwable;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method