commit | 2897aff9d8c79e44f452c35ee05097bea4848381 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Mar 16 23:19:26 2022 +0000 |
committer | Yu Shan <shanyu@google.com> | Thu Mar 17 00:40:55 2022 +0000 |
tree | 8b1694fe1c9c5f9501760a1c5611b42d01b57e5e | |
parent | a5e8da7b9465e73c579027be9f003678bec07e25 [diff] |
Handle sample rate out of bound correctly. This CL changes the behavior when sample rate is out of bound for VHAL. Sample rate would be fitted to the range if out-of-bound. Also added some comments to clearly document this behavior. Test: atest DefaultVehicleHalTest atest CtsCarTestCases Bug: 225025926 Change-Id: Id853070cb0dc823855a68f86a01de2ff2a011577