summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 00:27:03 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-29 16:58:16 +0100
commit70626249cd247d9acdad417b8eaf252bae22c059 (patch)
tree2327193318672b583f12be99cdcaec5ef4d3830d /odk
parentdda524a71145441b336f5f9f6e559fa31d32d3d2 (diff)
API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Accessibility/RegistrationThread.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Accessibility/RegistrationThread.java b/odk/examples/DevelopersGuide/Accessibility/RegistrationThread.java
index 3dbb03525830..b6a64e439f38 100644
--- a/odk/examples/DevelopersGuide/Accessibility/RegistrationThread.java
+++ b/odk/examples/DevelopersGuide/Accessibility/RegistrationThread.java
@@ -107,9 +107,9 @@ public class RegistrationThread
if (xBroadcaster != null)
{
if (mbRegister)
- xBroadcaster.addEventListener (maListener);
+ xBroadcaster.addAccessibleEventListener (maListener);
else
- xBroadcaster.removeEventListener (maListener);
+ xBroadcaster.removeAccessibleEventListener (maListener);
nNodeCount += 1;
}