commit | d58c1eaadabcc3828b58bb0808f2d0c5214ad34d | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Thu Feb 21 11:22:45 2019 -0800 |
committer | Felipe Leme <felipeal@google.com> | Fri Feb 22 12:14:36 2019 -0800 |
tree | d826742115ccbde2edc2dd46e05ccb8be0d7668e | |
parent | f4ac4e7fb1cb13f9c7ef7e683ce3455d99ed028c [diff] |
Improved how Content Capture events are flushed when activity is resumed / paused. We were flushing right after the activity resumed, but the relevant events (views added / removed) were not generated yet, which made such flushes useless. This CL changes the workflow to flush them after the ViewRoot finishes doing its work. Test: atest CtsContentCaptureServiceTestCases Bug: 125395044 Bug: 122315042 Change-Id: I05bf27069b00c285643b2d23ad6708a6ad7bc8f3