97 lines
1.9 KiB
Smali
97 lines
1.9 KiB
Smali
.class public Le7/b;
|
|
.super Ljava/lang/Object;
|
|
.source "DeviceUtils.java"
|
|
|
|
|
|
# static fields
|
|
.field public static a:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 1
|
|
sput-object p0, Le7/b;->a:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static b()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Le7/b;->a:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static c(Landroid/content/Context;Ljava/lang/String;)Z
|
|
.locals 1
|
|
.param p0 # Landroid/content/Context;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lc7/f;->a(Ljava/lang/Object;)V
|
|
|
|
.line 2
|
|
invoke-static {p1}, Lc7/f;->a(Ljava/lang/Object;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-static {p0, p1}, Landroidx/core/content/d;->a(Landroid/content/Context;Ljava/lang/String;)I
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:catch_0
|
|
:cond_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static d(Landroid/app/Activity;Lc7/a;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Le7/b$a;
|
|
|
|
invoke-direct {v0, p0, p1}, Le7/b$a;-><init>(Landroid/app/Activity;Lc7/a;)V
|
|
|
|
const/4 p0, 0x0
|
|
|
|
new-array p0, p0, [Ljava/lang/Void;
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p0}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;
|
|
|
|
return-void
|
|
.end method
|