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

Commit 9d994e6c authored by mxyyiyi's avatar mxyyiyi
Browse files

Impl private space for extreme battery saver mode.

- Add new filter to combine personal & private appEntries

Bug: 299033243
Test: manual
Change-Id: Ied105abb1a5e781d8ae616a19691dce08db8cde4
parent 7f8a7bfd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1918,6 +1918,16 @@ public class ApplicationsState {
        }
    };

    public static final AppFilter FILTER_PERSONAL_OR_PRIVATE = new AppFilter() {
        @Override
        public void init() {}

        @Override
        public boolean filterApp(AppEntry entry) {
            return entry.showInPersonalTab || entry.isPrivateProfile();
        }
    };

    /**
     * Displays a combined list with "downloaded" and "visible in launcher" apps only.
     */