summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authortiger_huang <tiger_huang@htc.com>2015-06-29 17:17:30 +0800
committerWale Ogunwale <ogunwale@google.com>2015-06-29 08:18:36 -0700
commitcc6366dde1776d40ab58f2475c4e1f8993253d7a (patch)
tree90cdc14a04a172989558ee190206f97f3c1f7ce7 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf1900b500f71c372376b5d951d581afcca8d7b57 (diff)
Use the correct lock to protect members in PolicyControl
Members in PolicyControl can be accessed by multiple threads via the public functions called by PhoneWindowManager. Most of the functions are called with the window-manager-lock held, but reloadFromSetting() is an exception. In this patch, we acquire the window-manager-lock before calling reloadFromSetting() to ensure accessing the members with the same lock held. Change-Id: I54ac5cab2a2d74c568fa96145f7a6741c6d99e36
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions