1. 30 Sep, 2016 1 commit
  2. 28 Sep, 2016 2 commits
  3. 23 Sep, 2016 4 commits
  4. 17 Sep, 2016 2 commits
  5. 14 Sep, 2016 2 commits
  6. 13 Sep, 2016 1 commit
    • Marco Nelissen's avatar
      Fix race condition when inserting parent directory · 971408ec
      Marco Nelissen authored
      If multiple threads are inserting things in the same folder, there
      can be multiple simultaneous attempts to insert their parent
      directory into the database, all but one of which will fail, with
      the failing ones then inserting -1 into the parent id cache.
      
      Also clear the parent id cache when fixing up orphan entries in
      the database, since the parent id cache might contain bad data
      at that point.
      
      Bug: 30099509
      Change-Id: Ic798ad64457ce1b2661cd63c524bd61d93d01e32
      971408ec
  7. 08 Sep, 2016 2 commits
  8. 03 Sep, 2016 1 commit
    • Chong Zhang's avatar
      Some fixes for MTP database corruption · eb5f7a6a
      Chong Zhang authored
      Sometimes the row for a directory could be accidentally deleted,
      when they're re-added the children's parent id could still point
      to the stale value, so the children were lost.
      
      Do not allow deletion of rows if some other rows are referencing
      it as parent. Also, run a query for orphans upon MTP connection,
      and try to fix up the parent id if possible.
      
      bug: 27542615
      Change-Id: I305dc2f1335888c5d747bed1a7e0f28ac9bb49b4
      eb5f7a6a
  9. 24 Aug, 2016 1 commit
  10. 23 Aug, 2016 1 commit
  11. 22 Aug, 2016 1 commit
  12. 02 Aug, 2016 1 commit
    • Ray Essick's avatar
      Handle picker defaults for notification and alarm · df9be646
      Ray Essick authored
      when determining the URI for the default choice in ringtone picker, wait
      until we parse whether we're picking for ringtone, notification, or alarm.
      Use this knowledge instead of always filling in with value for ringtone.
      
      Bug: 30551658
      df9be646
  13. 20 Jul, 2016 1 commit
  14. 14 Jul, 2016 1 commit
  15. 13 Jul, 2016 1 commit
    • Jean-Michel Trivi's avatar
      Add resources for sound names in overlays · b1faa144
      Jean-Michel Trivi authored
      Add resources for sound name strings in three sound categories:
        ringtone, alarm and notifications.
      If product specific sounds are added, their names need to be
        defined in the RingtonePicker strings as an overlay. But
        for the overlay entries to be valid, they need to be defined
        in the original package for which the overlay is defined.
      This CL adds generic resources to be defined in overlays
        so the product-specific sound names can be translated.
      
      Bug 24800792
      
      Change-Id: Ia7d8ccad3e52646b41e10d5406c58179af255dae
      b1faa144
  16. 06 Jul, 2016 1 commit
    • Amith Yamasani's avatar
      Scan preloads folder for content · 3145e76c
      Amith Yamasani authored
      When doing a scan for external content, also scan the
      preloads folder where there could be demo photos and
      videos. This is only scanned when running as a demo
      user.
      
      Bug: 29940807
      Change-Id: Ib63023dc46a8d8db1ffa6435248d679484c9a5f5
      3145e76c
  17. 24 Jun, 2016 1 commit
  18. 09 Jun, 2016 1 commit
  19. 06 Jun, 2016 1 commit
  20. 03 Jun, 2016 3 commits
  21. 01 Jun, 2016 1 commit
    • Jean-Michel Trivi's avatar
      Add support for localization of sound names in RingtonePicker · 03d697ee
      Jean-Michel Trivi authored
      Add a cursor wrapper for queries on the names of sounds.
      When the string is queried for the title column, build a resource
        name from the value in the database, and check if a (potentially
        localized) resource is found. Return that one if available,
        return the default value if not found.
      
      Bug 28347978
      
      Change-Id: Ic1e3bb25acf3fccb18074d40c2fc8bdc42b5c769
      03d697ee
  22. 22 May, 2016 2 commits
  23. 28 Apr, 2016 1 commit
  24. 27 Apr, 2016 1 commit
  25. 21 Apr, 2016 3 commits
  26. 20 Apr, 2016 1 commit
    • Robert Carr's avatar
      RingtonePickerActivity: Keep cursor open while visible. · 4f8fbf74
      Robert Carr authored
      If we clear the cursor before we are actually invisible we
      may do so during or right before the exit animation
      and see weird results (in this case a copy of the dialog
      which contains no ringtones).
      
      Bug: 26972412
      Change-Id: I48b2f4ca5a677085c718f6c7866b3b6d1ca03689
      4f8fbf74
  27. 19 Apr, 2016 2 commits