[Android] App Menu "Add To" was removed

Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/6d8fe795eeb86dae11ae8d58c5f9fbf3b427bcda

Remove App Menu Phase 5 "Add To" option

Phase 4, Chipview will be removed in the next CL.
This commit is contained in:
samartnik
2021-05-05 12:03:20 +02:00
committed by Mario Sanchez Prada
parent faeb65585f
commit 45fa963a0e
@@ -61,12 +61,7 @@ public class BraveBookmarkUtils extends BookmarkUtils {
return;
}
boolean isAddToOptionVariation =
CachedFeatureFlags.isEnabled(
ChromeFeatureList.TABBED_APP_OVERFLOW_MENU_THREE_BUTTON_ACTIONBAR)
&& AppMenuPropertiesDelegateImpl.THREE_BUTTON_ACTION_BAR_VARIATION.getValue()
.equals("add_to_option");
if (CachedFeatureFlags.isEnabled(ChromeFeatureList.READ_LATER) && !isAddToOptionVariation) {
if (CachedFeatureFlags.isEnabled(ChromeFeatureList.READ_LATER)) {
// Show a bottom sheet to let the user select target bookmark folder.
showBookmarkBottomSheet(bookmarkModel, tab, snackbarManager, bottomSheetController,
activity, fromCustomTab, callback);