am 462fb3a8
: Merge "gui: Fix return code assert in CpuConsumer_test."
* commit '462fb3a8d597fffef3d5534544428d5cee9d8c16': gui: Fix return code assert in CpuConsumer_test.
This commit is contained in:
commit
1738d4fca7
@ -656,7 +656,7 @@ TEST_P(CpuConsumerTest, FromCpuLockMax) {
|
||||
ALOGV("Locking frame %d (too many)", params.maxLockedBuffers);
|
||||
CpuConsumer::LockedBuffer bTooMuch;
|
||||
err = mCC->lockNextBuffer(&bTooMuch);
|
||||
ASSERT_TRUE(err == INVALID_OPERATION) << "Allowing too many locks";
|
||||
ASSERT_TRUE(err == NOT_ENOUGH_DATA) << "Allowing too many locks";
|
||||
|
||||
ALOGV("Unlocking frame 0");
|
||||
err = mCC->unlockBuffer(b[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user