diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2011-07-14 17:57:06 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2011-07-18 12:44:08 -0700 |
commit | 35bfedeaba724aeadc6f6c890269cb6bf7ef42f5 (patch) | |
tree | 1f233a2109d33a10bdf1aaa2417cc7c244cfaf54 /services/tests | |
parent | d94b71de3b465c9c113f5b09c7cd5f221370af23 (diff) | |
download | frameworks_base-35bfedeaba724aeadc6f6c890269cb6bf7ef42f5.zip frameworks_base-35bfedeaba724aeadc6f6c890269cb6bf7ef42f5.tar.gz frameworks_base-35bfedeaba724aeadc6f6c890269cb6bf7ef42f5.tar.bz2 |
Touch exploration separate setting and API to poll the latter state.
1. Seperated touch exploration to be a seperate setting rather being
magically enabled by the system of accessiiblity is on the there
is at leas one accessibility service that speaks enabled. Now
there is a setting for requesting touch exploration but still the
system will enabled it only if that makes sense i.e. accessibility
is on and one accessibility service that speaks is enabled.
2. Added public API for checking of touch exploration is enabled.
3. Added description attribute in accessibility service declaration
which will be shown to the user before enabling the service.
4. Added API for quick cloning of AccessibilityNodeInfo.
5. Added clone functionality to SparseArray, SparseIntArray, and
SparseBooleanArray.
bug:5034010
bug:5033928
Change-Id: Ia442edbe55c20309244061cd9d24e0545c01b54f
Diffstat (limited to 'services/tests')
-rw-r--r-- | services/tests/servicestests/src/com/android/server/AccessibilityManagerServiceTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/services/tests/servicestests/src/com/android/server/AccessibilityManagerServiceTest.java b/services/tests/servicestests/src/com/android/server/AccessibilityManagerServiceTest.java index 302a2d6..1234bfd 100644 --- a/services/tests/servicestests/src/com/android/server/AccessibilityManagerServiceTest.java +++ b/services/tests/servicestests/src/com/android/server/AccessibilityManagerServiceTest.java @@ -542,6 +542,9 @@ public class AccessibilityManagerServiceTest extends AndroidTestCase { public void setEnabled(boolean enabled) { mIsEnabled = enabled; } + + public void setTouchExplorationEnabled(boolean enabled) { + } } /** |