commit | 22fe298a02fb6e94a622081f747731c4a1936fb6 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Mon Nov 11 12:46:20 2024 +0100 |
committer | Adrian Roos <roosa@google.com> | Mon Nov 11 22:34:40 2024 +0100 |
tree | 058524d15cdb3d7cb50ee75aef99bac097b174f5 | |
parent | edd252ce397dec4807fbb589990475b393453db9 [diff] |
@FlaggedApi: Enforce using constants instead of literals Enables a lint that forces useing @FlaggedApi(..Flags.FLAG_FOO) instead of @FlaggedApi("...FLAG_FOO"). This avoids the potential for typos causing APIs to not ship as intended. Bug: 322505144 Test: make checkapi Flag: EXEMPT lint only Change-Id: I3a78d918a38927b74c68a216cebf4b5bb692cbfa