commit | c0075dc283c03e92416b18faaea5189be0ac7402 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 25 17:12:49 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Oct 25 17:51:04 2013 -0700 |
tree | 52f32fa4fd0385106ab2ca2ed7ccb4f7a4bcda13 | |
parent | 13f7fc80a376ca0498c4c6876b448bfc43eaa2d4 [diff] |
Use inotify to update DocumentsUI. While user is actively looking at a directory, subscribe to inotify events and notify of content changes to trigger requeries. Reference count the observers, since multiple cursors are regularly open during requeries. Fix leaking cursors on activity rotation; crazy loader ID generation is no longer needed. Bug: 10999396 Change-Id: Iddeb08a056fee80c93df8499874705bcd213a1e2