Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreground import operations are suspended in background state #16

Open
vin047 opened this issue Aug 18, 2021 · 0 comments
Open

Foreground import operations are suspended in background state #16

vin047 opened this issue Aug 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@vin047
Copy link
Contributor

vin047 commented Aug 18, 2021

Describe the bug
Import operations started in the foreground remain suspended in background state. This makes them unable to be set as dependencies (as required by #15) as well as unresponsive to cancellation events until the app returns to the foreground.

To Reproduce
Steps to reproduce the behavior:

  1. Enable Debug logs and Backup & Sync.
  2. Leave phone on standby and on charge to begin background process.
  3. Later, pick up phone and open app.
  4. Observe in the logs that the foreground import operations resumed only after app returned to foreground, regardless of other events including cancellation.

Expected behavior
Foreground import operation should resume and complete in background mode (without spawning another operation for the next batch).

Dependent on #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant