From 6bc31ffe48346d4ba7ec93c24cd5d4f44f82c3ce Mon Sep 17 00:00:00 2001 From: Col_or Date: Sun, 26 Nov 2023 13:19:16 +0800 Subject: [PATCH] vendor: soong: Accept back a value for TARGET_RECOVERY_OVERSCAN_PERCENT * If the cflags doesn't have value, it may lead to an incomplete display. Test: Before fixed: I:Scaling theme width 0.981481x and height 1.169271x, offsets x: 0 y: 107 w: 0 h: -107 After fixed: I:Scaling theme width 1.000000x and height 1.194271x, offsets x: 0 y: 107 w: 0 h: -107 Change-Id: I267290748f2896662696c781a83e141b771e3e2e Signed-off-by: Col_or --- build/soong/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/soong/Android.bp b/build/soong/Android.bp index d7da046..36f0427 100644 --- a/build/soong/Android.bp +++ b/build/soong/Android.bp @@ -270,7 +270,7 @@ twrp { cflags: ["-DTWRP_EVENT_LOGGING"] }, target_recovery_overscan_percent: { - cflags: ["-DOVERSCAN_PERCENT"] + cflags: ["-DOVERSCAN_PERCENT=%s"] }, tw_screen_blank_on_boot: { cflags: ["-DTW_SCREEN_BLANK_ON_BOOT"]