summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
authortiger_huang <tiger_huang@htc.com>2015-06-29 17:17:30 +0800
committerTiger Huang <tiger_huang@htc.com>2015-06-29 09:22:01 +0000
commite8befb35313e37f519ef61b35669d848eb464437 (patch)
tree1a02ecf583e217b1d78a8dbf4713d9b94f1cfcb3 /libs/androidfw/ZipFileRO.cpp
parent78db19c25a3a18d9ccf19b91be17e791e4fd782c (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 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions