Add build fingerprint checks to apexd

Staged sessions should be abandoned when the build
fingerprint changes (in case of an OTA, for example).
This change stores the build fingerprint as part of an
APEX session, which is then verified upon reboot.

Bug: 145840157
Test: Stage APEX install, reboot with same/different build
      fingerprints and verify session is completed/abandoned
      respectively
Test: atest ApexServiceTest#SubmitStagedSessionStoresBuildFingerprint
Change-Id: I90ff014e82e6913914f0d752bb43f10d5efc6f2c
Merged-In: I90ff014e82e6913914f0d752bb43f10d5efc6f2c
(cherry picked from commit 778cacee8bffc8d257245e71c05f705fa53078c1)
5 files changed
tree: f76e5a071e6e1e91bdfdc5b35406c70070d364ed
  1. CleanSpec.mk
  2. OWNERS
  3. PREUPLOAD.cfg
  4. apexd/
  5. apexer/
  6. proto/
  7. shim/
  8. tests/