Merge "Focuses on folder container for Accessibility when no contents to focus on." into ub-launcher3-rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4c7ced91c0
@@ -741,7 +741,8 @@ public class Folder extends AbstractFloatingView implements ClipPathView, DragSo
|
||||
|
||||
@Override
|
||||
protected View getAccessibilityInitialFocusView() {
|
||||
return mContent.getFirstItem();
|
||||
View firstItem = mContent.getFirstItem();
|
||||
return firstItem != null ? firstItem : super.getAccessibilityInitialFocusView();
|
||||
}
|
||||
|
||||
private void closeComplete(boolean wasAnimated) {
|
||||
|
||||
Reference in New Issue
Block a user