diff --git a/device/softwinner/wing-common/hardware/libhardware/display/display.cpp b/device/softwinner/wing-common/hardware/libhardware/display/display.cpp
index a406f36..01a5ba8 100755 (executable)
--- a/device/softwinner/wing-common/hardware/libhardware/display/display.cpp
+++ b/device/softwinner/wing-common/hardware/libhardware/display/display.cpp
@@ -2529,7 +2529,8 @@ static int display_init(struct display_context_t* ctx)
}
if(i==sizeof(g_tv_para)/sizeof(struct tv_para_t))
{
- ctx->out_format[sel] = DISPLAY_TVFORMAT_720P_60HZ;
+ //ctx->out_format[sel] = DISPLAY_TVFORMAT_720P_60HZ;
+ ctx->out_format[sel] = DISPLAY_TVFORMAT_1080P_60HZ;
}
}
else if(init_para.output_type[sel] == DISP_OUTPUT_TYPE_VGA)
diff --git a/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java b/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
index 1045c7d..2f6d375 100755 (executable)
--- a/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
+++ b/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
@@ -4045,7 +4045,7 @@ public class WindowManagerService extends IWindowManager.Stub
if (req == ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) {
req = getOrientationFromAppTokensLocked();
}
- req = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;
+ //req = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;
return req;
}
else{
diff --git a/system/core/init/init_disp.c b/system/core/init/init_disp.c
index 3637143..8b2c8cd 100755 (executable)
--- a/system/core/init/init_disp.c
+++ b/system/core/init/init_disp.c
@@ -768,7 +768,9 @@ int init_initdisplay()
}
if(hdmistatus)
{
- init_swtichdisplay(0,DISP_OUTPUT_TYPE_HDMI,DISP_TV_MOD_720P_60HZ);
+ //init_swtichdisplay(0,DISP_OUTPUT_TYPE_HDMI,DISP_TV_MOD_720P_60HZ);
+ int mode = init_dispgethdmimaxmode();
+ init_swtichdisplay(0,DISP_OUTPUT_TYPE_HDMI,mode);
}
else
{
|