commit | e0ced4da1990583d6438cb3e99a8e16b5d1e8cc6 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 30 17:44:28 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Oct 05 10:43:52 2015 -0700 |
tree | 51f6ae0e28e0ac62a812a4f4d1a18a3e2fce0f7a | |
parent | 24806db8f6f523542510097ce0af4a32beeda83b [diff] |
ZenModeHelper: fix cross deadlock with AudioService Processing ZenModeHelper.setConfig() synchronously in ZenModeConditions.onConditionChanged() can cause a cross deadlock between ConditionProviders.mMutex and AudioService.mSettingsLock. Add a method to set Zen mode config asynchronously. Bug: 24528290. Change-Id: I9c1701ca6bef084527821175d84002b612241995