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

Commit b85885d7 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan
Browse files

[ECM] Make flag fixed (and rename it)

Make the enhanced_confirmation_mode_apis flag fixed (a.k.a. read
only). We'll need to use the flag across both framework and the
Permission module, and the only (?) way to support this is to use a
fixed flag.

Also, rename the flag. This is because feature flag documentation
shows the following warning:

    IMPORTANT: Modifying the type of an existing flag is not supported.
    For example, you cannot change a regular flag to a fixed read-only
    flag, or vice versa. If you need to change the flag type, the best
    practice is to create a new flag.

Bug: 316181485
Test: manual
Change-Id: I507cc4c3feae33c7946046b1734230a11cdc5927
parent 8435fa97
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -45,7 +45,8 @@ flag {
}

flag {
    name: "enhanced_confirmation_mode_apis"
    name: "enhanced_confirmation_mode_apis_enabled"
    is_fixed_read_only: true
    namespace: "permissions"
    description: "enable enhanced confirmation mode apis"
    bug: "310220212"