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

Commit 692a0997 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Do not start staging task if activity is finishing

If an app is resumed after the process was killed onResume is called
even if onActivityResult sets finish() before. This does not happen if
the activity is resumed without the process having been killed.

Obvisouly we do not want to start an installation if the activity is
finishing, hence just don't do anything in this case.

Fixes: 67759288
Test: - Went through installation until final screen
      - Put installer into background
      - Killed package installer manually
      - Recents -> back to installer
      - Saw onResume called but installer finished anyway

Change-Id: Ib1347692de9deb20459b71410b0ab21cc9e11e06
parent 32335c9b
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