ezterry / manifest-gingerbread-DS

Dream/Sapphire android manifest for Gingerbread
26 stars 8 forks source link

Crash settings when disable all virtual keyboards #44

Open hpsaturn opened 12 years ago

hpsaturn commented 12 years ago

When settings -> Language $ Keyboards settings -> disable Android Keyboard, disable Japanese IME -> back ->back (Keyboard fail, settings fail)

Output: http://pastebin.com/F0EfiKQd

ezterry commented 12 years ago

.. really I ought to remove the legacy code from settings that assumes its a valid solution to disable system keyboards if you have a hardware keyboard.

Since many locations in android believe there always must be a Input Method...

Do we know what they do on official gingerbread roms for devices with hardware keyboards? do they let you disable the softkeyboards?

ezterry commented 12 years ago

To clarify, I can fix the error on the About Phone screen, and the force quit, but Settings will ANR + require forcequit no mater what I do once a keypress is made after disabling the keyboards (The keypress is getting lost in a loop.. likely Looper trying to send it to a soft keyboard.. but all is well once settings is Force quit)..

also some logic is required to prevent the keyboards from being re-selected on reboot...

hpsaturn commented 12 years ago

Additionally, having turned off the virtual keyboards, the "About" in configuration fails.

ezterry commented 12 years ago

About Device is fixed with: https://github.com/ezterry/GB-packages_apps_settings/commit/b3381b3b09114d96060e28e1268d36c4812aab34