Skip to content

Commit

Permalink
Merge pull request #27002 from brave/android_tab_groups_open_link_fol…
Browse files Browse the repository at this point in the history
…low_up

[Android] Fix for default action on opening link
  • Loading branch information
samartnik authored Dec 13, 2024
2 parents d6f3c15 + c76e1d1 commit e024c21
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ public class BraveTabGroupModelFilter {
public boolean shouldUseParentIds(Tab tab) {
if (linkClicked(tab.getLaunchType())
&& ChromeSharedPreferences.getInstance()
.readBoolean(BravePreferenceKeys.BRAVE_TAB_GROUPS_ENABLED, true)
.readBoolean(
BravePreferenceKeys.BRAVE_TAB_GROUPS_ENABLED,
ChromeSharedPreferences.getInstance()
.readBoolean(
BravePreferenceKeys
.BRAVE_TAB_GROUPS_ENABLED_DEFAULT_VALUE,
true))
&& isTabModelRestored()
&& !mIsResetting) {
return true;
Expand Down

0 comments on commit e024c21

Please sign in to comment.