Merge "Remove managed profile icon from QSBH" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-08-13 22:06:15 +00:00
committed by Android (Google) Code Review

View File

@@ -178,6 +178,8 @@ class QuickStatusBarHeaderController extends ViewController<QuickStatusBarHeader
// Ignore privacy icons because they show in the space above QQS // Ignore privacy icons because they show in the space above QQS
updatePrivacyIconSlots(); updatePrivacyIconSlots();
mIconContainer.addIgnoredSlot(
getResources().getString(com.android.internal.R.string.status_bar_managed_profile));
mIconContainer.setShouldRestrictIcons(false); mIconContainer.setShouldRestrictIcons(false);
mStatusBarIconController.addIconGroup(mIconManager); mStatusBarIconController.addIconGroup(mIconManager);