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

Skip to content

handle Initialization with Work Request

Description

After adding an /e/ account, eDrive run initialization job. There is 9 request that will be send to ecloud to create remote folders. In the production version (v1-oreo) there is no check for internet availability, and no mechanism to handle failure. Which result in blocked eDrive if initialization failed.

This MR provide a new mechanism for initialization that handle failure and no network. If there some failure, the task are retried later as soon as all condition are met.

Issue(s)

https://gitlab.e.foundation/e/os/backlog/-/issues/110

Technical details

Use WorkManager API

Check list

  • Self review
  • Code review
Edited by Vincent Bourgmayer

Merge request reports

Loading