InputMethodManagerService: Fix acore crash on boot up
authorSrilakshmi Punuru <spunur@codeaurora.org>
Tue, 10 Aug 2010 06:48:12 +0000 (23:48 -0700)
committerJean-Baptiste Queru <jbq@google.com>
Wed, 11 Aug 2010 18:17:31 +0000 (11:17 -0700)
commitefcac2ffba6262829093c4388c35f93b0ba0510e
tree78b66b5c88d4bfeb9b5067fe50f48090a39dbcf2
parent2ffe74ded51ee73ae1b412861f5d6ec58c835390
InputMethodManagerService: Fix acore crash on boot up

At bootup, while starting the service, if the default Input Method is not set,
it is trying to disable the icon even before the statusbar variable and the input
method icon are initialized. Hence, initializing them before building the input method list.

Change-Id: Ibde2ca3bd379d6620d84b75662ffad1a95a24fc6
services/java/com/android/server/InputMethodManagerService.java