If the swcodec HAL is declared, then register it with servicemanager
If a HAL service is declared, it must be reachable at run time.
vts_treble_vintf_framework_test verifies this.
Don't base the registration of the HAL service on the SDK API level.
VTS and libvintf can ensure it's registered correctly on devices.
This change does still allow the flagging to disable the AIDL HAL for
debugging purposes, but those devices will not pass VTS like that.
Test: vts_treble_vintf_framework_test
Bug: 279809333
Change-Id: Ia8c6bce0a670fbbcb2a3006c75a3d77a526f826e
1 file changed