granularity level: instruction

		.class  Landroidx/core/content/ContextCompat$MainHandlerExecutor;
.super Ljava/lang/Object;
.source "ContextCompat.java"
.implements Ljava/util/concurrent/Executor;

.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/ContextCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "MainHandlerExecutor"
.end annotation

.field private final mHandler:Landroid/os/Handler;


.method constructor <init>(Landroid/os/Handler;)V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	iput-object p1, p0, Landroidx/core/content/ContextCompat$MainHandlerExecutor;->mHandler:Landroid/os/Handler;
	return-void
.end method

.method public execute(Ljava/lang/Runnable;)V
	.locals 2

	iget-object v0, p0, Landroidx/core/content/ContextCompat$MainHandlerExecutor;->mHandler:Landroid/os/Handler;
	invoke-virtual {v0, p1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
	move-result p1
	if-eqz p1, :cond_0
	return-void
	:cond_0
	new-instance p1, Ljava/util/concurrent/RejectedExecutionException;
	new-instance v0, Ljava/lang/StringBuilder;
	invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
	iget-object v1, p0, Landroidx/core/content/ContextCompat$MainHandlerExecutor;->mHandler:Landroid/os/Handler;
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string v1, " is shutting down"
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-direct {p1, v0}, Ljava/util/concurrent/RejectedExecutionException;-><init>(Ljava/lang/String;)V
	throw p1
.end method