Files
rl-mobile/patches/debug-menu-unlock.patch

37 lines
1.1 KiB
Diff

--- a/com/tidal/android/core/debug/DebugFeatureInteractorDefault.smali
+++ b/com/tidal/android/core/debug/DebugFeatureInteractorDefault.smali
@@ -54,6 +54,9 @@
.method public final a()Z
.locals 2
+ const/4 v0, 0x1 # force true
+ return v0 # bypass debug flag
+
.line 1
iget-object v0, p0, Lcom/tidal/android/core/debug/DebugFeatureInteractorDefault;->a:Lcom/tidal/android/featureflags/l;
@@ -98,6 +101,14 @@
}
.end annotation
+ sget-object v0, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean; # always-true value
+
+ invoke-static {v0}, Lkotlinx/coroutines/flow/StateFlowKt;->MutableStateFlow(Ljava/lang/Object;)Lkotlinx/coroutines/flow/MutableStateFlow; # wrap in flow
+
+ move-result-object v0 # the flow
+
+ return-object v0 # short-circuit b()
+
.line 1
sget-object v0, Lj50/a;->a:Ljava/lang/String;
@@ -261,5 +272,8 @@
.method public final c()Z
.locals 3
+ const/4 v0, 0x1 # force true
+ return v0 # bypass debug flag
+
.line 1
sget-object v0, Lj50/a;->a:Ljava/lang/String;