Merge "[Bugfix][BootAnimation] Fix the issue of the transparent background image shows transparent background unexpectedly in BootAnimation on some MTK platforms." am: 6562eb87f3 am: e3f08c403e am: 8ab593e3a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2092083 Change-Id: Ie398c67406fd7547c85b457b382aeed1dfb7c90f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -510,7 +510,8 @@ status_t BootAnimation::readyToRun() {
|
||||
resolution = limitSurfaceSize(resolution.width, resolution.height);
|
||||
// create the native surface
|
||||
sp<SurfaceControl> control = session()->createSurface(String8("BootAnimation"),
|
||||
resolution.getWidth(), resolution.getHeight(), PIXEL_FORMAT_RGB_565);
|
||||
resolution.getWidth(), resolution.getHeight(), PIXEL_FORMAT_RGB_565,
|
||||
ISurfaceComposerClient::eOpaque);
|
||||
|
||||
SurfaceComposerClient::Transaction t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user