Merge "Fix a Talkback problem of BottomActionBar and BottomNavigationView" into ub-launcher3-master
diff --git a/src/com/android/customization/picker/grid/GridFragment.java b/src/com/android/customization/picker/grid/GridFragment.java
index eac1527..43eb82f 100644
--- a/src/com/android/customization/picker/grid/GridFragment.java
+++ b/src/com/android/customization/picker/grid/GridFragment.java
@@ -18,7 +18,6 @@
import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
import static com.android.wallpaper.widget.BottomActionBar.BottomAction.APPLY;
-import static com.android.wallpaper.widget.BottomActionBar.BottomAction.CANCEL;
import android.app.Activity;
import android.content.Context;
@@ -208,7 +207,7 @@
@Override
protected void onBottomActionBarReady(BottomActionBar bottomActionBar) {
mBottomActionBar = bottomActionBar;
- mBottomActionBar.showActionsOnly(CANCEL, APPLY);
+ mBottomActionBar.showActionsOnly(APPLY);
mBottomActionBar.setActionClickListener(APPLY, unused -> {
mBottomActionBar.disableActions();
mGridManager.apply(mSelectedOption, mApplyGridCallback);