commit | db5ef125007644daa94aeaf1bd8637f4e0095e94 | [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 | 7b8121682fb4c74cc2794b844c593eaf2173a71c | |
parent | 96c620595bd0585f934b0971b4552c57845e9a78 [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