Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60282158 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[kairos] control name tagging w/ sysprop" into main

parents 71445196 10ee38e4
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -16,7 +16,12 @@

package com.android.systemui.kairos.util

private const val TaggingEnabled = true
import android.os.Build
import android.os.SystemProperties

private val TaggingEnabled: Boolean =
    (Build.IS_ENG || Build.IS_USERDEBUG) &&
        SystemProperties.getBoolean("persist.debug.kairos_name_tagging", false)

/**
 * Developer-specified name used for debugging. Will only be used if Kairos is compiled with name