1. 27 May, 2016 1 commit
  2. 19 Oct, 2015 1 commit
  3. 29 Jul, 2015 1 commit
    • Alex Chau's avatar
      Fix NFC onManualBeamInvoke issue with policy · 79458517
      Alex Chau authored
      Clear NFC data in onManualBeamInvoke, to avoid previously cached NFC
      data from being used despite beam is disallowed by policy
      
      Note: There is still a potential problem when onManualBeamInvoke is
      invoked in app's onResume. If you start the work app, disallow in
      policy, then call onManualBeamInvoke in onResume, beam will still be
      triggered and send out data. However, this is kind of an edge case as
      app won't normally call onManualBeamInvoke in onResume, and only happens
      if policy changed while the app has launched.
      
      Bug: 21742271
      Change-Id: Ib1bf340fd727962590b21945b253c980f079c0b8
      79458517
  4. 21 Jul, 2015 1 commit
  5. 01 Jul, 2015 1 commit
    • Nicolas Prevot's avatar
      In BeamShareActivity, don't use UserHandle.CURRENT. · a7f7ebfa
      Nicolas Prevot authored
      In the work profile, UserHandle.CURRENT refers to the primary user.
      We want to refer to the work profile itself.
      So, using new UserHandle(UserHandle.myUserId()) instead.
      
      BUG:21960385
      Change-Id: I2b29b4d862daae58f666024e9f538cea1dbe39a3
      a7f7ebfa
  6. 15 Jun, 2015 1 commit
    • Alex Chau's avatar
      Disable NFC if policy disallow in foreground NDEF case · 5697d208
      Alex Chau authored
      - Before this fix, NFC is only disabled in "default NDEF" cases, if NDEF callback is in foreground,
          it will continue to send the beam without checking for policy.
      
      Bug: 21742271
      Change-Id: I19dd83160623bcfcc3e7cb2b0ffb5c4329e92d17
      5697d208
  7. 19 May, 2015 1 commit
    • Atsushi Suga's avatar
      NFC: Move playSound to BeamManager (DO NOT MERGE). · cbec7e9d
      Atsushi Suga authored
      Beam Receive Service or Beam Send Service process is being killed
      immediately while playing the success sound
      which resulted to sound being cut.
      
      Move the Beam success sound from Beam Receive Service and
      Beam Send Service process to Beam Manager process
      using the Nfc Service sound pool.
      
      Change-Id: I6f9f99c6cc16649983eed36adf652c790f3bcbb7
      cbec7e9d
  8. 11 May, 2015 1 commit
  9. 07 May, 2015 1 commit
  10. 28 Apr, 2015 2 commits
    • Satoshi Fujita's avatar
      Fix NfcService crash when handover busy · 3ac6710f
      Satoshi Fujita authored
      When handover is busy state, onHandoverBusy() is called recursively and
      NfcService crashes.
      
      Change-Id: I8d4f291ab11713859dd3aa70ddde5439c94c17de
      3ac6710f
    • Martijn Coenen's avatar
      Beam / LLCP improvements. · ddefd2af
      Martijn Coenen authored
      - Don't show Beam UI unless the other device runs a SNEP server.
        We didn't do this previously because an old stack issue could
        delay the SNEP connect by as much as 750ms, therefore also
        delaying the UI. We expect there to be very few of those devices
        in use at this point (if any).
        This also paves the way for preventing Beam UI to be shown when
        connecting to future Android devices (those devices could shut down
        SNEP in specific scenarios).
      - Immediately try to connect LLCP (SNEP, handover) services.
        We didn't do this previously because the old stack had race conditions,
        which could be triggered by immediately sending a LLCP connect.
        Again, very few of those devices are expected to be in use
        at this point.
        Making this change will generally decrease the latency of a P2P
        transaction, especially in scenarios where the send was previously
        authorized (ie from the share menu).
      - Fixed a bug in SendUi where it wouldn't store the screenshot in
        a specific case. We're only hitting this now because of the two
        changes I mentioned above.
      - A bit of clean-up (though this class could use a lot more...)
      
      Change-Id: I52f5ff314dc06e5502bdf869ee658078c3a44fde
      ddefd2af
  11. 15 Apr, 2015 4 commits
  12. 13 Apr, 2015 1 commit
  13. 08 Apr, 2015 1 commit
  14. 31 Mar, 2015 1 commit
  15. 12 Mar, 2015 1 commit
  16. 05 Feb, 2015 1 commit
  17. 04 Feb, 2015 1 commit
  18. 09 Jan, 2015 1 commit
  19. 08 Dec, 2014 1 commit
  20. 04 Dec, 2014 1 commit
  21. 02 Dec, 2014 1 commit
  22. 24 Nov, 2014 1 commit
    • Andres Morales's avatar
      Fix NfcDiscoveryParameters · 06c7bbee
      Andres Morales authored
      Added a new field without adding it to .equals().
      Leads to P2P not getting enabled in SW.
      
      Bug: 18501664
      Change-Id: I602045cbbd84a87edff5b82a3c0db96c9159e21f
      06c7bbee
  23. 19 Nov, 2014 1 commit
    • Andres Morales's avatar
      Prevent Beam at the lockscreen and during provisioning · 31b0f465
      Andres Morales authored
      Since we can poll at the lockscreen not for unlock
      tags, need to explicitly disable Beam.
      
      Also since we allow peripheral handover during provisioning,
      we started allowing Beam as well. Blocking that.
      
      Bug: 18349433
      Change-Id: I987f43228d2c003c66201d2e91bd9bdfebd49d78
      31b0f465
  24. 18 Nov, 2014 1 commit
  25. 13 Nov, 2014 3 commits
  26. 12 Nov, 2014 2 commits
    • Martijn Coenen's avatar
      Restrict RF Field events to preferred app. · d943597d
      Martijn Coenen authored
      If any of the packages in nfcee_extras.xml
      is preferred (either tap&pay or foreground),
      only that app will get RF field events. Otherwise,
      all apps in nfcee_extras will get the events.
      
      Long term solution will be to reduce reliance
      on RF field events (which doesn't scale), and instead
      tie this to AID selection.
      
      Bug: 18358874
      Change-Id: I29276b8929f48b8ca33d61c4120a7405c0ab4dcf
      d943597d
    • Andres Morales's avatar
      Parse auth type from WPS tag · 8172b1ea
      Andres Morales authored
      also make parsing more robust and readable
      
      Bug: 18255874
      Change-Id: Iebe90d0b78654d3e2b515b709bc145a9824560c6
      8172b1ea
  27. 23 Oct, 2014 1 commit
    • Piotr Jastrzebski's avatar
      Charset.forName with StandardCharset · b6c6aa48
      Piotr Jastrzebski authored
      Use StandardCharsets.UTF_8 and StandardCharsets.US_ASCII instead of 
      Charset.forName("UTF-8") and Charset.forName("US_ASCII").
      
      Change-Id: I47a7489378bf7b03a2f3cb10da4dd0f3a329a085
      b6c6aa48
  28. 22 Oct, 2014 1 commit
  29. 20 Oct, 2014 1 commit
  30. 15 Oct, 2014 1 commit
  31. 14 Oct, 2014 2 commits
  32. 09 Oct, 2014 1 commit