summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/View.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-05-21 17:35:10 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-05-21 17:35:15 -0700
commit525ae2075cf96d3a2ac67cd3a662069fd579f42d (patch)
treecea25763f5cd9be434d74430f6548a4473586dc9 /core/java/android/view/View.java
parentf76a83cfcf32402edb78666733b5ebf9ec6ac2e2 (diff)
downloadframeworks_base-525ae2075cf96d3a2ac67cd3a662069fd579f42d.zip
frameworks_base-525ae2075cf96d3a2ac67cd3a662069fd579f42d.tar.gz
frameworks_base-525ae2075cf96d3a2ac67cd3a662069fd579f42d.tar.bz2
Accessibility focus and input focus do not sync - part 2
1. This patch has somecode that syncs input and accessibility focus or tries to put accessibility focus on the top most container that was missed by the previous patch. Change-Id: I08f21670b1c6e9f363d5714b1976fb52d84baae4
Diffstat (limited to 'core/java/android/view/View.java')
-rw-r--r--core/java/android/view/View.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java
index df64e34..d438485 100644
--- a/core/java/android/view/View.java
+++ b/core/java/android/view/View.java
@@ -6212,15 +6212,6 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
// Clear the text navigation state.
setAccessibilityCursorPosition(-1);
-
- // Try to move accessibility focus to the input focus.
- View rootView = getRootView();
- if (rootView != null) {
- View inputFocus = rootView.findFocus();
- if (inputFocus != null) {
- inputFocus.requestAccessibilityFocus();
- }
- }
}
}