1. 17 Jun, 2011 1 commit
  2. 13 Jun, 2011 1 commit
    • Nick Pelly's avatar
      Fix NFC service wake-lock, again. · 2edb3ee5
      Nick Pelly authored
      1) Put a watchdog on the NFC Service disable path.
      All the bug-reports show we were stuck in _disable(), watch-dog
      this path (10 seconds).
      
      2) Only attempt a SE reset once, even if it fails the first time.
      All the bugs reports should the _disable() was due to SE reset
      on first boot.
      
      3) Grab the NFC service lock before the wake-lock.
      So even if someone has NFC service lock, at least we don't
      hold a wake-lock waiting for it.
      
      Bug: 4581084
      Change-Id: Ic9829dddde8d0c67cf0e8e4912357fa2902faa11
      2edb3ee5
  3. 02 Jun, 2011 2 commits
  4. 01 Jun, 2011 1 commit
    • Nick Pelly's avatar
      Make sure NFC stack is initialized before attempting SE reset. · aa122139
      Nick Pelly authored
      This fixes a regression at about GRJ46 where phones that had NFC
      turned off would fail to perform SE reset on first boot of GRJ46
      and later. This would prevent NFC from being turned on, and caused
      NFC service to eat battery.
      
      Change-Id: I4714f06e8a3c92a5974851dd1be90b797e3058ac
      Bug: 4504474
      aa122139
  5. 25 May, 2011 5 commits
  6. 24 May, 2011 3 commits
  7. 21 May, 2011 1 commit
  8. 12 May, 2011 1 commit
    • mike wakerly's avatar
      Add Rev · 6344b654
      mike wakerly authored
      Change-Id: Ide8d8dfe75eebb93420bc7a95130b0f6a72756b6
      6344b654
  9. 28 Apr, 2011 1 commit
  10. 20 Apr, 2011 3 commits
  11. 04 Apr, 2011 2 commits
  12. 01 Apr, 2011 3 commits
  13. 30 Mar, 2011 3 commits
  14. 26 Mar, 2011 1 commit
    • Jeff Hamilton's avatar
      Add com.android.nfc.permission.NFCEE_ADMIN. · 93d8a69c
      Jeff Hamilton authored
      It controls permissions for NFCEE administration
      and is checked based on the signature of Nfc.apk
      and the caller.
      
      The NFCEE admin permission checking is currently
      set to check the stock NFC permission.
      
      Change-Id: I164511d8f6850034ca0fc1f6f7f75c5ef212fbc2
      93d8a69c
  15. 25 Mar, 2011 1 commit
  16. 11 Mar, 2011 1 commit
  17. 10 Mar, 2011 1 commit
  18. 08 Mar, 2011 1 commit
  19. 24 Feb, 2011 2 commits
  20. 18 Feb, 2011 2 commits
    • Martijn Coenen's avatar
      Fix isConnected() implementation. · 6a7ba70e
      Martijn Coenen authored
      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
      6a7ba70e
    • Martijn Coenen's avatar
      Fix race in NFC tag registry/dispatch. · 10389c11
      Martijn Coenen authored
      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
      10389c11
  21. 16 Feb, 2011 4 commits