submitStagedSession returns a boolean.

If verification fails, we don't want to throw a Binder exception which
in turns gets converted to a Java runtime exception, since this might be
not noticed by the caller. Return a boolean instead, and write the
ApexInfo array as an out parameter in a new parcelable called
ApexInfoList. (Lists of parcelables are currently not supported as out
parameter by native binder)

Bug: 118865310
Test: m apexservice_test
Change-Id: Ie3976afddaf7e037186a76cc821adb6cc7060a94
5 files changed
tree: 4cac6e523dee656b1828edd7875ac70458076a1f
  1. apexd/
  2. apexer/
  3. proto/
  4. tests/
  5. OWNERS
  6. PREUPLOAD.cfg