Merge "a11y: disabling accessibility scrolling of the home screen" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot 2018-04-13 18:37:57 +00:00 committed by Android (Google) Code Review
commit 4107c4310a
1 changed files with 7 additions and 0 deletions

View File

@ -53,6 +53,7 @@ import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.view.accessibility.AccessibilityNodeInfo;
import android.widget.Toast;
import com.android.launcher3.Launcher.LauncherOverlay;
@ -3477,4 +3478,10 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
onEndStateTransition();
}
}
@Override
public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
super.onInitializeAccessibilityNodeInfo(info);
info.setScrollable(false);
}
}