commit | af048934664190e5a8c15a7e77e1777b7a1ac3bf | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed Jan 10 13:10:53 2024 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Jan 10 13:32:05 2024 -0800 |
tree | 4b6c0a52beb2aa3603bd03dc771c1d77f98dfb97 | |
parent | 8afffe5748b24577a776345c90ff7e54a2a85e38 [diff] |
Add IsValidLevel. The range of level values will soon be non continuous, so the check against LAST_PLUS_ONE is no longer sufficient. Change it to a proper predicate. Also delete the unused LAST_PLUS_ONE after this change. NO_IFTTT=editing comments Test: TH Bug: 314845349 Change-Id: If67bbd20057b53b688f4f0a9a1f8210de4687f6e