OSDN Git Service

fix ScreenshotsOfProtectedBuffersFail
authorMathias Agopian <mathias@google.com>
Fri, 1 Jul 2011 22:27:27 +0000 (15:27 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 1 Jul 2011 22:41:32 +0000 (15:41 -0700)
commit994e7619a676716de1b018b79946d415f2a305d3
tree710ee922c6bffe0f11979c2be7ce020cb58f27a2
parenteec0f7ebac85d3d1b1151e62b2ed0f25c138d447
fix ScreenshotsOfProtectedBuffersFail

- put the test window at the front most screen position
- use RGBA_8888 which is a mandatory format
- handle devices that don't support the protected usage flags

Bug: 4950464

Change-Id: I0005fb667cfe094e5978816e2924b294c5ef817e
libs/gui/tests/Surface_test.cpp