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

Commit 3aed8e72 authored by Anton Vayvod's avatar Anton Vayvod
Browse files

Refactor AppListRepositoryImpl to add caching.

This change introduces `AppListRepositoryImplHelper` to contain the
original logic. `AppListRepositoryImpl` now wraps this helper and adds a
caching layer using `ConcurrentHashMap` and `Deferred` for `loadApps`
and `loadHomeOrLauncherPackages`, controlled by a `useCaching` flag.

Bug: 439793151
Flag: EXEMPT bug fix
Test: manual + presubmit
Change-Id: Ib92b9d60f596c1032549746c37fb29429eb03af8
parent 6d3bf369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment