libgui: Fix the tests so they build.
Change-Id: I7205b0819e5801ac549109ff562c3ab1b113d176
This commit is contained in:
@@ -76,7 +76,7 @@ protected:
|
||||
mComposerClient = new SurfaceComposerClient;
|
||||
ASSERT_EQ(NO_ERROR, mComposerClient->initCheck());
|
||||
|
||||
mSurfaceControl = mComposerClient->createSurface(getpid(),
|
||||
mSurfaceControl = mComposerClient->createSurface(
|
||||
String8("Test Surface"), 0,
|
||||
getSurfaceWidth(), getSurfaceHeight(),
|
||||
PIXEL_FORMAT_RGB_888, 0);
|
||||
|
||||
@@ -30,7 +30,7 @@ protected:
|
||||
mComposerClient = new SurfaceComposerClient;
|
||||
ASSERT_EQ(NO_ERROR, mComposerClient->initCheck());
|
||||
|
||||
mSurfaceControl = mComposerClient->createSurface(getpid(),
|
||||
mSurfaceControl = mComposerClient->createSurface(
|
||||
String8("Test Surface"), 0, 32, 32, PIXEL_FORMAT_RGB_888, 0);
|
||||
|
||||
ASSERT_TRUE(mSurfaceControl != NULL);
|
||||
|
||||
Reference in New Issue
Block a user