summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/RecognitionManagerService.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-01-22Properly initialize recognition service if the recognizer component changed.Amith Yamasani
The getServiceInfo() call directly to IPackageManager does not throw an exception. The return value needed to be checked for null. Bug: 8031032 Change-Id: I701b9e8cf3b2406a3b35a486183330489b3d46f5
2012-09-25Watch for voice recognition service changes for all usersAmith Yamasani
Monitor package changes and update the default recognizer Bug: 7216043 Change-Id: I6b358b62401eaf58b38059caa57f72585f332eb5
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-04-16Find new recognizer if old one is goneBjorn Bringert
Before, RecognitionManagerService just cleared the recognizer setting, which the Settings app really doesn't like. Bug: 6332933 Change-Id: If4f9b583c304c5ea99021dddda50fca55e3ac541
2010-03-01Switch the services library to using the new SlogJoe Onorato
2010-02-22Fix issue #2438980: Implement package watcher for voice recognizer service ↵Dianne Hackborn
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.