Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48a5ed56 authored by Svetoslav's avatar Svetoslav Committed by The Android Automerger
Browse files

AccessibilityNodeInfo refresh returns a stale state. - DO NOT MERGE

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
(cherry picked from commit 5738fec0)
parent ac9da77f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -721,7 +721,7 @@ public class AccessibilityNodeInfo implements Parcelable {
     * @return Whether the refresh succeeded.
     */
    public boolean refresh() {
        return refresh(false);
        return refresh(true);
    }

    /**