OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ca76f4
)
fix tests
author
Mathias Agopian
<mathias@google.com>
Tue, 6 Aug 2013 23:42:05 +0000
(16:42 -0700)
committer
Mathias Agopian
<mathias@google.com>
Tue, 6 Aug 2013 23:42:05 +0000
(16:42 -0700)
Change-Id: I0f4d613481eda2c44a2d631a81d75de7e52e7a62
libs/gui/tests/Surface_test.cpp
patch
|
blob
|
history
diff --git
a/libs/gui/tests/Surface_test.cpp
b/libs/gui/tests/Surface_test.cpp
index
62096f8
..
f473d6a
100644
(file)
--- 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