Bug 1492704 - 2. Don't update node during auto-fill focus event; r=droeh

Don't update the focused node in the node cache during auto-fill focus
events, because we don't necessarily know if the focused node should be
in the node cahce (e.g. the focused node could be from another window
than the one we're handling currently).

Differential Revision: https://phabricator.services.mozilla.com/D6758
This commit is contained in:
Jim Chen 2018-09-27 10:59:50 -04:00
parent 04df1a8b78
commit 19435e0b46
2 changed files with 0 additions and 2 deletions

View File

@ -777,7 +777,6 @@ public class SessionAccessibility {
final int id;
if (message != null) {
id = message.getInt("id");
mAutoFillNodes.put(id, message);
} else {
id = View.NO_ID;
}

View File

@ -734,7 +734,6 @@ public final class SessionTextInput {
final int id;
if (message != null) {
id = message.getInt("id");
mAutoFillNodes.put(id, message);
} else {
id = View.NO_ID;
}