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

Commit 8b79dcc2 authored by Marcello Galhardo's avatar Marcello Galhardo
Browse files

Use `UnreleasedFlag` instead of `SysPropBooleanFlag`.

A `UnreleasedFlag` is safer as it can not be changed in released builds or with public APIs (i.e., System Properties).

Test: manual

Fixes: b/257976997

Change-Id: I17eddcc77a14b16b31f67e5675932f4690b9ffb8
parent 2e382499
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -406,8 +406,8 @@ object Flags {
    val LEAVE_SHADE_OPEN_FOR_BUGREPORT =
        unreleasedFlag(1800, "leave_shade_open_for_bugreport", teamfood = true)

    // 1900 - note task
    @JvmField val NOTE_TASKS = sysPropBooleanFlag(1900, "persist.sysui.debug.note_tasks")
    // 1900
    @JvmField val NOTE_TASKS = unreleasedFlag(1900, "keycode_flag")

    // 2000 - device controls
    @Keep @JvmField val USE_APP_PANELS = unreleasedFlag(2000, "use_app_panels", teamfood = true)