summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2014-07-22 16:47:40 +0100
committerRobin Lee <rgl@google.com>2014-07-22 21:35:09 +0000
commit9c2be6c7ba3d7dce58e8f4ec1617698c54ae808e (patch)
treeb699b5cab393ed587f17cb07f05764ba02c585dd /api
parent2dcab18c6c9381122df6e06a93912e53dff69408 (diff)
downloadframeworks_base-9c2be6c7ba3d7dce58e8f4ec1617698c54ae808e.zip
frameworks_base-9c2be6c7ba3d7dce58e8f4ec1617698c54ae808e.tar.gz
frameworks_base-9c2be6c7ba3d7dce58e8f4ec1617698c54ae808e.tar.bz2
Stop double-loading device admins
loadSettingsLocked() was being called twice for USER_OWNER at systemReady(), doubling the number of admin entries at every boot. Also guards against double-adding admins which appear twice in the same XML file, favouring more recently-refreshed entries for backward compatibility. Previously an application calling in with 'refreshing = true' would double-insert whatever admin was being refreshed into its user's list of device admins. This is fixed too. @bug 16416936 Change-Id: Idd147aa130e6bce7bcc40532f0a7fb07117b3151
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions