AccessibilityNodeInfo refresh returns a stale state.
AccessibilityNodeInfo refresh was getting the latest cached state but this is not good enough as an accessibility service can execute an action on the node and then refresh it to get the new state. bug:16954787 Change-Id: I004b4987b8dc423a2ab7031a4fbfe64365ddd7fe
This commit is contained in:
@@ -721,7 +721,7 @@ public class AccessibilityNodeInfo implements Parcelable {
|
||||
* @return Whether the refresh succeeded.
|
||||
*/
|
||||
public boolean refresh() {
|
||||
return refresh(false);
|
||||
return refresh(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user