1. 10 Mar, 2010 1 commit
    • Lixin Yue's avatar
      Not update TransferActivity button during activity creating. · 0e927e91
      Lixin Yue authored
      This is to fix below issue: when an ongoing transfer is almost to complete,
      click the ongoing notification to launch TransferActivity, there will be
      possible crash due to NullPointerException.
      Root casue is: when TransferActivity onCreate() is called, the transfer is
      still ongoing, so mIsComplete is false; but when onCreate() call to
      updateProgressbar(), the transfer may change to complete, and then  updateButton()
      will be called; In updateButton(),  mAlert (which will be initialized in father
      class AlertActivity) still not intialized, which caused NullPointerException.
      
      Change-Id: Ibfe363f3822386a38b9b108e29f60ad6673f70f6
      0e927e91
  2. 06 Mar, 2010 1 commit
  3. 04 Mar, 2010 2 commits
    • Lixin Yue's avatar
      Add opp Transfer history to avoid cluster of notificatoins To reduce the... · 5cc61794
      Lixin Yue authored
      Add opp Transfer history to avoid cluster of notificatoins To reduce the cluster of Opp nofications, we introduce the concept of Opp transfer history. Only 2 notifications exist for finished opp transfers, one is for outbound transfers, and another is for inbound transfers. User can see all detailed items in corresponding screen when click the notification.
      
      Change-Id: Iffed353ea6b0d7c958c71fe8d3996937058ced30
      5cc61794
    • Daisuke Miyakawa's avatar
      Add missing addHandler(). · fcce2453
      Daisuke Miyakawa authored
      Bug: 2485875
      fcce2453
  4. 24 Feb, 2010 1 commit
  5. 12 Jan, 2010 1 commit
  6. 04 Jan, 2010 1 commit
    • Lixin Yue's avatar
      Move insert share info operation to a thread to avoid Receiver timeout · c6f1bacf
      Lixin Yue authored
      In OppReceiver, the function mOppManager.startTransfer(remoteDevice), which
              is used to insert share records to DB,  can be really a time-consuming
              operation in case of 300 or more objects sharing case.
              For onReceive() function in BroadcastReceiver, there are below specification:
              The function  is normally called within the main thread of its process, so you should never
              perform long-running operations in it  (there is a timeout of 10 seconds that the system allows
              before considering the receiver to  be blocked and a candidate to be killed)
      
      Add handle to concurrent sending case
              In Gellary, user can multiple select files (say 50files), and share via bluetooth to device1,
              and then right away share via bluetooth to device2, and also can share to device3. In such
              extream case, we need ensure all share info are saved to db.
      
      Complete the TODO in OppManager
             Store application data to SharedPreferences and restore them when service restart.
      c6f1bacf
  7. 22 Dec, 2009 3 commits
    • Lixin Yue's avatar
      Fix non-existing received file still appearing in live folder issue · 1f0fc265
      Lixin Yue authored
      After receiving a file by OPP from Bluetooth remote device, user can delete
      this file from Gallery or 3rd party application. In Opp live folder, user
      could still open this file, but with dialog "file not exist" displayed, and
      there is no way to make this file disappear from liver folder.
      Current solution is to delete the BT OPP DB record after openning an invalid
      uri associated with the file in folder, as an easy method without syncing.
      1f0fc265
    • Lixin Yue's avatar
      Update the error codes to be compatible with PBAP spec. · a4508589
      Lixin Yue authored
      Catch IndexOutOfBoundsException and NullPointerException in Opp sendFile().
      a4508589
    • Lixin Yue's avatar
      Enable vcard share in OPP · 6ef730f8
      Lixin Yue authored
      Bluetooth OPP to handle x-vcard MIME type from contacts share
      Handle vcard size by content type instead of tightening with contacts
      6ef730f8
  8. 30 Nov, 2009 1 commit
  9. 26 Nov, 2009 1 commit
  10. 25 Nov, 2009 1 commit
  11. 13 Nov, 2009 1 commit
    • Jaikumar Ganesh's avatar
      Don't send default phone number for 0.vcf card. · 8b791d4f
      Jaikumar Ganesh authored
      This prevents an entry "My name" with "000000" in the car kit contacts.
      We now send only the name and the version in the vcf.
      Ideally, we could like to send an empty vcard, but we would need to test
      with various car kits with that works well.
      
      Original Change by: Lixin Yue
      Bug: 2247067
      Dr No: Eastham
      8b791d4f
  12. 06 Nov, 2009 1 commit
  13. 02 Nov, 2009 3 commits
    • Jaikumar Ganesh's avatar
      Fix get contact size not correct issue. · 2b36e173
      Jaikumar Ganesh authored
      Call history handles should be ordered by "date DESC" per spec. The first
      handle 1.vcf should be the most recently happend call.
      
      Add order support for pullVcardListing reqeust:
      One typical use case for PBAP is: first use pullVcardListing request to
      display the contacts list, then use pullVcardEntry request to tirgger
      the selected contact vcard. In such case, we need keep the contact db
      query consistent for pullVcardListing and pullVcardEntry.
      
      Use "Own number" for phone owner number instead of "Unknown name" in case
      can not get the name from system.
      
      Original Change: Fan Jackson
      Dr No: Eastham
      Bug Id: 2183320
      2b36e173
    • Daisuke Miyakawa's avatar
      Fix a typo. · 51d7be27
      Daisuke Miyakawa authored
      51d7be27
    • Daisuke Miyakawa's avatar
      Fix a typo. · e10881ae
      Daisuke Miyakawa authored
      e10881ae
  14. 30 Oct, 2009 1 commit
  15. 15 Oct, 2009 1 commit
  16. 12 Oct, 2009 1 commit
  17. 08 Oct, 2009 2 commits
  18. 07 Oct, 2009 1 commit
  19. 05 Oct, 2009 1 commit
  20. 02 Oct, 2009 1 commit
  21. 30 Sep, 2009 3 commits
  22. 29 Sep, 2009 1 commit
    • Lixin Yue's avatar
      Update PBAP to make compatiable with spec · 18bde766
      Lixin Yue authored
      Add check to incoming application parameter, be nice to accept PCE request
      Fix minor pullvCardEntry issue for call logs
      Fix one pullPhoneBook issue about request size
      18bde766
  23. 28 Sep, 2009 2 commits
  24. 27 Sep, 2009 1 commit
  25. 24 Sep, 2009 2 commits
    • Lixin Yue's avatar
      Update PBAP to use new VCardComposer · 2f8fe66f
      Lixin Yue authored
      Totally removed the use of old syncml.pim.vcard.VCardComposer
      2f8fe66f
    • Tao Liejun's avatar
      Use new SDP API for OPP · 9d9e511f
      Tao Liejun authored
      Use new API BluetoothDevice.fetchUuidsWithSdp() to query SDP for un-paired device, and request SDP
      update when Opp is not in cache.
      Handle a concurrent case when incoming connection and file share happens together
      Some other minor changes
      
      Change-Id: I7ebf34801518867553551d8f7bba7ac62e22667e
      9d9e511f
  26. 23 Sep, 2009 2 commits
  27. 22 Sep, 2009 1 commit
  28. 16 Sep, 2009 1 commit
  29. 11 Sep, 2009 1 commit