Fix accessibility announce on apps page
Stops the workspace from announcing incorrectly while the apps page is open, also makes the apps announce which page on opening. Bug: 13006306 Change-Id: I723011fc55c24b66604a24b16c17bac4f5653f84
This commit is contained in:
1 parent
f2a791a798
commit
ed05f09aa1
2 files changed
+17
No files matched your search
@@ -1466,6 +1466,14 @@ public class Workspace extends SmoothPagedView
|
||||
mWallpaperOffset.syncWithScroll();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void announceForAccessibility(CharSequence text) {
|
||||
// Don't announce if apps is on top of us.
|
||||
if (!mLauncher.isAllAppsVisible()) {
|
||||
super.announceForAccessibility(text);
|
||||
}
|
||||
}
|
||||
|
||||
void showOutlines() {
|
||||
if (!isSmall() && !mIsSwitchingState) {
|
||||
if (mChildrenOutlineFadeOutAnimation != null) mChildrenOutlineFadeOutAnimation.cancel();
|
||||
|
||||
Reference in new issue
Block a user