diff options
| author | Chalard Jean <jchalard@google.com> | 2022-01-05 22:28:01 +0900 |
|---|---|---|
| committer | Chalard Jean <jchalard@google.com> | 2022-02-02 13:52:26 +0900 |
| commit | 5fd3cfa342db60e78dd26f5fe2030ab38da42134 (patch) | |
| tree | 2d951d6a38753746ff7f5c75bad28d00b6dce282 /tests/unit/java/android/net/NetworkStatsCollectionTest.java | |
| 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
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsCollectionTest.java')
0 files changed, 0 insertions, 0 deletions
