summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/accessibility/TouchExplorer.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2011-07-13 17:16:34 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2011-07-13 17:22:15 -0700
commit63c04eeb00dd71380d5ebba701014793d8f9a2ea (patch)
tree17d31cc878565bc12a184bcb5b7a9f2900b74035 /services/java/com/android/server/accessibility/TouchExplorer.java
parent3ac60ada279e2cd24001c0f084982b7e14532ea6 (diff)
downloadframeworks_base-63c04eeb00dd71380d5ebba701014793d8f9a2ea.zip
frameworks_base-63c04eeb00dd71380d5ebba701014793d8f9a2ea.tar.gz
frameworks_base-63c04eeb00dd71380d5ebba701014793d8f9a2ea.tar.bz2
Touch exploration gesture events change the window id.
1. Touch exploration start and end events are generated by the sytstem to provide additional information for accessibility services. Since such events do not come from any particular window they whould not change the id of the window that currently allows exploring its content. 2. Touch exploration start and end events were lealing the touch explorer class wich is private. bug:5026258 Change-Id: Icaf3e2bd9566716f2afb876cf8e0d50813b0c76e
Diffstat (limited to 'services/java/com/android/server/accessibility/TouchExplorer.java')
-rw-r--r--services/java/com/android/server/accessibility/TouchExplorer.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/services/java/com/android/server/accessibility/TouchExplorer.java b/services/java/com/android/server/accessibility/TouchExplorer.java
index 1af7015..dbd9474 100644
--- a/services/java/com/android/server/accessibility/TouchExplorer.java
+++ b/services/java/com/android/server/accessibility/TouchExplorer.java
@@ -838,8 +838,6 @@ public class TouchExplorer implements Explorer {
*/
private void sendAccessibilityEvent(int eventType) {
AccessibilityEvent event = AccessibilityEvent.obtain(eventType);
- event.setPackageName(mContext.getPackageName());
- event.setClassName(getClass().getName());
mAccessibilityManager.sendAccessibilityEvent(event);
}