apexd: abort sessions in the pre-reboot state when new session is staged

This enforces an invariant that there at any point in time there is at
most one "non-finalized" session.

Bug: 123622800
Test: apexservice_test, apex_e2e_tests
Change-Id: I795bbf0ce5c2c84b400c8cef6178c54de01c0936
5 files changed
tree: 5a4769f8e1e7de714c509607e0a48eb9c050440e
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING