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

Commit 54461d26 authored by Manish Singh's avatar Manish Singh Committed by Android (Google) Code Review
Browse files

Merge "Apply personal filter when private tab not shown" into main

parents 42321d57 4875662f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -667,7 +667,11 @@ public class ManageApplications extends InstrumentedFragment
            compositeFilter =
                    new CompoundFilter(compositeFilter, ApplicationsState.FILTER_PRIVATE_PROFILE);
        }
        if (mIsPersonalOnly) {

        // We might not be showing the private tab even when there's a private profile present and
        // there's only personal profile info to show, in which case we should still apply the
        // personal filter.
        if (mIsPersonalOnly || !(mIsWorkOnly || mIsPrivateProfileOnly)) {
            compositeFilter = new CompoundFilter(compositeFilter,
                    ApplicationsState.FILTER_PERSONAL);
        }