1. 30 Sep, 2016 2 commits
  2. 28 Sep, 2016 5 commits
  3. 23 Sep, 2016 7 commits
  4. 17 Sep, 2016 3 commits
  5. 14 Sep, 2016 4 commits
  6. 13 Sep, 2016 2 commits
    • Marco Nelissen's avatar
      Fix race condition when inserting parent directory · 1d0c36fe
      Marco Nelissen authored
      am: 971408ec
      
      Change-Id: I7c81cce771860343dcf4fce809943a2b982042aa
      1d0c36fe
    • 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 4 commits
  8. 06 Sep, 2016 1 commit
  9. 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
  10. 24 Aug, 2016 3 commits
  11. 23 Aug, 2016 2 commits
  12. 22 Aug, 2016 1 commit
  13. 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
  14. 20 Jul, 2016 1 commit
  15. 14 Jul, 2016 1 commit
  16. 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
  17. 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