[GAR] Set the attribute of SliceView is not important to skip for Accessibily

Bug: 179002330
Test: manual test
      make RunSettingsRoboTests ROBOTEST_FILTER=PanelSlicesAdapterTest
Change-Id: I67cdd04cd5655ab297d58d7f9ee20e5e0f6ea7fd
This commit is contained in:
changbetty
2021-05-27 16:52:36 +08:00
parent f556c56609
commit f6b159382c

View File

@@ -125,6 +125,7 @@ public class PanelSlicesAdapter
sliceView = view.findViewById(R.id.slice_view);
sliceView.setMode(SliceView.MODE_LARGE);
sliceView.setShowTitleItems(true);
sliceView.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO);
mSliceSliderLayout = view.findViewById(R.id.slice_slider_layout);
}