summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2022-05-10 12:40:58 -0500
committer chaviw <chaviw@google.com> 2022-05-10 12:40:58 -0500
commit40e361cb78773dd8682f665196db91e8be4666d1 (patch)
treea4dd2e4eb42acea59c6cbf505cc8da2805a96441 /libs/androidfw/StringPool.cpp
parentc0ba82990231f068a23afa0cd049ac4588977f4b (diff)
Lock in Surface#destroy
Previously, destroy just directly called release, which was already locked. Now, destroy invokes some functions in native. This means if another thread is calling release during the destroy call, it could cause crashes. Test: Hard to repro bug Bug: 223412469 Change-Id: Ie6415f505bbc86505e3fe3ea2a0bea96a3e78ad3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions