Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c785319 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent 2486a5f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);