summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authoryinxu <yinxu@google.com>2018-03-12 14:07:49 -0700
committeryinxu <yinxu@google.com>2018-03-14 11:35:24 -0700
commit17dbd5b1f564bc96033c65dc290711c761ab5586 (patch)
tree36f64b28c107cf52f247731a000e34f8717ce143 /tools/aapt2/java/JavaClassGenerator.cpp
parent57479b64b776cfe24b70073e41badab5f77aa39f (diff)
Fix a bug when calling onError(int)
The lambda expression is executed on executor, so it is possible that the message has been updated. The correct way is to fetch the message.arg1 and use that value in the lamda expression. This is a clean cherry-pick from https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/3725360 Bug:73750871 Test: Unit Test Change-Id: Id13f5fabf7eaad6970ab66a83a17aba7f1eebfce Merged-in: Id13f5fabf7eaad6970ab66a83a17aba7f1eebfce (cherry picked from commit db18cdae661b87ff2de3847947906da735f8d5eb)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions