summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2020-03-16 14:56:28 -0700
committerMikhail Naganov <mnaganov@google.com>2020-03-17 23:45:02 +0000
commitf8213b3aee31f638b50227f0427cbf1e41ad7386 (patch)
tree0870da1bd7806702f016c7a64b81872c5ba522f0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4af44ac0ef5d6757cdec9a2ff1490f4120e86a20 (diff)
Visualizer: Ensure multi-thread safety
Add @GuardedBy annotations and ensure they are met when doing an ErrorProne build. Refactored Java code to simplify handling messages from the native code by using 'Handler.post' with Runnable instances. Bug: 149375271 Bug: 151442554 Test: RUN_ERROR_PRONE=true m framework-minus-apex check warnings for Visualizer class Test: run EffectsTest for Visualizer both in single threaded and multi-threaded usage scenarios, validate there are no lockups in the app and no messages from FORTIFY in the log Change-Id: I50752fad02f2a23ed8d0368b2550dbf7f879a706 Merged-In: I50752fad02f2a23ed8d0368b2550dbf7f879a706
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions