Since we now support ClickableSpan accessibility natively,
we no longer need elaborate workaround for them. The helper
had its own issues, since it meant that some TextViews were
presented completely differently to accessibility than
others (thus the bug that led me here.)
Bug: 37363351
Test: Verified that Select to Speak can now highlight the
footer text in Settings properly. There is already a CTS
test for the ClickableSpan support.
Change-Id: I5dd4fb745c2c994099ca6c3332beff9a58227359
NetworkInfo and WifiInfo are set via broadcast receiver so while in a
true stable state network info should not be null if wifi info is, this
can occur in rare instances due to a race condition. It is convention in
AccessPoint.java to always null check network info.
Bug: b/37951301
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: Ia1b357c84b961a555ec24a5b930ade35ddf8dbba
Added a touch listener that will drop touches if the window receiving the
touch was partly or wholly obscured by another window sitting on top of
it.
Test: N/A
Bug: 35056974
Change-Id: I4a7273bd12ae10a65c39e6b4f1c6641266dd21e4
Update AccessPoint.java so that network state changes return updated
equals true, so that corresponding UI elements will updated
appropriately.
Bug: b/37289220
Test: runtest --path
packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
Change-Id: I1bc74997227b46468ef11efbf183a95ec0d2b15f
This error was caused by concurrent modification of the
mPendingNotifications SparseIntArray which fell outside the
synchronization block in copyAndNotifyListeners. Now the entire
copyAndNotifyListeners is synchronized on mLock.
Bug: b/37775443
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I19e8a4ecea5cd45122f4ca89f8ed959e500c951a
- Moves logic to detect devices capable of supporting the
accessibility button into AccessibilityManager from
SettingsLib to avoid issues with resource shifting in the
SUW binary
Bug: 37650567
Test: Existing Robolectric / Manual
Merged-In: Ibb2aaa3c2f79570df768cfa796fa890988ef82cc
Change-Id: I83bbecdf7836ae0de32ce7d39155ac0c111a8f15
ApplicationsState was not handling the case where the storage query
fails and returns a null result. This meant that it NPE when this
happened.
Fixes: 37726237
Test: Manual (see b/34768986)
Change-Id: I3740ac7b1192e1ea3cdad85c61dd3dee2c2251cc
Starting from Android O ENSURE_VERIFY_APPS can be enforced globally
by profile owners. To take this into account, this CL uses newer
UserManager API for getting a list of enforcing admins with their
userIds instead of just a mask.
Bug: 37158436
Test: manually
Change-Id: Id18b365668373b5aa28d59fcc4d662a2f5d133d8