Remove managed profile icon from QSBH
This adds it to the ignored icons in QuickStatusBarHeaderController iconContainer. Test: manual, create managed profile, icon doesn't show. Fixes: 196243622 Change-Id: Ib97b9d947318b09d289076c63995327d356cb5fc
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user