Only run TestSvStatusIntervals on V+

Bug: 336656335
Test: atest VtsHalGnssTargetTest
Change-Id: Iee77147227ab848b67b12aaa9496cf18b60b0f00
This commit is contained in:
Yu-Han Yang 2024-04-26 01:33:09 +00:00
parent 6801141171
commit 86c4b11979

View file

@ -1714,7 +1714,8 @@ TEST_P(GnssHalTest, TestAccumulatedDeltaRange) {
* 2. verify the SvStatus are received at expected interval
*/
TEST_P(GnssHalTest, TestSvStatusIntervals) {
if (aidl_gnss_hal_->getInterfaceVersion() <= 2) {
// Only runs on devices launched in Android 15+
if (aidl_gnss_hal_->getInterfaceVersion() <= 3) {
return;
}
ALOGD("TestSvStatusIntervals");