summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/TextServicesManagerService.java
AgeCommit message (Collapse)Author
2013-12-19Move some system services to separate directoriesAmith Yamasani
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
2013-08-02Add a comment on the spell checker frameworkSatoshi Kataoka
Change-Id: Ibd826d68074d8524cbeaae296ce483f8b10c3d07
2013-07-16Refactoring of the print sub-system and API clean up.Svetoslav Ganov
1. Now a user state has ins own spooler since the spooler app is running per user. The user state registers an observer for the state of the spooler to get information needed to orchestrate unbinding from print serivces that have no work and eventually unbinding from the spooler when all no service has any work. 2. Abstracted a remote print service from the perspective of the system in a class that is transparently managing binding and unbinding to the remote instance. 3. Abstracted the remote print spooler to transparently manage binding and unbinding to the remote instance when there is work and when there is no work, respectively. 4. Cleaned up the print document adapter (ex-PrintAdapter) APIs to enable implementing the all callbacks on a thread of choice. If the document is really small, using the main thread makes sense. Now if an app that does not need the UI state to layout the printed content, it can schedule all the work for allocating resources, laying out, writing, and releasing resources on a dedicated thread. 5. Added info class for the printed document that is now propagated the the print services. A print service gets an instance of a new document class that encapsulates the document info and a method to access the document's data. 6. Added APIs for describing the type of a document to the new document info class. This allows a print service to do smarts based on the doc type. For now we have only photo and document types. 7. Renamed the systemReady method for system services that implement it with different semantics to systemRunning. Such methods assume the the service can run third-party code which is not the same as systemReady. 8. Cleaned up the print job configuration activity. 9. Sigh... code clean up here and there. Factoring out classes to improve readability. Change-Id: I637ba28412793166cbf519273fdf022241159a92
2013-01-16Rename bindService to bindServiceAsUser to follow convention.Amith Yamasani
This is for the multi-user version of bindService, not the original. Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0
2012-10-04Support multi-user switch in TextServicesManagerServiceSatoshi Kataoka
Bug: 7231549 Change-Id: I737590688b895ea00d397ddec7702d6d2bec9097
2012-05-30Fix locale in TextServicesManagerServiceSatoshi Kataoka
Bug: 6542210 Change-Id: I1670fac014beb834ec7c065ebf040d0ff3cf4161
2012-05-24Fix the issue on matching the locale in TextServicesManagerServicesatok
Bug: 6542210 Change-Id: I42d84b684d5689e8fceecb705bb51d19d847477a
2012-04-19Move handling of package changes to a background thread.Dianne Hackborn
Helps get rid of some jank when installing applications. Change-Id: I97d0022f82d67796e334d37086e5911dd6ca6b62
2012-02-28Unblock IPC call in TextServicesManagerServicesatok
Bug: 5471520 Change-Id: Iedf2c2cdd8d4834545d06d72ade3ce211b104b1d
2011-11-30Fix ConcurrentModificationException in TextServicesManagerServicesatok
Bug: 5687402 Change-Id: I59086f956b6ee618ff0e1b1034d767d9ae295848
2011-11-17Clean up the spell checker frameworksatok
Change-Id: I64c0d813e53a4ebf8d7e63463e36f6900f1aa7d3
2011-11-10Respect user settings for spell checking language if explicitly setsatok
Bug: 5554116 Change-Id: I8c16d732af1fe713d30d97dfe829ff16653c7f34
2011-10-31Resolve memory leak in TextServicesManagerServicesatok
Bug: 5499490 Change-Id: I3537b0d733a53d4783902a545cd9ecc7e4c2eac1
2011-10-21Fix possible NPEsatok
Bug: 5494803 Change-Id: I6f9d0076405ab7c99076a1168198c2ee70ad5082
2011-10-19Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 ↵Dianne Hackborn
Crespo. Change-Id: Iee530ae4adac20eb9637cc1b933a2202f4beb373
2011-10-17Fix issue #5445666: bunch of com.android.server.TextServicesManagerService ↵Dianne Hackborn
crashes Only unbind once. Also protection from removing a SpellCheckerBindGroup from mSpellCheckerBindGroups if it is no longer the current entry there. Change-Id: Ic585295dfae77eae101a611afbf116bc681290ad
2011-09-30Use user's settings for the spell check language instead of the system localesatok
Bug: 5390462 Change-Id: Ia2a3981cb93f451646debe5ee6b037313825cf9f
2011-08-31Fix DeadObjectException of the spell checkersatok
Bug: 5119646 Change-Id: I2938a2206b79645c13a54cc7200f64c2c0aa3836
2011-08-26Reset subtype when the current spell checker was changed.satok
Change-Id: I79099695337dbc5577871458b24c6710fc0ecca7
2011-08-26Support system locale as the locale of the spell checkerssatok
Bug: 5212035 Change-Id: I18d27e54b936cc7f4d6cc3c7100bce57f77f8f9f
2011-08-26Fix NPE in setCurrentSpellCheckerSubtypesatok
Change-Id: I9fce999f91dcccd2f877a0326c4f2e3ac9024f85
2011-08-26Fix setCurrentSpellCheckerSubtypesatok
Change-Id: Ib42a3b4377b8700ceaf4b7e13150848464d073c1
2011-08-25Add functions to enable / disable spell checkersatok
Bug: 5057977 Change-Id: I2b27bd5f55feb305368034d7e95f83257ac4b3e6
2011-08-24Add functions to set / get SpellCheckerSubtypesatok
Change-Id: I977326879fe201c4dee4a87da361217175eb6041
2011-08-08Support xml configuration file for the spell checker and add the spell ↵satok
checker subtype Change-Id: I74715855525fc0a1282238d593ad37aefd42bfc3
2011-08-04API cleanup for the spell checker frameworksatok
Bug: 5110151 - Add a bundle to an argment of newSpellCheckerSession - Expose SpellCheckerSessionImpl in SpellCheckerService - Fix function names - etc Change-Id: Ia8ec783b7b4d5fcd18389854b445fc10fc502297
2011-08-02Change SpellCheckerInfo IPC inputs to Stringsatok
Change-Id: I4c3f3c7aa7587e3f2582b43702108fa78f37ec54
2011-07-29Fix issues in TextServicesManagerServicesatok
Change-Id: I48c81226d824e8aad42e01e87fcf9a5b466d2321
2011-07-29Handle the existing binds to spell checkers correctly.satok
Change-Id: I32efce9f8c09b5a829b0431e8c444fc54b03b440
2011-07-26[step9] Add logging code for text servicessatok
Change-Id: I4dae847951848cca85bcb73f47c509ce23327334
2011-07-25[Step 2] Add apis for spell checker settingssatok
Bug: 5057977 Change-Id: I4617b7f1487349c5de385e7392dbc39c69fa2ebc
2011-07-22Create TextServiceManager and SpellCheckerServicesatok
Bug: 4176026 This CL inherits https://android-git.corp.google.com/g/112600 Spec of TextServiceManager - Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..) for each locale Spec of SpellCheckerService - Returns whether the given string is a correct word or not - Returns Suggestions for the given string Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2