From 76aafcfbeab5da0e72ba54a0f05cb6cf472aebeb Mon Sep 17 00:00:00 2001 From: Bookatz Date: Mon, 17 Sep 2018 16:17:10 -0700 Subject: Statsd atoms: restrict OEM fields 100000-199999 The current wording seems to suggest allocating an infinite number of fields, which is not future-proof. Bug: 72866543 Test: N/A Change-Id: I88732ea8695521a39f20524348547cfe50cbf776 --- cmds/statsd/src/atoms.proto | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index ab9c7e81a88e..f0e1ed0586af 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -152,8 +152,9 @@ message Atom { Temperature temperature = 10021; } - // DO NOT USE field numbers above 100,000 in AOSP. Field numbers above - // 100,000 are reserved for non-AOSP (e.g. OEMs) to use. + // DO NOT USE field numbers above 100,000 in AOSP. + // Field numbers 100,000 - 199,999 are reserved for non-AOSP (e.g. OEMs) to use. + // Field numbers 200,000 and above are reserved for future use; do not use them at all. } /** -- cgit v1.2.3-59-g8ed1b