ashmemd: avoid sleep cycle on non-VNDK devices.

On non-VNDK device (e.g. sailfish) the code path to ashmemd is the same,
which results in vendor processes always failing to get ashmemd service.
Use checkService() to fail immediately, instead of waiting for the
service.

Fixes: 123999623
Test: boot sailfish, no sleep cycles when trying to reach ashmemd.
Change-Id: I4fce14fad28b509cd112370bc4cc2eafd45c6c75
1 file changed
tree: a6de32c09aa4203a5f196fc8f536c9bdb712ecf1
  1. aidl/
  2. tests/
  3. Android.bp
  4. ashmemd.cpp
  5. ashmemd.rc
  6. ashmemd_client.cpp
  7. OWNERS