Remove FilterUnnecessaryStagingPaths
That function was doing two things during stagePackages:
* skipped staging packages that are already in /data/apex/active.
* skipped staging packages that were already active.
First case is legit (e.g samegrading APEX) and is now moved into
stagePackages function.
Second case doesn't make any sense, as at the time stagePackages is
called, no APEX packages have been activated yet. As a result the code
is never executed and only confuses people (see attached bug).
Bug: 139041370
Test: atest apexservice_test
Test: atest CtsStagedInstallHostTestCases (on internal master)
Change-Id: I706a797f34febb8e769a41fb1c968134ac47d42a
2 files changed