Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11aec932 authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "[Bugfix][BootAnimation] Fix the issue of the transparent background...

Merge "[Bugfix][BootAnimation] Fix the issue of the transparent background image shows transparent background unexpectedly in BootAnimation on some MTK platforms." am: 6562eb87 am: e3f08c40 am: 8ab593e3

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2092083



Change-Id: Ie398c67406fd7547c85b457b382aeed1dfb7c90f
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents cc9403e1 8ab593e3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;