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

Commit 6bc48231 authored by Valerie Hau's avatar Valerie Hau
Browse files

Combining background color transactions

Bug: 122326454
Test: ASurfaceControlTest cts test
Change-Id: Ie6d6c5d4d8a27cbf936936200d1c81619d83ca87
parent d5b12fd0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -499,7 +499,5 @@ void ASurfaceTransaction_setColor(ASurfaceTransaction* aSurfaceTransaction,
    color.g = g;
    color.b = b;

    transaction->setColor(surfaceControl, color)
                .setColorAlpha(surfaceControl, alpha)
                .setColorDataspace(surfaceControl, static_cast<ui::Dataspace>(dataspace));
    transaction->setBackgroundColor(surfaceControl, color, alpha, static_cast<ui::Dataspace>(dataspace));
}