1. 18 Oct, 2011 1 commit
  2. 17 Oct, 2011 1 commit
    • Jeff Hamilton's avatar
      Make the crash on screen off less frequent. · e0b5fcb7
      Jeff Hamilton authored
      The LLCP stack is still using globals without
      holding the concurrency lock. When turning the
      screen off we were previously disabling the
      NFCEE routing before disconnecting the active
      target. The routing code would grab the lock
      and then touch the globals, which the LLCP
      was using illegally, causing a crash when the
      LLCP triggered callbacks are delivered.
      
      This change reorders the shutdown at screen
      off to disconnect the remote target before
      issuing the change to the NFCEE routing in
      an attempt to stop the ongoing LLCP
      transactions, thereby avoiding the crash.
      Since the callbacks are asynchronous the
      race is still there, but it's hit more like
      10% of the time instead of 100% of the time.
      
      Bug: 5366024
      Change-Id: I31230166c1c5bf116195db350ac6605feb90e87f
      e0b5fcb7
  3. 01 Sep, 2011 1 commit
    • Martijn Coenen's avatar
      Latest zeroclick animations. · 0c4fce17
      Martijn Coenen authored
      - Only hw-accelerate when we have the resources for it;
      - Disallow status bar interaction;
      - Remove background;
      - On failure, gradually scale back up;
      - On receive, slide out to the right.
      
      TODO:
      - OpenGL fireflies
      
      Change-Id: I1deae65f24f40a226c8a575130ca22b72ff9e05e
      0c4fce17
  4. 16 Aug, 2011 1 commit
    • Martijn Coenen's avatar
      Prevent NFC task transition animations. · 0ea44267
      Martijn Coenen authored
      This fixes the "black flashes" when starting/finishing
      the NFC animation activity.
      
      TODO:
      - The status bar is "animated in" still, causing a brief white
        rectangle where the status bar is.
      
      Change-Id: Id99f3ecfe8695edcb6c02caa611731fa6e58a560
      0ea44267
  5. 10 Aug, 2011 1 commit
    • Martijn Coenen's avatar
      Move 0-click animations to activity. · e5b26d52
      Martijn Coenen authored
      - Start activity instead of window overlay;
      - Implement "the real twist": need to twist back to share;
      - Implement receive animation (slide out);
      - General cleanup.
      
      Change-Id: I3f6a015c2a73f309892a8c5c3b1ea1b133b54d42
      e5b26d52
  6. 08 Aug, 2011 1 commit
  7. 01 Aug, 2011 1 commit
  8. 26 Jul, 2011 1 commit
  9. 20 Jul, 2011 1 commit
  10. 27 Jun, 2011 1 commit
  11. 16 Jun, 2011 1 commit
  12. 31 May, 2011 1 commit
    • Martijn Coenen's avatar
      Backup NFC preferences. · 225ae258
      Martijn Coenen authored
      Backs up all NFC shared preferences. Note this only works when doing a
      full system restore. Doing just a runtime restore won't trigger the NFC
      service to restart and reload the setting.
      
      Bug: 3139537
      Change-Id: I40d3e5c5cd39482a292e634a941af6093f639ece
      225ae258
  13. 01 Apr, 2011 2 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. 25 Jan, 2011 1 commit
    • Jeff Hamilton's avatar
      Stop using URIs for ACTION_TECHNOLOGY_DISCOVERED · 24dbea55
      Jeff Hamilton authored
      The pattern matching wasn't sufficient with the
      move to identifying technologies with their class
      names so now we use a custom dispatching mechanism.
      
      Change-Id: I3e6379d454458bbb65730ade32cdaa1680c5e339
      24dbea55
  17. 20 Jan, 2011 1 commit
    • Nick Pelly's avatar
      Fix 4 second latency starting Tag application when recently using home. · 1a9eca5f
      Nick Pelly authored
      The home screen and other system apps call stopAppSwitches() to prevent
      malicious applications from starting their activity again when the user exits.
      The startActivity() call is delayed by 4 seconds.
      
      We can override this in NFC service because we are a system service, using
      resumeAppSwitches(). If a tag comes into the field we really want to show it
      immediately. It feels really laggy otherwise.
      
      Change-Id: I5394647f352e3f49f821b5346cd4c9af103137ca
      1a9eca5f
  18. 04 Nov, 2010 1 commit
  19. 25 Oct, 2010 1 commit
  20. 23 Oct, 2010 1 commit
    • Nick Pelly's avatar
      Start NFC service at Application load time. · 2f8ac1e6
      Nick Pelly authored
      
      - starting at app onCreate() is about 6 seconds before BOOT_COMPLETE
      - enable hardware immediately, but do not send any intents until
        BOOT_COMPLETE (using mBootComplete to guard).
      - add mutex's around some fields that needed it
      
      The fields that are still not thread-safe were non-trivial to fix.
      
      Change-Id: Id1c2bf535610ac594a33d84fe9a32d01d698a321
      Signed-off-by: default avatarNick Pelly <npelly@google.com>
      2f8ac1e6
  21. 21 Oct, 2010 1 commit
    • Nick Pelly's avatar
      NFC Settings cleanup. · 0e6a0a0f
      Nick Pelly authored
      
      Move all NFC settings into shared preferences in NFC service.
      
      Service / Binder / BroadcastReceiver cleanup. Re-enable receivers
      for internal intents.
      
      misc cleanup.
      
      Change-Id: I73480faea496f6bede2dfdb6fc682c7e84360326
      Signed-off-by: default avatarNick Pelly <npelly@google.com>
      0e6a0a0f
  22. 18 Oct, 2010 1 commit
    • Nick Pelly's avatar
      Enforce NFC permission model. · bebaa6cc
      Nick Pelly authored
      
      Requires no permissions:
      - Viewing UID, type of discovered tags and cards.
      - Viewing the NDEF message contents of NDEF formatted tags and cards.
      
      Requires android.permission.NFC
      - Get/Set the local tag "MyTag"
      - Creating or using a RawTagConnection (transceive())
      - Creating or using a NdefTagConnection (write()/read())
      
      Change-Id: I31f2336a81a7151063969f9019da9aaf08092d65
      Signed-off-by: default avatarNick Pelly <npelly@google.com>
      bebaa6cc
  23. 15 Oct, 2010 1 commit
    • Nick Pelly's avatar
      Enable NFC service as an application service. · 13d8819d
      Nick Pelly authored
      
      Uses ServiceManager.addService() to register the service.
      
      Uses BOOT_COMPLETE to start the service.
      
      Uses sharedUserId com.android.nfc so that it has a fixed uid.
      
      Uses android:persistant so that the process is not killed.
      
      Change-Id: If4264baf5dc457ee0a3ad5788c5945e84173b1ea
      Signed-off-by: default avatarNick Pelly <npelly@google.com>
      13d8819d
  24. 14 Oct, 2010 1 commit
    • Nick Pelly's avatar
      NFC application. · f067256d
      Nick Pelly authored
      
      NFC application contains the NFC service code that implements NFC API and
      talks to NFC hardware.
      
      This is the first cut at moving NFC service code out of frameworks/base into
      application service. Android.mk are renamed to Android.mk.hide at this commit
      because it does not work yet.
      Signed-off-by: default avatarNick Pelly <npelly@google.com>
      f067256d