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

Commit d30ae07a authored by Manish Singh's avatar Manish Singh
Browse files

Don't show private profile apps in Opening links

when locked.

Bug: 336327005
Test: manual
Change-Id: Iba9386bd0b5deca090c113a599138bcb27be75f8
parent 42f1e793
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2131,7 +2131,13 @@ public class ApplicationsState {
        public boolean filterApp(AppEntry entry) {
            return !AppUtils.isInstant(entry.info)
                    && hasFlag(entry.info.privateFlags,
                    ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS);
                    ApplicationInfo.PRIVATE_FLAG_HAS_DOMAIN_URLS)
                    && !entry.hideInQuietMode;
        }

        @Override
        public void refreshAppEntryOnRebuild(@NonNull AppEntry appEntry, boolean hideInQuietMode) {
            appEntry.hideInQuietMode = hideInQuietMode;
        }
    };