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

Commit 10fb2bcd authored by Andrei Onea's avatar Andrei Onea Committed by Andrei-Valentin Onea
Browse files

Make ChangeReporter.{Status,Source} proper enums

They mistakenly were tagged as flags, which is not applicable for either
of them.

Test: m
Bug: 174237593
Change-Id: I982ddc53839f13255ea68c9852fd20c3fe5a8433
parent ab1b8a7a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ public final class ChangeReporter {
                    FrameworkStatsLog.APP_COMPATIBILITY_CHANGE_REPORTED__SOURCE__SYSTEM_SERVER;

    @Retention(RetentionPolicy.SOURCE)
    @IntDef(flag = true, prefix = { "STATE_" }, value = {
    @IntDef(prefix = { "STATE_" }, value = {
            STATE_UNKNOWN_STATE,
            STATE_ENABLED,
            STATE_DISABLED,
@@ -231,7 +231,7 @@ public final class ChangeReporter {
    }

    @Retention(RetentionPolicy.SOURCE)
    @IntDef(flag = true, prefix = { "SOURCE_" }, value = {
    @IntDef(prefix = { "SOURCE_" }, value = {
            SOURCE_UNKNOWN_SOURCE,
            SOURCE_APP_PROCESS,
            SOURCE_SYSTEM_SERVER