Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd21a20b authored by Devin Moore's avatar Devin Moore
Browse files

random_binder: don't try to get ServiceManager on host

There is no ServiceManager binder on host, so don't try to get it.

Alternative considered:
setDefaultServiceManager(sp<FakeServiceManager>::make());
But if that's called after the process already called
setDefaultServiceManager or defaultServiceManager, it will abort. So
existing users of libbinder_random_parcel would break.

Flag: EXEMPT test only
Test: binder_parcel_fuzzer # host and device
Bug: 407122315
Change-Id: I2a36ac54bac5f088d9a3e8a2f359b7a5acaddc16
parent 6e578e5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment