summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/InputMethodManagerService.java
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add methods for managing subtypessatok2010-09-231-25/+181
|/ | | | | | | | | | | - added showInputMethodSubtypePicker to public API -- show the selector dialog for subtypes - added getter, setter and event handler to InputMethodManagerService - extract InputMethodSubtype to the top level class for using it in aidl - TODO: make an enabler for input method subtypes - TODO: handle the event of changing an input method subtype in LatinIME Change-Id: I49f8c6675ac4b06511635d14a37bd398738eff33
* Input dispatcher ANR handling enhancements.Jeff Brown2010-09-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | This change is essentially a rewrite of the main input dispatcher loop with the target identification folded in. Since the input dispatcher now has all of the window state, it can make better decisions about when to ANR. Added a .5 second deadline for processing app switch keys. This behavior predates Gingerbread but had not previously been ported. Fixed some timing inaccuracies in the ANR accounting that could cause applications to ANR sooner than they should have. Added a mechanism for tracking key and motion events that have been dispatched to a window so that appropriate cancelation events can be synthesized when recovering from ANR. This change helps to keep applications in sync so they don't end up with stuck buttons upon recovery from ANRs. Added more comments to describe the tricky parts of PollLoop. Change-Id: I13dffca27acb436fc383980db536abc4d8b9e6f1
* DO NOT MERGE. Backport master InputMethodManagerService.java to gingerbreadsatok2010-08-261-16/+22
| | | | Change-Id: Ied15b4f2f447ee3e3b858d4ca65c21c30dfa4eba
* Move status_bar_latest_event and LatestItemView into SystemUI.apk.Joe Onorato2010-06-091-1/+1
| | | | | | | | Then, now that StatusBarManagerService is the only thing in that package, move it up to the regular services package. (I've been waiting for 4 years to delete that package!) Change-Id: If5faf44641319fd19e486d1f4e5bc1c6dfcff3ad
* The status bar draws its icons now.Joe Onorato2010-06-021-14/+5
|
* StatusBarService -> StatusBarManagerServiceJoe Onorato2010-06-021-3/+3
| | | | Change-Id: I7efc245395bd91a656b30d420c9b080877162360
* Fix buildJean-Baptiste Queru2010-03-291-1/+1
| | | | Change-Id: I8c68731786ab648dc916b09333b67acb26f81594
* merge from open-source masterThe Android Open Source Project2010-03-291-0/+14
|\ | | | | | | Change-Id: I6a8109d11dabc579501c598ab2927cf802797130
| * Fix Memory Leak When Switching Input MethodsDevin Taylor2010-02-241-0/+14
| | | | | | | | | | | | | | | | Fixes a memory leak when input methods are switched. Uses a variety of methods to avoid holding a reference to the InputMethodService which created the binders, which was leaking those InputMethodServices. See http://code.google.com/p/android/issues/detail?id=6661 for reproduction steps.
| * eclair snapshotJean-Baptiste Queru2009-11-131-30/+85
| |
* | Fix 2242164 Soft keyboard keeps getting enabled even if I disable itAmith Yamasani2010-03-241-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On keyboardful devices, it is possible to disable the system soft input method. Something changed in eclair that caused the ime to be re-enabled on every package manager update (packages added/deleted). Now keep track of disabled system imes in the settings db and search in that list before enabling a system IME on package changes. Every time the user goes to settings to enable/disable imes, the list is re-created. Any new system IMEs that may be added via an OTA will get enabled if they have a different package name.
* | Fix issue #2537384: Default keyboard input method switchedDianne Hackborn2010-03-241-2/+11
| | | | | | | | | | | | | | | | on Eclaire to FRE77D upgrade We want to prefer system IMEs when our current IME disappears. Change-Id: Ief7332bc4f029991cd833ce0968d75bde987b594
* | Fix issue #2325621: Runtime restart after launching Android keyboard setting.Dianne Hackborn2010-03-171-56/+56
| | | | | | | | | | | | Again. Change-Id: Icc36029767fbfea19e474aa0731e8271da1329db
* | Fix some bugs.Dianne Hackborn2010-03-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #2376231: Apps lose window focus (and back key causes ANR) if the lock screen is dismissed while the phone is in landscape mode This is another case where we weren't recomputing the focused window after changing the visibility policy. bug #2479958: Investigate source of "Resources don't contain package for resource number 0x7f0a0000" Um, okay, so it turns out there were bugs all over the place where we would load an XML resource from a another application, but not use the Resources for that application to retrieve its resources...! I think the only reason any of this stuff was working at all was because it typically only cared about retrieving the resource identifiers of the items (it would look up the values later). Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService Add some null checks.
* | Fixed NPE by guarding the reference of variableTadashi G. Takaoka2010-03-031-0/+3
| | | | | | | | Bug: 2395174
* | Fix issue #2325621 Runtime restart after launching Android keyboard setting .Dianne Hackborn2010-03-031-1/+10
| |
* | Switch the services library to using the new SlogJoe Onorato2010-03-011-62/+62
| |
* | Fix issue #2438980: Implement package watcher for voice recognizer service ↵Dianne Hackborn2010-02-221-128/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting I am getting tired of writing package monitor code, realized this is missing in a number of places, and at this point it has gotten complicated enough that I don't think anyone actually does it 100% right so: Introducing PackageMonitor. Yes there are no Java docs. I am still playing around with just what this thing is to figure out what makes sense and how people will use it. It is being used to fix this bug for monitoring voice recognizers (integrating the code from the settings provider for setting an initial value), to replace the existing code for monitoring input methods (and fix the bug where we wouldn't remove an input method from the enabled list when it got uninstalled), to now monitor live wallpaper package changes (now allowing us to avoid reverting back to the default live wallpaper when the current one is updated!), and to monitor device admin changes. Also includes a fix so you can't uninstall an .apk that is currently enabled as a device admin. Also includes a fix where the default time zone was not initialized early enough which should fix issue #2455507 (Observed Google services frame work crash). In addition, this finally introduces a mechanism to determine if the "force stop" button should be enabled, with convenience in PackageMonitor for system services to handle it. All services have been updated to support this. There is also new infrastructure for reporting battery usage as an applicatin error report.
* | Rename media resource broadcastsSuchi Amalapurapu2010-02-081-4/+4
| | | | | | | | | | | | Add checks for fwdlocked and updated system apps add more tests remove duplicate adds
* | Apps on sdcard: Add new broadcastsSuchi Amalapurapu2010-02-021-29/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | Add new broadcasts ACTION_MEDIA_RESOURCES_AVAILABLE and ACTION_MEDIA_RESOURCES_UNAVAILABLE that get broadcast by PackageManagerService when sdcard gets mounted/unmounted by MountService so that packages on sdcard get recognized by various system services as being installed/available or removed/unavailable by the system. The broadcasts are sent before the actual package cleanup which includes mounting/unmounting the packages and we force a gc right after so that any lingering file references to resources on sdcard get released.
* | Implement API to have new broadcasts replace existing broadcasts.Dianne Hackborn2009-12-141-0/+1
| | | | | | | | | | | | Use this in various places where it should serve no purpose to deliver both broadcasts. This is intended to reduce somewhat the flurry of broadcasts that we churn through during boot.
* | move event log tags used by system server into this packageDoug Zongker2009-12-041-149/+147
| | | | | | | | | | | | We can now locate event log tag definitions in individual packages (and java constants for the tag numbers get auto-generated), so move all the tags used by the system server into the package.
* | Fix bug 2194213: Non-default system IMEs are enabled, but not initially ↵Brandon Ballinger2009-10-211-20/+33
| | | | | | | | | | | | | | shown in input method switcher. - Ensure system IMEs are put on the enabled list at startup/install. - If the default IME is not installed, choose another one whenever building input method list.
* | Add better service reporting.Dianne Hackborn2009-09-031-0/+5
| | | | | | | | | | | | This will be used elsewhere. Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
* | Fix issue #2097313: Latin IME crashes first useDianne Hackborn2009-09-021-12/+24
| | | | | | | | Change-Id: I50c48b66aff5aff42e71058591d20775eba73fed
* | Fiddle system boot ordering.Dianne Hackborn2009-09-021-0/+25
|/ | | | | | | | | | This makes the system a little more careful to not start third party code until it is ready to. Also fix a little bug in SyncManager that would cause it to crash during boot if sync was in a failure state. Change-Id: Ib2d287d8441d155d393fe740a5f98690895fd358
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-10/+23
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-24/+53
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-27/+59
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+1564
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-1564/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-0/+7
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-194/+285
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-66/+100
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-37/+62
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-1/+103
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+1305