16 Commits

Author SHA1 Message Date
Svetoslav Ganov
6f089b877e IAE: Service not registered: com.android.server.AccessibilityManagerService
bug:3331645

1. Let the binder the AccessibilityManagerService has obtained while connecting
   to an accessibility services be garbage collected since when binding we will
   will get in the on #onServiceConnected callback and it can be potentially
   another instance.

Change-Id: I87aa5e5f741e2e54c72d3d0d396ac00eda5aeb5c
2011-01-11 15:04:49 -08:00
Svetoslav Ganov
6ff5f10354 IOBE while diabling accessibility with some enabled accessibility services.
1. Added logic to update the current position in the list of services to be
   disabled in case of a successfully removed (unbound) such service.

Change-Id: I2ac7d3a53026a7c95b10b285fd4280419c903ec6
2011-01-10 13:15:26 -08:00
Svetoslav Ganov
563d78401d (cherrypick from master) 3322879 Device soft reboots on enabling and disabling accessibility settings
Change-Id: I7cf6f9da010113d591bd0eb2c59f7a4b92a38764
2011-01-06 17:40:26 -08:00
Svetoslav Ganov
f2245aa5d7 3304011 At times Talkback still works after disabling it.
Change-Id: If99ef28c6285a2d290d46518a07d69d5e22cca5b
2010-12-28 15:50:32 -08:00
Svetoslav Ganov
51f36f2d78 Bug 3292797. Talkback accessibility doesn't work at times.
Change-Id: I43c57a74675847d120a7f2e46b87a1f7f6e4137c
2010-12-18 16:22:53 -08:00
Svetoslav Ganov
dd64a9b0d6 2593833 AccessibilityManager not properly initialized immediately upon registration in the AccessibilityManagerService
Change-Id: I0226bafc5e9c5b800c54019c9309394f1e5f9e88
2010-04-13 18:41:17 -07:00
Joe Onorato
8a9b22056b Switch the services library to using the new Slog 2010-03-01 13:06:50 -08:00
Dianne Hackborn
21f1bd17b2 Fix issue #2438980: Implement package watcher for voice recognizer service 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.
2010-02-22 11:27:52 -08:00
Svetoslav Ganov
fb606da00c Fixing bug 2453467 - In case of a dead process while disabling Accessibility some processes keep sending AccessibilityEvents 2010-02-18 15:30:52 -08:00
Svetoslav Ganov
714cff0693 Fixing bug 2451615 - Accessibility services are started upon system reboot while accessibility is disabled 2010-02-17 19:36:28 -08:00
Suchi Amalapurapu
b56ae20b22 Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
2010-02-08 14:52:25 -08:00
Suchi Amalapurapu
08675a3376 Apps on sdcard: Add new broadcasts
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.
2010-02-02 18:33:29 -08:00
Dianne Hackborn
dd9b82c283 Add better service reporting.
This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
2009-09-03 14:11:02 -07:00
Charles Chen
85b598beda Fixing bug #2023024 - there is an out of bounds exception that
can happen if services are going away as the AccessibilityManagerService
is trying to dispatch notifications to these services. Catching this
exception and bailing because having this exception means that there
are no more services around that need to get this notification.
2009-07-29 17:23:50 -07:00
Charles Chen
bbc1934e0e Fixing bug 2003639 - this is a fix to prevent the AccessibilityManagerService
from crashing if it gets an invalid accessibility event.
2009-07-24 16:06:09 -07:00
svetoslavganov
75986cf9bc Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut) 2009-05-14 23:47:05 -07:00