summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGarfield, Tan <xutan@google.com>2016-07-25 09:59:34 -0700
committerGarfield, Tan <xutan@google.com>2016-07-25 10:12:22 -0700
commitebb8450cd06c8506406c483f2b10716b6e0fc87b (patch)
tree01ffbeec1619c8e309f9255418d06c14f7233b73 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentadc51e460c728c21c0482308b6918e5798dcbf81 (diff)
DO NOT MERGE: Change the order of 2 statements to remove race.
When we finish action mode we access to the cursor of model in main thread to remove selection. When we transfer documents we have a GetDocumentsTask that access the cursor in background. This creates a race condition that contaminates the final copy result. Temporary solution is to finish action mode first and then transfer documents so that when GetDocumentsTask is running action mode is already finished. Permanent solution is provided as part of ag/1138398 which removes GetDocumentsTask. Bug: 30082168 Change-Id: I5bffe2093a58c856044026913d038f80a3fd7d55
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions