方案一:修改 PhoneWindowManager.java 注:这种方案竖屏不包括开机动画。 在rotationForOrientationLw() 方法中做如下修改: 方案二:修改SurfaceFlinger.cpp 修改如下: