1. 25 May, 2012 2 commits
    • Martijn Coenen's avatar
      Use new handover intent actions. · 4fe787c0
      Martijn Coenen authored
      Use the new handover intent actions that allow us
      to select any mime-type.
      
      Also, add unique filename counter before extension
      instead of after it.
      
      Bug: 6561169
      
      Change-Id: I04b83460099b42ba6220d7eb4dcff7a095022304
      4fe787c0
    • Martijn Coenen's avatar
      Fall back to NDEF push if handover SNEP get fails. · a3715d12
      Martijn Coenen authored
      This allows applications to be able to set both
      a Uri (for handover) and an NDEF message, which
      will only be sent if the handover request does
      not work (as will be the case on pre-J devices).
      
      Also, show a toast if the remote device does
      not support connection handover.
      
      Bug: 6561174
      Change-Id: I9ffdcfdf0cded319fbb4ab646ae1da5382fcb74a
      a3715d12
  2. 22 May, 2012 2 commits
    • Martijn Coenen's avatar
      Show time in NFC handover notifications. · befa3d6d
      Martijn Coenen authored
      Notification sorting is coupled to the time associated
      with the notifications, and there's no way to hide the
      time in the notification without setting the time to zero.
      
      Since we prefer a proper sorting over hiding the time,
      just show the time again.
      
      Change-Id: I3188a80f8d7b7fcac54ffa790df58faa53241557
      befa3d6d
    • Martijn Coenen's avatar
      Fix some strings. · 973ff9be
      Martijn Coenen authored
      Change-Id: I94103a7318cc72dc4c48aa59e942e3a4ae92a743
      973ff9be
  3. 18 May, 2012 3 commits
  4. 17 May, 2012 5 commits
  5. 16 May, 2012 2 commits
    • Martijn Coenen's avatar
    • Martijn Coenen's avatar
      Bluetooth Beam handover: deal with multi-file transfers. · 402da070
      Martijn Coenen authored
      A handover transfer object no longer represents a single file,
      but all the files associated with the handover. This association
      is based on the source address of the transfer and a timer;
      if a new file transfer from the same source is started within
      this timer, it is considered to be part of the same handover
      transfer.
      
      Received files are stored in beam/. If multiple files are
      transferred, they are stored in their own subdirectory of beam.
      
      We now use the mediaScanner for mime-types that the
      platform can deal with by default. The advantage of this
      is that the mediaScanner can already gather meta-data for
      these files, and (platform) apps can query for and populate
      views with such data.
      
      3rd party applications can also query the mediaScanner
      for meta-data on the received files.
      
      A handover transfer object has a single notification
      associated with it; upon launching the notification,
      a single ACTION_VIEW intent is launched. If multiple files
      were transferred as part of this handover, ACTION_VIEW is
      launched on the first file in the set.
      
      Change-Id: I00c23e58736f6dbe96726a1ec56fbc8c984a215d
      402da070
  6. 15 May, 2012 1 commit
  7. 14 May, 2012 1 commit
  8. 11 May, 2012 1 commit
  9. 10 May, 2012 2 commits
    • Martijn Coenen's avatar
      UI confirmation for pairing a BT device through NFC. · 78705adb
      Martijn Coenen authored
      If we find a BT device to pair through NFC and we haven't
      seen it device before, request confirmation before pairing it.
      
      Bug: 6092058
      Change-Id: I34fc638fbdb152a48e90644f9a34cc1a0b942de2
      78705adb
    • Martijn Coenen's avatar
      Bluetooth Beam bug fixes, UX and i18n. · d82d9db8
      Martijn Coenen authored
      - Implemented handover select with carrier power state
      - Delay OPP send if remote carrier is activating
      - I18n for all handover components
      - Cleanup old handover transfers
      
      Bug: 6411485
      Change-Id: I84aac3a7c7e703a1fcb423b6016cd9fa3d33d9b1
      d82d9db8
  10. 26 Apr, 2012 1 commit
  11. 24 Apr, 2012 1 commit
  12. 20 Apr, 2012 5 commits
    • danieltomas's avatar
      Fix to avoid a semaphore issue during the SE open · 8e4780ad
      danieltomas authored
      This fix is handling a new semaphore dedicated to
      the SE Notification to avoid the semaphore desynchronisation.
      
      Change-Id: I2e735247897a88eaddafcee0edbf3e5a89e18155
      8e4780ad
    • Sunil Jogi's avatar
      Added shared prefs for SE wired mode · 37058bf7
      Sunil Jogi authored
      When SE is in wired mode shared prefs sets the se_wired to true,
      when SE is no more in wired mode shared prefs sets se_wired to
      false. Default value for se_wired is false. se_wired shared pref
      is set during the NFC initialization.
      
      Change-Id: I9a3565c23035802895c8e99c671483c808312e0e
      37058bf7
    • Sunil Jogi's avatar
      Updated disable method · 290a6967
      Sunil Jogi authored
      Updated disable method so it can be used for phone shutdown and
      also can retain the state of NFC Adapter.
      
      Change-Id: I216e68b1d08d3e6d97cb82ad13cd3366c480d757
      290a6967
    • Sunil Jogi's avatar
      Added delay before NFC system recovery · 16c9bd97
      Sunil Jogi authored
      Added delay before NFC system recovery if SE is in wired mode to
      complete possible pending transaction.
      
      Change-Id: I74f04e6d66342b94184083141c5d62341bdf209b
      16c9bd97
    • Martijn Coenen's avatar
      Latest changes for Bluetooth Beam. · 226307d8
      Martijn Coenen authored
      - Receive transfer notifications and status info from Bluetooth, to show
        progress using Notifications.
      - Added power manager, to keep track of BT power state, and turn BT off
        if possible.
      
      TODO:
      - UI for failed operations (ie transfer failed, Bluetooth enable failed).
      - Cleanup of transfer list
      - Make sure BT doesn't connect to other peripherals or isn't connectable.
      
      Change-Id: I31450f589bbaeb72ee8c450c5019f00f0190b7aa
      226307d8
  13. 16 Apr, 2012 1 commit
  14. 13 Apr, 2012 2 commits
  15. 12 Apr, 2012 1 commit
  16. 06 Apr, 2012 1 commit
    • Martijn Coenen's avatar
      Fix backup key for Nfc. · 95fc9d62
      Martijn Coenen authored
      This became invalid when we changed back to com.android.nfc.
      
      Change-Id: I503223bd7b7ae0ac7409d94708cd0819a92b9b06
      95fc9d62
  17. 05 Apr, 2012 2 commits
  18. 04 Apr, 2012 6 commits
  19. 02 Apr, 2012 1 commit