diff options
author | George Mount <mount@google.com> | 2017-05-22 16:21:09 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2017-05-24 20:14:18 +0000 |
commit | 7cdd49abe9c831b63e9bec5219b6726d488b0e40 (patch) | |
tree | 5807f0c99c0f03ebadff23feb2c55c2248b2b16e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ced004da5c92be93af14c07b972ac21c48379a30 (diff) |
Fix warnings surfaced by error-prone.
Bug 36033775
Error-prone discovered that mAdded is created after usage, but
can be accessed on any thread. This makes mAdded a final value
so that it cannot be created on one thread and accessed on another.
Test: ran cts fragment tests
Change-Id: I4e655a6cef9d924f392c021d9d2a9ae2d0dc0519
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions