2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "StoreAudioManager.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/discord/stores/StoreAudioManager;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "AudioManagerProvider"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final INSTANCE:Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public static constructor <clinit>()V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
new-instance v0, Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;-><init>()V
|
|
|
|
|
|
|
|
sput-object v0, Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;->INSTANCE:Lcom/discord/stores/StoreAudioManager$AudioManagerProvider;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final get(Landroid/content/Context;)Landroid/media/AudioManager;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
const-string v1, "audio"
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
instance-of v1, p1, Landroid/media/AudioManager;
|
|
|
|
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
goto :goto_0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_0
|
2020-07-08 16:44:49 +00:00
|
|
|
move-object v0, p1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
:goto_0
|
|
|
|
check-cast v0, Landroid/media/AudioManager;
|
|
|
|
|
|
|
|
return-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const-string p1, "context"
|
|
|
|
|
2020-07-25 00:57:58 +00:00
|
|
|
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|