commit | d8c7429418179379c5c7f23ba29a9eee3d22a7c0 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Wed Dec 13 19:16:33 2017 -0800 |
committer | Nathan Harold <nharold@google.com> | Thu Jan 04 15:28:29 2018 -0800 |
tree | c6b5d87e632bf73e48a3bcde8bd122a28ddd6e51 | |
parent | 6119d8d1d0d89b0d4c4ac822e9e93bb47f1ebd9a [diff] |
IpSecService - Convert mNextResourceId from AtomicInt to Int The mNextResourceId variable is only accessed within synchronized blocks, so there is no need to use an atomic integer to synchronize it. This eliminates the misleading notion that the variable is accessed outside of guarded blocks, which it is not. Bug: 62279167 Test: cts Change-Id: I815835622659f54d2d2d33b349b17c632ebced8d