2022-06-10 21:38:30 +09:00

42 lines
825 B
Smali

.class public Lcom/journeyapps/barcodescanner/w;
.super Ljava/lang/Object;
.source "Util.java"
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()V
.locals 2
.line 1
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v0
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_0
return-void
.line 2
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Must be called from the main thread."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method