ICS Physical Keyboard Phone Orientation BUG/FIX

Discussion in 'Porting Advice/Help' started by marcusant, Mar 4, 2012.

  1. marcusant

    marcusantMembers

    Mar 4, 2012
    6
    0
    11
    Male
    School
    Michigan
    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
     

Share Our Site