Threads.smali
.class final Lcom/android/volley/toolbox/Threads;
.super Ljava/lang/Object;
.source "Threads.java"
# direct methods
.method private constructor <init>()V
.registers 1
.line 6
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static throwIfNotOnMainThread()V
.registers 2
.line 9
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_b
return-void
.line 10
:cond_b
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Must be invoked from the main thread."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method