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

Skip to content
Commit 9de3073d authored by Kweku Adams's avatar Kweku Adams
Browse files

Add basic prefetch job handling.

1. Add a PrefetController that will mark prefetch jobs as ineligible
   to run if the system doesn't think the app will be launched in the
   next few hours.
2. Force batch all prefetch jobs unless the system thinks the app will
   be launched within the next hour.

Upcoming:
* Adding functionality in UsageStats to determine the next time the app
  will be launched.

Bug: 194532703
Test: atest FrameworksMockingServicesTests:PrefetchControllerTest
Change-Id: Ic4e911eb53b4cfb5a904eec0aa59fdc80f029cb1
parent 1ea287ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment