ICS Physical Keyboard Phone Orientation BUG/FIX

Mar 4, 2012
BUG: On ICS, Android thinks that the lid state (keyboard) is 0 when 1 and 1 when 0 which causes lag and incorrect keyboard state, thus breaking the software and hardware keyboard. I have fixed this in my Epic 4G MIUIANDROID port. The smali fix is in /system/framework/android.policy.jar/smali/com/android/internal/policy/impl/PhoneWindowManager.smali.

SMALI diff: http://pastebin.com/MU2bPdJt
Source code fix: http://r.cyanogenmod.com/#change,11826