Merge commit '44e43d1f6593ae912b3818692058196233cd4ac9' * commit '44e43d1f6593ae912b3818692058196233cd4ac9': InputMethodManagerService: Fix acore crash on boot up
This commit is contained in:
committed by
Android Git Automerger
commit
dc15e5b903
@@ -466,6 +466,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
screenOnOffFilt.addAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS);
|
||||
mContext.registerReceiver(new ScreenOnOffReceiver(), screenOnOffFilt);
|
||||
|
||||
mStatusBar = statusBar;
|
||||
statusBar.setIconVisibility("ime", false);
|
||||
|
||||
buildInputMethodListLocked(mMethodList, mMethodMap);
|
||||
|
||||
final String enabledStr = Settings.Secure.getString(
|
||||
@@ -509,9 +512,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
}
|
||||
}
|
||||
|
||||
mStatusBar = statusBar;
|
||||
statusBar.setIconVisibility("ime", false);
|
||||
|
||||
mSettingsObserver = new SettingsObserver(mHandler);
|
||||
updateFromSettingsLocked();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user