Add SDK version checking in AIDL radio HAL client
The target SDK version checking was added in AIDL broadcast radio HAL to guarantee that broadcast radio HAL can pass object including new HAL features to the application only when the application has a target SDK version at least the SDK version with the new features. If the application SDK version is lower, the program selectors and program infos will not be sent back to applications if they contain features only existing in higher SDK version, and items only existing in higher version will be removed from the chunk before sending back to applications. HIDL 1.x and 2.0 HAL clients were not updated with SDK version since new broadcast radio HAL features are no longer landed in them. Bug: 257337458 Test: atest android.hardware.radio.tests.unittests Test: atest com.android.server.broadcastradio Change-Id: Ia716353d9c796c5dc5f5218d33fd20a129a5370a
Loading
Please register or sign in to comment