RK3288 Android7.1 OTA 升级动画修改
双屏模式下,OTAS升级动画的修改
通过修改graphics_drm.cpp文件上的unsigned kConnectorPriority[]数组,来实现OTA的显示在那个屏幕上
--- a/bootable/recovery/minui/graphics_drm.cpp
+++ b/bootable/recovery/minui/graphics_drm.cpp
[url=home.php?mod=space&uid=1999721]@@[/url] -296,7 +296,7 @@ static drmModeConnector *find_main_monitor(int fd, drmModeRes resources,
/ Look for LVDS/eDP/DSI connectors. Those are the main screens. */
unsigned kConnectorPriority[] = {
DRM_MODE_CONNECTOR_HDMIA,
- //DRM_MODE_CONNECTOR_eDP,
DRM_MODE_CONNECTOR_LVDS,
// DRM_MODE_CONNECTOR_eDP,
DRM_MODE_CONNECTOR_DSI,
原作者:Hickey丶钰
|