1. 08 Mar, 2013 1 commit
    • Catherine Liu's avatar
      Fix large file download failure issue · c8b59fd6
      Catherine Liu authored
      The root cause is int overflow as integer can only hold size
      Integer.MAX_VALUE = 0x7FFFFFFF. It is about 2G. So, when a file size
      is greater than 2G, it throws a "NumberFormatException", and then
      mark this download "unsuccessfully".
      The progress bar in notification for the large file downloading was
      not correct either. The total file size was converted from long to
      int value when in builder.setProgress().
      
      Change-Id: Ib038860e26cf8cade2c423403585c207f8b8979b
      c8b59fd6
  2. 08 Jun, 2012 1 commit
  3. 07 Jun, 2012 1 commit
    • Jeff Sharkey's avatar
      Uniform "when" to avoid flashing notifications. · f918429d
      Jeff Sharkey authored
      When showing a download, remember the first timestamp when we showed
      a notification, and use that time as "when" for all future updates
      to avoid flashing.
      
      Also bring back icon animation that had regressed.
      
      Bug: 6596416, 6237256
      Change-Id: Ifdc5dc6870dac047515151c1b088e6e379b6a063
      f918429d
  4. 06 Jun, 2012 1 commit
  5. 05 Jun, 2012 1 commit
  6. 24 May, 2012 1 commit
  7. 23 May, 2012 1 commit
  8. 04 May, 2012 4 commits
  9. 25 Apr, 2012 1 commit
  10. 24 Apr, 2012 1 commit
    • Jeff Sharkey's avatar
      Only delete spurious files belonging to us. · 15ea8d69
      Jeff Sharkey authored
      When multiple users are active, this can accidentally delete files
      belonging to other users.  Checking owner also helps us avoid
      deleting recover and lost+found.
      
      Bug: 6362988
      Change-Id: Ifc165acc9a9b3ab253a4b6257f370836b98b3a74
      15ea8d69
  11. 23 Apr, 2012 1 commit
  12. 20 Apr, 2012 3 commits
  13. 19 Apr, 2012 1 commit
  14. 18 Apr, 2012 1 commit
  15. 17 Apr, 2012 2 commits
    • Jeff Sharkey's avatar
      Add and enforce ALLOW_METERED column. · a7ae77fd
      Jeff Sharkey authored
      Include flag with each download to indicate if its allowed to proceed
      over metered networks.  Downloads are left in WAITING_FOR_NETWORK
      state, similar to how ALLOWED_NETWORK_TYPES is handled.
      
      Also keep blocked downloads in WAITING_FOR_NETWORK state instead
      of marking them as failed.
      
      Bug: 3001465, 5734560
      Change-Id: I80bb9aa9bd25ddf6f7a2472db344b6ba6878bd74
      a7ae77fd
    • Jeff Sharkey's avatar
      View file downloads through DownloadsProvider. · 9b606340
      Jeff Sharkey authored
      When viewing file://-style downloads, open through DownloadsProvider
      so that FLAG_GRANT_READ_URI_PERMISSION works.  Add support for
      OpenableColumns to support external apps probing for metadata.
      
      Bug: 6343461
      Change-Id: I630405406321ea1871c62cbcded55a4ee024ef6e
      9b606340
  16. 16 Apr, 2012 1 commit
  17. 13 Apr, 2012 1 commit
  18. 10 Apr, 2012 1 commit
  19. 09 Apr, 2012 2 commits
  20. 05 Apr, 2012 1 commit
  21. 02 Apr, 2012 1 commit
  22. 29 Mar, 2012 1 commit
  23. 28 Mar, 2012 1 commit
  24. 27 Mar, 2012 1 commit
  25. 26 Mar, 2012 1 commit
  26. 23 Mar, 2012 1 commit
  27. 21 Mar, 2012 1 commit
  28. 12 Mar, 2012 1 commit
  29. 08 Mar, 2012 2 commits
  30. 07 Mar, 2012 2 commits
  31. 06 Mar, 2012 1 commit