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
1 file changed
tree: 0da5d8c7683ddae7242824e7861a22235cf274fe
  1. inc/
  2. Linux_x86/
  3. src/
  4. Android.mk
  5. CleanSpec.mk
  6. MODULE_LICENSE_APACHE2
  7. NOTICE