summaryrefslogtreecommitdiff
authorshuze.ma <shuze.ma@amlogic.com>2017-11-06 06:59:35 (GMT)
committer shuze.ma <shuze.ma@amlogic.com>2017-11-06 06:59:35 (GMT)
commit34a5fb0a8540269ee5555ad872fa7e61d510b794 (patch)
treeaecbe3b67188ec3c92d17c196c9259b60be4a693
parent852e44b279edcbf7e0aa14c28853172e47bceaeb (diff)
downloadframeworks-34a5fb0a8540269ee5555ad872fa7e61d510b794.zip
frameworks-34a5fb0a8540269ee5555ad872fa7e61d510b794.tar.gz
frameworks-34a5fb0a8540269ee5555ad872fa7e61d510b794.tar.bz2
systemcontrol: clean up logo_index and fb0/free_scale_switch operation [2/3]
PD# 153295 clean up logo_index and fb0/free_scale_switch operation. Change-Id: I8d2a7b4e24cbe3ad8ff33c84a4d4a7f710693119
Diffstat
-rw-r--r--services/systemcontrol/DisplayMode.cpp3
-rw-r--r--services/systemcontrol/DisplayMode.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/services/systemcontrol/DisplayMode.cpp b/services/systemcontrol/DisplayMode.cpp
index 6569157..d92072b 100644
--- a/services/systemcontrol/DisplayMode.cpp
+++ b/services/systemcontrol/DisplayMode.cpp
@@ -937,7 +937,6 @@ void* DisplayMode::bootanimDetect(void* data) {
usleep(1000 * 1000);
}
- pThiz->pSysWrite->writeSysfs(DISPLAY_LOGO_INDEX, "-1");
pThiz->pSysWrite->getPropertyString(PROP_BOOTVIDEO_SERVICE, bootvideo, "0");
SYS_LOGI("boot animation detect boot video:%s\n", bootvideo);
if ((!strcmp(fs_mode, "recovery")) || (!strcmp(bootvideo, "1"))) {
@@ -952,8 +951,6 @@ void* DisplayMode::bootanimDetect(void* data) {
//open fb0, let bootanimation show in it
pThiz->pSysWrite->writeSysfs(DISPLAY_FB0_BLANK, "0");
}
- } else {
- pThiz->pSysWrite->writeSysfs(DISPLAY_FB0_FREESCALE_SWTICH, "0x10001");
}
pThiz->setOsdMouse(outputmode);
diff --git a/services/systemcontrol/DisplayMode.h b/services/systemcontrol/DisplayMode.h
index 91ba7ba..960b728 100644
--- a/services/systemcontrol/DisplayMode.h
+++ b/services/systemcontrol/DisplayMode.h
@@ -77,7 +77,6 @@ using namespace android;
#define SYSFS_VIDEO_LAYER_STATE "/sys/class/video/video_layer1_state"
#define DISPLAY_FB0_BLANK "/sys/class/graphics/fb0/blank"
#define DISPLAY_FB1_BLANK "/sys/class/graphics/fb1/blank"
-#define DISPLAY_LOGO_INDEX "/sys/module/fb/parameters/osd_logo_index"
#define SYS_DISABLE_VIDEO "/sys/class/video/disable_video"
#define DISPLAY_FB0_FREESCALE "/sys/class/graphics/fb0/free_scale"
@@ -90,7 +89,6 @@ using namespace android;
#define DISPLAY_FB0_FREESCALE_AXIS "/sys/class/graphics/fb0/free_scale_axis"
#define DISPLAY_FB0_WINDOW_AXIS "/sys/class/graphics/fb0/window_axis"
-#define DISPLAY_FB0_FREESCALE_SWTICH "/sys/class/graphics/fb0/free_scale_switch"
#define DISPLAY_HDMI_HDCP14_STOP "stop14" //stop HDCP1.4 authenticate
#define DISPLAY_HDMI_HDCP22_STOP "stop22" //stop HDCP2.2 authenticate