From 99d53f88eeb60704ded6e38841a83fd91ce182af Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Tue, 27 Jul 2021 12:41:28 -0400 Subject: Remove magic code to flash the screen The code is originally introduced in aosp/87740 , not sure why it's necessary to do `blank(true); blank(false);` . Partners have complained that such code causes device's screen to flicker, so remove it. Test: th Bug: 194757527 Change-Id: I271883ea8c96a5612283aa34806b18e1590288f6 --- minui/graphics_fbdev.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/minui/graphics_fbdev.cpp b/minui/graphics_fbdev.cpp index 2584017d6..0d0fabce6 100644 --- a/minui/graphics_fbdev.cpp +++ b/minui/graphics_fbdev.cpp @@ -131,8 +131,6 @@ GRSurface* MinuiBackendFbdev::Init() { SetDisplayedFramebuffer(0); printf("framebuffer: %d (%zu x %zu)\n", fb_fd.get(), gr_draw->width, gr_draw->height); - - Blank(true); Blank(false); return gr_draw; -- cgit v1.2.3