commit | d508d9900a7d318073bd7b308d094755df316527 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Fri Apr 12 15:47:41 2013 -0700 |
committer | Martijn Coenen <maco@google.com> | Fri Apr 12 15:50:29 2013 -0700 |
tree | 0da5d8c7683ddae7242824e7861a22235cf274fe | |
parent | 774304ff788dd1670a23e1f68fac244cf98d4c3c [diff] |
Restore SE activated mode in case of failure. There is a tight race condition where opening of the SE can fail, due to a tag/p2p device having just come in. In that case, restore the original state of the SE activated mode. This will prevent future calls into this method and Connect() from immediately bailing out. Bug: 8599167 Change-Id: I1890e4efb73a9f5bdd6abe0644f88051b32e8c02