|
发表于 2017-8-9 10:12:48
只看该作者
板凳
system/displayd/ScreenScaleManager.cpp
if (property_get(PROPETY_OVERSCAN_MAX, property_max, 0) > 0)
max = atoi(property_max);
- default_scale = max*0.95;
+// default_scale = max*0.95;
int fd = open(MainDisplaySysNode, O_RDWR, 0);
if(fd > 0) {
@ -86,7 +86,7 @ ScreenScaleManager::ScreenScaleManager() {
}
memset(property, 0, PROPERTY_VALUE_MAX);
sprintf(property, "overscan %d,%d,%d,%d", overscan_left, overscan_top, overscan_right, overscan_bottom);
- // write(fd, property, strlen(property));
+ write(fd, property, strlen(property));
close(fd);
property_set(PROPETY_OVERSCAN_AUX, property);
} |
|