feat(spoof): skip absent boot-lock props

Creating a vendor-specific boot prop on a device that never had
one is itself a detection signal. Existence-guard the four
boot-lock targets so absent props stay absent.
This commit is contained in:
Enginex0
2026-05-19 08:01:10 +01:00
parent 259d27c3c7
commit 3b1e908670
@@ -16,6 +16,10 @@ object BootStateManager {
fun apply() {
for ((name, target) in targets) {
val current = SystemProperties.get(name, "")
if (current.isEmpty()) {
SystemLogger.debug("BootStateManager: $name absent on this device, skip")
continue
}
if (current == target) {
SystemLogger.debug("BootStateManager: $name already $target, skip")
continue