Bug 1102141 - KeyboardHelper.getApps() should be sync if possible