commit | 3d06893ba65e754293050536ed003a15cf6d7477 | [log] [tgz] |
---|---|---|
author | Sanket Agarwal <sanketa@google.com> | Wed Apr 27 13:22:44 2016 -0700 |
committer | Pavlin Radoslavov <pavlin@google.com> | Fri Jun 03 01:07:24 2016 +0000 |
tree | ec1d520da0b22fba0c3602a256c262d863ddf802 | |
parent | 9126cfba19c92d9fbce928ddd0caf7b098b94d3b [diff] |
Handle return value when Bluetooth is enabled If the Bluetooth enable(true) returns false currently we are waiting for a broadcast (which may not happen if enable returns false). We mark the toggle to have failed (i.e. it is clickable and in OFF state) and the switch bar text is appropriately shown. Bug: b/28318203 Change-Id: I09ba46d2e102e7f2c4ef9a72bf38dedc1346364f