am 3dd47531: DO NOT MERGE

* commit '3dd4753171c4da47383d318f27aef1189037a534':
  DO NOT MERGE
am f691adb4: (-s ours) am 3dd47531: DO NOT MERGE

* commit 'f691adb4c2e60ead239e469e689da6bd60338727':
  DO NOT MERGE
Fix SE permissions.

Change-Id: I83f79bc7a5f3227ef4a8222dc879beda53a8ab31
Fix SE permissions.

Change-Id: I83f79bc7a5f3227ef4a8222dc879beda53a8ab31
am bd555ee6: Fix SE permissions.

* commit 'bd555ee64250126b60b24814120a2049943920ca':
  Fix SE permissions.
am 30735d1b: am bd555ee6: Fix SE permissions.

* commit '30735d1bdacbe0d05e925d8a5065b60124d21ee7':
  Fix SE permissions.
Patch for PN544 GPIO6 management

Change-Id: Ie9fc3f32cfdb043e67c774e3c222aa599f138932
am c16b76ce: Patch for PN544 GPIO6 management

* commit 'c16b76ce7fa78afe221c83d2c6cddf2719f397ee':
  Patch for PN544 GPIO6 management
am 6b419190: am c16b76ce: Patch for PN544 GPIO6 management

* commit '6b419190aff4f58548f91c1a67091a20e24b0c1d':
  Patch for PN544 GPIO6 management
Patch to support CE On/Off with Screen On/Off

Change-Id: Ic7046ea686b1cf3eb232f6125122dea5d919ac2d
Patch to manage the transceive timeout in wired mode

Change-Id: Id825345c0c5cd131d25ff23184a57ee53f9fa9dd
Patch to manage the Screen ON/OFF during the wired mode

Change-Id: I019ad3fc62f49280031320c2c32532e64097d3f9
am 99a1a5cd: Patch to support CE On/Off with Screen On/Off

* commit '99a1a5cd0824585da3b3fa4a3f43a7491342a99e':
  Patch to support CE On/Off with Screen On/Off
am a31e9dde: Patch to manage the transceive timeout in wired mode

* commit 'a31e9dde6f6fb1b0bb369a9545ddb83604bee396':
  Patch to manage the transceive timeout in wired mode
am 221b4d6e: Patch to manage the Screen ON/OFF during the wired mode

* commit '221b4d6ee301fbfe19402798f7d3c11e6878c888':
  Patch to manage the Screen ON/OFF during the wired mode
am b9d44427: am 99a1a5cd: Patch to support CE On/Off with Screen On/Off

* commit 'b9d444273a3eb0c1be6e8c27e3ce2e2be5813881':
  Patch to support CE On/Off with Screen On/Off
am af05565d: am a31e9dde: Patch to manage the transceive timeout in wired mode

* commit 'af05565dd349fc60874fcf282d9665ec6977cb40':
  Patch to manage the transceive timeout in wired mode
am eeacab3c: am 221b4d6e: Patch to manage the Screen ON/OFF during the wired mode

* commit 'eeacab3ce12d1b78b068ccf8fe18a9feafc48667':
  Patch to manage the Screen ON/OFF during the wired mode
Fix race in NFC tag registry/dispatch.

The tag handle was only registered after the dispatch; with the "normal"
dispatch the activity would take a while to start and this problem would not be
seen. With foreground dispatch however, if you'd immediately try to connect to a tag,
sometimes the tag handle is not registered yet, causing the connect() to fail.

Change-Id: I92b5e36a5d8f08e410a656d364e88bce2d25c854
Fix isConnected() implementation.

The NFC API's isConnected() is mapped to isPresent on a NativeNfcTag
object, which in turn uses a cached value. This value was however not
updated properly when the internal presence check loop detected the
tag to be gone. The cases where isConnected() does work properly
are screen off and explicit disconnect.

Change-Id: Ieac76ceb1f161ead772ce9fd2acf273b23caca37