Commit 988bffd2 authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Fix incorrect variable names in comments

Found by errorprone. I'm surprised that they were not caught earlier.

Tbr: Comment changes.
Bug: None
Change-Id: Ia26be03885df3a416978686ad6581be9cd1ec376
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100708Reviewed-by: default avatarPeter Wen <wnwen@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Auto-Submit: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749675}
parent 6c8a6a34
......@@ -512,7 +512,7 @@ public class ContextualSearchSelectionController {
if (basePageWebContents != null) {
mDidExpandSelection = true;
basePageWebContents.adjustSelectionByCharacterOffset(
selectionStartAdjust, selectionEndAdjust, /* show_selection_menu = */ false);
selectionStartAdjust, selectionEndAdjust, /* showSelectionMenu= */ false);
}
}
......
......@@ -989,8 +989,8 @@ public class NewTabPageLayout extends LinearLayout implements TileGroup.Observer
Drawable drawable = mAssistantVoiceSearchService.getCurrentMicDrawable();
mVoiceSearchButton.setImageDrawable(drawable);
final @ColorRes int primaryColor =
ChromeColors.getDefaultThemeColor(getResources(), /* isIncognito= */ false);
final @ColorRes int primaryColor = ChromeColors.getDefaultThemeColor(
getResources(), /* forceDarkBgColor= */ false);
ColorStateList colorStateList = mAssistantVoiceSearchService.getMicButtonColorStateList(
primaryColor, getContext());
ApiCompatibilityUtils.setImageTintList(mVoiceSearchButton, colorStateList);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment