commit | c3281200fa8a27a2a89328f7db552f540ca92d1d | [log] [tgz] |
---|---|---|
author | Maxim Bogatov <maximbogatov@google.com> | Wed Oct 21 12:38:01 2015 -0700 |
committer | Maxim Bogatov <maximbogatov@google.com> | Wed Oct 21 15:51:56 2015 -0700 |
tree | 9e9d9f32faa46acaf58210e5df8a2d8faaca9c38 | |
parent | 5da678f71b9112accfdf84fb448eeedc65099889 [diff] |
Prevent AccessibilityInteractionClient.getWindows() returns partially cached windows list. It could happen that AccessibilityWindowInfo cache is cleared. And after that calling AccessibilityInteractionClient.getWindow(windowId) would add that window to cache. And while cache is not empty after that AccessibilityInteractionClient returns its content on getWindows() request even if it does not contain all windows. Change-Id: I70dc96d50e3368285fd482a98769a93ae2c15f22