apexd: Unmounts dangling mounts

On boot competes (apexes are all activated), unmounts non-active packages.
If those old APEXes are in /data/apex/active, they are removed.

Bug: 129524627
Test: atest apexservice_test
Test: manual
 1. put new apex in /system/apex and old apex in /data/apex/active
 2. reboot and see logs (check if unmount/delete)
 3. see if old apex is moved from /data/apex/active

Change-Id: I449cc906730d8eb707766abeeef198726af6123b
Merged-In: I449cc906730d8eb707766abeeef198726af6123b
5 files changed
tree: 659e57667cd458a3367f9a6b3c7acafbe488c2c0
  1. apexd/
  2. apexer/
  3. proto/
  4. shim/
  5. tests/
  6. CleanSpec.mk
  7. OWNERS
  8. PREUPLOAD.cfg