Listen to ro.init_updatable_crashing prop in apexd

As an additional signal to apexd update status, we listen for frequent process
crashes in init, when updatable processes crash too frequently, init sets
the ro.init_updatable_crashing property.

In this cl, apexd listens for the propery change and calls a rollback function
to unstage newly staged packages. This rollback function is just a stub at the
moment. If no packages crash and we receive the sys.boot_completed success
signal, we stop listening for process crashes from init and add the main apexd
thread to the binder thread pool.

Bug: 120598832
Test: Manually tested with logs that sys.boot_completed property change
is received in apexd_prop

Change-Id: Ic85a77e2ef634e7f5af1d90cacefd101ff55510b
8 files changed
tree: aa58a1a70f2af4869fa1953dad733d99a8c5cb0a
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg
  7. TEST_MAPPING