1. 18 Mar, 2010 3 commits
  2. 17 Mar, 2010 3 commits
  3. 10 Mar, 2010 4 commits
    • Jaikumar Ganesh's avatar
      df25af65
    • Lixin Yue's avatar
      Trim Opp database when service restarts. · 389f6dd4
      Lixin Yue authored
      When Opp service restart, we will trim the database.
      a) No visible case is deleted.
      b) Invisible complete outbound (failed and successful) are deleted.
      c) Invisible complete failed inbound are deleted.
      d) Invisible complete success inbound are deleted if needed to keep records max
      to 1000.
      
      Live folder only has received files, so the above makes sense.
      
      Change-Id: If27080721d9abed025162ff805f661fde01564d3
      389f6dd4
    • Jaikumar Ganesh's avatar
    • 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
  4. 09 Mar, 2010 1 commit
  5. 06 Mar, 2010 1 commit
  6. 04 Mar, 2010 4 commits
  7. 27 Feb, 2010 1 commit
  8. 24 Feb, 2010 1 commit
  9. 23 Feb, 2010 1 commit
  10. 11 Feb, 2010 1 commit
  11. 05 Feb, 2010 3 commits
  12. 29 Jan, 2010 1 commit
  13. 28 Jan, 2010 1 commit
  14. 21 Jan, 2010 1 commit
  15. 12 Jan, 2010 1 commit
  16. 11 Jan, 2010 1 commit
  17. 08 Jan, 2010 1 commit
  18. 07 Jan, 2010 1 commit
  19. 06 Jan, 2010 1 commit
  20. 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
  21. 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
  22. 11 Dec, 2009 3 commits
  23. 10 Dec, 2009 1 commit
  24. 02 Dec, 2009 1 commit