commit | d01ff6d4c35edecd3d250d65ca1ab63699e0d642 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Wed Nov 12 10:46:50 2014 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Wed Nov 12 11:27:21 2014 -0800 |
tree | d3634eecad40e7e9d50c8ea33d356fe698f8cb67 | |
parent | 4fc2ea8402b62001b225bf4e1a335c4cbf3b65ea [diff] |
Added synchronization to handlePackagesChanged method Method handlePackagesChanged modifies the policy data without holding the lock. It also calls methods which expect a lock to be held - validatePasswordOwnerLocked, syncDeviceCapabilitiesLocked, saveSettingsLocked. Bug: 18262633 Change-Id: Ia4bdc6edc66bccf8a4288e048171ff20858ae2f6