Misc fixes on settings search
- Remove some unused resources - Disable contentDescription on search icon in homepage Change-Id: I214b2be3db4fe4c12932763acfb40b6272b43600 Fixes: 72958338 Test: talkback
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.settings;
|
||||
|
||||
import static android.view.View.IMPORTANT_FOR_ACCESSIBILITY_NO;
|
||||
|
||||
import android.app.ActionBar;
|
||||
import android.app.ActivityManager;
|
||||
import android.app.Fragment;
|
||||
@@ -329,6 +331,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
// and goes to the search UI. Also set the background to null so there's no ripple.
|
||||
View navView = toolbar.getNavigationView();
|
||||
navView.setClickable(false);
|
||||
navView.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
|
||||
navView.setBackground(null);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user