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

90 lines
2.0 KiB
Smali

.class public Landroidx/core/content/d$d;
.super Ljava/lang/Object;
.source "ContextCompat.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x17
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/core/content/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "d"
.end annotation
# 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(Landroid/content/Context;I)I
.locals 0
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Context;->getColor(I)I
move-result p0
return p0
.end method
.method public static b(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/Object;
.locals 0
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"TT;>;)TT;"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static c(Landroid/content/Context;Ljava/lang/Class;)Ljava/lang/String;
.locals 0
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Ljava/lang/Class<",
"*>;)",
"Ljava/lang/String;"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Context;->getSystemServiceName(Ljava/lang/Class;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method