commit | 5fd3cfa342db60e78dd26f5fe2030ab38da42134 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Wed Jan 05 22:28:01 2022 +0900 |
committer | Chalard Jean <jchalard@google.com> | Wed Feb 02 13:52:26 2022 +0900 |
tree | 2d951d6a38753746ff7f5c75bad28d00b6dce282 | |
parent | dd4219978d9c85a011728c53a16282d0626a1110 [diff] |
Use packBitList to prevent long-related mistakes In the following expression 1L << CONSTANT it is easy to forget the L, especially where it has not been necessary historically. This has happened in capabilities where they exceeded 30, see aosp/1928394. Use the new packBitList to avoid repeats of the same mistake. Test: FrameworksNetTests Change-Id: Ic6a1aa9254bf9ad222c3e2fe4f52bb89a1f9c4e5