Rabbit-R1/android (non root)/smali/smali_classes2/androidx/window/embedding/SplitController$Companion.smali
2024-05-21 17:08:36 -04:00

174 lines
5.4 KiB
Smali

.class public final Landroidx/window/embedding/SplitController$Companion;
.super Ljava/lang/Object;
.source "SplitController.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/window/embedding/SplitController;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0000\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0008\u0010\t\u001a\u00020\u0004H\u0007J\u0018\u0010\n\u001a\u00020\u000b2\u0006\u0010\u000c\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\u000fH\u0007R\u0010\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0008X\u0080T\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0010"
}
d2 = {
"Landroidx/window/embedding/SplitController$Companion;",
"",
"()V",
"globalInstance",
"Landroidx/window/embedding/SplitController;",
"globalLock",
"Ljava/util/concurrent/locks/ReentrantLock;",
"sDebug",
"",
"getInstance",
"initialize",
"",
"context",
"Landroid/content/Context;",
"staticRuleResourceId",
"",
"window_release"
}
k = 0x1
mv = {
0x1,
0x6,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 119
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Landroidx/window/embedding/SplitController$Companion;-><init>()V
return-void
.end method
# virtual methods
.method public final getInstance()Landroidx/window/embedding/SplitController;
.locals 2
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
.line 131
invoke-static {}, Landroidx/window/embedding/SplitController;->access$getGlobalInstance$cp()Landroidx/window/embedding/SplitController;
move-result-object p0
if-nez p0, :cond_1
.line 132
invoke-static {}, Landroidx/window/embedding/SplitController;->access$getGlobalLock$cp()Ljava/util/concurrent/locks/ReentrantLock;
move-result-object p0
check-cast p0, Ljava/util/concurrent/locks/Lock;
invoke-interface {p0}, Ljava/util/concurrent/locks/Lock;->lock()V
.line 133
:try_start_0
invoke-static {}, Landroidx/window/embedding/SplitController;->access$getGlobalInstance$cp()Landroidx/window/embedding/SplitController;
move-result-object v0
if-nez v0, :cond_0
.line 134
sget-object v0, Landroidx/window/embedding/SplitController;->Companion:Landroidx/window/embedding/SplitController$Companion;
new-instance v0, Landroidx/window/embedding/SplitController;
const/4 v1, 0x0
invoke-direct {v0, v1}, Landroidx/window/embedding/SplitController;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
invoke-static {v0}, Landroidx/window/embedding/SplitController;->access$setGlobalInstance$cp(Landroidx/window/embedding/SplitController;)V
.line 136
:cond_0
sget-object v0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 132
invoke-interface {p0}, Ljava/util/concurrent/locks/Lock;->unlock()V
goto :goto_0
:catchall_0
move-exception v0
invoke-interface {p0}, Ljava/util/concurrent/locks/Lock;->unlock()V
throw v0
.line 138
:cond_1
:goto_0
invoke-static {}, Landroidx/window/embedding/SplitController;->access$getGlobalInstance$cp()Landroidx/window/embedding/SplitController;
move-result-object p0
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
return-object p0
.end method
.method public final initialize(Landroid/content/Context;I)V
.locals 1
.annotation runtime Lkotlin/jvm/JvmStatic;
.end annotation
const-string v0, "context"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 149
new-instance v0, Landroidx/window/embedding/SplitRuleParser;
invoke-direct {v0}, Landroidx/window/embedding/SplitRuleParser;-><init>()V
.line 150
invoke-virtual {v0, p1, p2}, Landroidx/window/embedding/SplitRuleParser;->parseSplitRules$window_release(Landroid/content/Context;I)Ljava/util/Set;
move-result-object p1
.line 151
invoke-virtual {p0}, Landroidx/window/embedding/SplitController$Companion;->getInstance()Landroidx/window/embedding/SplitController;
move-result-object p0
if-nez p1, :cond_0
.line 152
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
move-result-object p1
:cond_0
invoke-static {p0, p1}, Landroidx/window/embedding/SplitController;->access$setStaticSplitRules(Landroidx/window/embedding/SplitController;Ljava/util/Set;)V
return-void
.end method