Skip to content

Commit 508fe9d

Browse files
samartnikcdesouza-chromium
authored andcommitted
[cr139][Android] Rename isSupportedConfiguration into isBottomChinEnabled
Chromium changes: https://chromium.googlesource.com/chromium/src/+/70349f5d9f846058c257a4b2f1222d0c278a713a commit 70349f5d9f846058c257a4b2f1222d0c278a713a Author: Wenyu Fu <wenyufu@chromium.org> Date: Thu Jun 12 09:49:03 2025 -0700 [E2E] Rename isSupportedConfiguration into isBottomChinEnabled Step 2 to break down isSupportedConfiguration. This check is equivalent to whether e2e bottom chin is enabled, so thus we do the rename. The nav bar inset checks are still in side the method, which will be moved out in another follow up. Bug: 423779994 Change-Id: I0ecda22ed7fa74dc15146725dfe08c58cebd2e7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6638038 Auto-Submit: Wenyu Fu <wenyufu@chromium.org> Commit-Queue: Charles Hager <clhager@google.com> Reviewed-by: Charles Hager <clhager@google.com> Cr-Commit-Position: refs/heads/main@{#1473111}
1 parent 8d34baa commit 508fe9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/java/org/chromium/chrome/browser/tabbed_mode/BraveTabbedRootUiCoordinator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected void onLayoutManagerAvailable(LayoutManagerImpl layoutManager) {
194194
.getResources()
195195
.getDimensionPixelSize(R.dimen.bottom_controls_height)
196196
* -1;
197-
if (EdgeToEdgeUtils.isEdgeToEdgeBottomChinEnabled()
197+
if (EdgeToEdgeUtils.isEdgeToEdgeBottomChinEnabled(mActivity)
198198
&& mEdgeToEdgeControllerSupplier.get() != null) {
199199
bottomToolbarHeight -=
200200
mEdgeToEdgeControllerSupplier.get().getBottomInsetPx();

0 commit comments

Comments
 (0)