Merge "a11y: disabling accessibility scrolling of the home screen" into ub-launcher3-master
This commit is contained in:
commit
4107c4310a
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue