Merge "Fix toolbar keyboard navigation and touch." into main

This commit is contained in:
David Liu
2024-03-05 16:04:08 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 4 deletions

View File

@@ -100,6 +100,7 @@ public interface SearchFeatureProvider {
// and goes to the search UI. Also set the background to null so there's no ripple.
final View navView = toolbar.getNavigationView();
navView.setClickable(false);
navView.setFocusable(false);
navView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
navView.setBackground(null);