Create plumbing for disabling force-dark
Test: sysui's rounded corners are no longer white Bug: 102591313 Change-Id: Id99ae38c354cef06b94a5fb79b5b1a9a216a514c
This commit is contained in:
@@ -1253,6 +1253,7 @@ public final class Bitmap implements Parcelable {
|
||||
final RenderNode node = RenderNode.create("BitmapTemporary", null);
|
||||
node.setLeftTopRightBottom(0, 0, width, height);
|
||||
node.setClipToBounds(false);
|
||||
node.setAllowForceDark(false);
|
||||
final DisplayListCanvas canvas = node.start(width, height);
|
||||
if (source.getWidth() != width || source.getHeight() != height) {
|
||||
canvas.scale(width / (float) source.getWidth(),
|
||||
|
||||
Reference in New Issue
Block a user