Clean up usages of flag remove_qs_tooltip_in_suw

This bug-fixing flag has been in Trunkfood in two months.

Test: existing presubmit (no functional change)
Bug: 294560581
Change-Id: I05282f1f7ee6b1bb4e4bf873771d80ae68204b4c
This commit is contained in:
Chun-Ku Lin
2024-04-01 20:07:56 +00:00
parent f18d1f60fb
commit dd915a5031
4 changed files with 2 additions and 13 deletions

View File

@@ -210,8 +210,7 @@ abstract class PreviewSizeSeekBarController extends BasePreferenceController imp
return;
}
if (Flags.removeQsTooltipInSuw()
&& mContext instanceof Activity
if (mContext instanceof Activity
&& WizardManagerHelper.isAnySetupWizard(((Activity) mContext).getIntent())) {
// Don't show QuickSettingsTooltip in Setup Wizard
return;