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
This commit is contained in:
committed by
Andrei-Valentin Onea
parent
ab1b8a7a20
commit
10fb2bcd15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user