Merge "Remove managed profile icon from QSBH" into sc-dev am: 25437b0452

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15559999

Change-Id: Id3914e8aaef2ae1a8e2a98efd5221a67eddff4fb
This commit is contained in:
TreeHugger Robot
2021-08-13 22:09:56 +00:00
committed by Automerger Merge Worker

View File

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