Update prefix for Persistence and MeteredOverride

This patch updates prefix for Persistence and MeteredOverride IntDef for
consistency.

Test: build
Bug: 397536853
Flag: EXEMPT mainline
Change-Id: Ic39c8d74900929f6ac95795bea2fbe9c686ec533
This commit is contained in:
Chuwei He 2025-07-02 15:05:15 +09:00
commit 0a3ed119fe

View file

@ -75,7 +75,7 @@ public class EthernetConfiguration implements Parcelable {
public static final int METERED_OVERRIDE_FORCE_UNMETERED = 2;
/** @hide */
@IntDef(prefix = "METERED_OVERRIDE", value = {METERED_OVERRIDE_NONE,
@IntDef(prefix = "METERED_OVERRIDE_", value = {METERED_OVERRIDE_NONE,
METERED_OVERRIDE_FORCE_METERED, METERED_OVERRIDE_FORCE_UNMETERED})
public @interface MeteredOverride {}
@ -104,7 +104,7 @@ public class EthernetConfiguration implements Parcelable {
* More persistence types will be introduced in the future for multi-user management.
* @hide
*/
@IntDef(prefix = "PERSISTENCE", value = {PERSISTENCE_IS_PERSISTED, PERSISTENCE_NOT_PERSISTED})
@IntDef(prefix = "PERSISTENCE_", value = {PERSISTENCE_IS_PERSISTED, PERSISTENCE_NOT_PERSISTED})
public @interface Persistence {}
/**