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

Skip to content
Commit c0b7cdc4 authored by Weilin Xu's avatar Weilin Xu
Browse files

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
parent 81f50685
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment