commit | 96370959b60ce339ab2b7c30e073d6ef8730a9b1 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Wed Apr 06 15:24:35 2016 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Thu Apr 07 15:29:26 2016 -0700 |
tree | b3b2c96058439b6b4b1a8c5de2584bbc2b28f0a5 | |
parent | a879ac494a8a062cee139adfdc73741db7da2cea [diff] |
Improve photos content observer demo. This is now much more like one would write to look for photos being added/changed. It looks at the URIs that have changed and filters them to only files that it cares about (in this case those under DCIM, that is photos added by the camera), and also explicitly understands the difference between individual URIs changing and a more general change requiring a full re-query of the provider. Change-Id: I509570aa66839f8b84b5a065c4b4e49fbd0f1c29