{"push_id":900544043,"size":1,"distinct_size":1,"ref":"refs/heads/m6.0","head":"e99c2e90811a1f7e947ae94373dd57ec31de29d0","before":"60aaf7fdb5674dacb0795e40a2195699497d02b5","commits":[{"sha":"e99c2e90811a1f7e947ae94373dd57ec31de29d0","author":{"email":"b31db7443dd18333bdc377845a225f4836383323@intel.com","name":"lwan89x"},"message":"Fix deadlock between ActivityManager and BackupManager under some race conditions.\n\nDeadlock may happen when bind backup agent under some race condition.\nIf waiting for backup agent timeout, BackupManager will call to\nActivityManager's clearPendingBackup with mAgentConnectLock held.\nDuring clearPendingBackup process, it will try to lock ActivityManager's\nmain lock. If app started up timeout at the same time, ActivityManager\nwill call to BackupManager's agentDisconnected with main lock held.\nDuring agentDisconnected process, it will try to lock mAgentConnectLock.\nDeadlock happened then.\n\nIn bindToAgentSynchronous process, move clearPendingBackup out of lock\narea to fix this issue.\n\nChange-Id: Ic1acfe1df8fd83d4acff5ce518d86cea4b2fe18b\nSigned-off-by: lwan89 <liang.wang@intel.com>\nSigned-off-by: Zhiquan Liu <zhiquan.liu@intel.com>","distinct":true,"url":"https://api.github.com/repos/kantjer/frameworks_base/commits/e99c2e90811a1f7e947ae94373dd57ec31de29d0"}]}