diff options
author | Mathias Agopian <mathias@google.com> | 2013-08-06 16:42:05 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-08-06 16:42:05 -0700 |
commit | 3dce3360e73f01ca8b9d707ad8be40a080cd560b (patch) | |
tree | 3977e0e39115d5a7b8386f3fa33e257852f1d468 /libs | |
parent | 3ca76f416bc8665a97636ca8a2d0128b9da9d92c (diff) | |
download | frameworks_native-3dce3360e73f01ca8b9d707ad8be40a080cd560b.zip frameworks_native-3dce3360e73f01ca8b9d707ad8be40a080cd560b.tar.gz frameworks_native-3dce3360e73f01ca8b9d707ad8be40a080cd560b.tar.bz2 |
fix tests
Change-Id: I0f4d613481eda2c44a2d631a81d75de7e52e7a62
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gui/tests/Surface_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/tests/Surface_test.cpp b/libs/gui/tests/Surface_test.cpp index 62096f8..f473d6a 100644 --- a/libs/gui/tests/Surface_test.cpp +++ b/libs/gui/tests/Surface_test.cpp @@ -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 |