fix tests

Change-Id: I0f4d613481eda2c44a2d631a81d75de7e52e7a62
This commit is contained in:
Mathias Agopian 2013-08-06 16:42:05 -07:00
parent 3ca76f416b
commit 3dce3360e7
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ TEST_F(SurfaceTest, ScreenshotsOfProtectedBuffersSucceed) {
sp<ISurfaceComposer> sf(ComposerService::getComposerService());
sp<IBinder> display(sf->getBuiltInDisplay(ISurfaceComposer::eDisplayIdMain));
ASSERT_EQ(NO_ERROR, sf->captureScreen(display, bq,
64, 64, 0, 0x7fffffff, true));
64, 64, 0, 0x7fffffff));
// Set the PROTECTED usage bit and verify that the screenshot fails. Note
// that we need to dequeue a buffer in order for it to actually get