Unfortunately the new android4.0 default splash screen and normal display rotated 180 degrees, that is, inverted. It turns out that the screen output is inverted, and the search learns that it can be rotated:
Steps:
One: First add this and then add the attribute ro.sf.hwrotation = 180
Two: Add the following in the Init.rc script: SetProp ro.sf.hwrotation180
Modify the Frameworks/base/services/surfaceflinger/surfaceflinger.cpp file in Voidgraphicplane::setdisplayhardware ( DISPLAYHARDWARE*HW) function, add the following:
Case 180:
Displayorientation =isurfacecomposer::eorientation180;
Break
Three: frameworks\base\services\java\com\android\server\wm\Screenrotationanimation.java
Screenshot does not include rotation!
Msnapshotrotation = (Systemproperties.getint ("Ro.sf.hwrotation", 0) ==180)? 2:0;
msnapshotrotation = 0;
android4.0 Default interface Rotation 180