Remove disruptive announcement when exiting folder
Accessibility announcement needs to be disabled when folder is closing Test: Manual Flag: EXEMPT bug fix Fix: 383248901 Change-Id: Ie6077a1214c234946bc9fb59ce54dfa7107188bd
This commit is contained in:
@@ -680,6 +680,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
closeOpenFolder(openFolder);
|
||||
|
||||
mContent.bindItems(items);
|
||||
mContent.setCanAnnouncePageDescriptionForFolder(true);
|
||||
centerAboutIcon();
|
||||
mItemsInvalidated = true;
|
||||
updateTextViewFocus();
|
||||
@@ -813,6 +814,7 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
@Override
|
||||
protected void handleClose(boolean animate) {
|
||||
mIsOpen = false;
|
||||
mContent.setCanAnnouncePageDescriptionForFolder(false);
|
||||
|
||||
if (!animate && mCurrentAnimator != null && mCurrentAnimator.isRunning()) {
|
||||
mCurrentAnimator.cancel();
|
||||
|
||||
Reference in New Issue
Block a user