summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2022-05-31 13:48:56 -0500
committer chaviw <chaviw@google.com> 2022-05-31 13:48:56 -0500
commit9e3cd0533fa4dbca75d65750f9ffcd9817779c3c (patch)
treec17d5047329683768898ee89da4423b3067b70f2 /libs/androidfw/StringPool.cpp
parent91d28d1b21ad2466470f887877a89e1b1046366d (diff)
Remove lock when calling Surface.destroy
Surface already has a lock on the native object so it's safe to call destroy without holding additional locks. This also fixes ANR issues where an app is still attempting to render when the window is destroyed. Test: App from bug doesn't ANR Bug: 234006724 Change-Id: I0d323c03f299e5857d1950870498f3182d019924
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions