|
发表于 2014-12-9 09:19:29
只看该作者
18#
从这张照片来看,方向没错,只是没有显示全,可以在上层修改去掉分辨率限制试试:
- --- a/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
- +++ b/frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
- @@ -7867,6 +7867,8 @@ public class WindowManagerService extends IWindowManager.Stub
- reader.close();
- size.x = width;
- size.y = height;
- + Slog.w(TAG, "screen x=" + width + ",y=" + height);
- + /*
- if (size.y < 720) {
- size.x = 1280;
- size.y = 720;
- @@ -7875,6 +7877,7 @@ public class WindowManagerService extends IWindowManager.Stub
- size.x = 1920;
- size.y = 1080;
- }
- + */
- }
- catch (IOException ex) {
- Slog.w(TAG, "Couldn't read screen state from " + filename + ": " + ex);
复制代码
看看这句打印出来是不是1920X1200 |
|