mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Camera VTS: Close the session at the end of stream configuration validation
Not calling mSession->close means that there will be multiple concurrent sessions open, which may not be supported by the device. Bug: 280559094 Test: Ran on cuttlefish Change-Id: Ie622fabd4d0be2f8442e90d1c781bbf905172270
This commit is contained in:
@@ -3081,7 +3081,11 @@ TEST_P(CameraAidlTest, validateStreamConfigurations) {
|
||||
ASSERT_EQ(blobMinDurations.size(), blobStallDurations.size());
|
||||
}
|
||||
|
||||
// Validate other aspects of stream configuration metadata...
|
||||
// TODO (b/280887191): Validate other aspects of stream configuration metadata...
|
||||
|
||||
ndk::ScopedAStatus ret = mSession->close();
|
||||
mSession = nullptr;
|
||||
ASSERT_TRUE(ret.isOk());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user