commit | a4efdf51958a39e6f897b1fcf6c88353753c9c21 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@google.com> | Mon Feb 06 15:37:01 2017 -0800 |
committer | Pavlin Radoslavov <pavlin@google.com> | Mon Feb 06 15:37:01 2017 -0800 |
tree | fa12f30e62f7798b2f3385aafe8a23fd866f958b | |
parent | 78115c0abc8e1ead5fa2d1e0125de4c9c9de2d32 [diff] |
Catch IllegalStateException when updating Bluetooth A2DP codec info Add an explicit check when calling getResources() inside updateBluetoothA2dpConfigurationValues(). This fixes a potential race condition - the latter could be called in background when processing intent update. Bug: 35021206 Test: Manual UI testing Change-Id: I38117c5b1e08f4b2ecfd7637bb3e34920aa0d296