OSDN Git Service

Clear preferred activities when home process crashes
authorMattias Larsson <mattias7.larsson@sonyericsson.com>
Tue, 22 Jun 2010 20:37:03 +0000 (22:37 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Aug 2011 08:05:43 +0000 (16:05 +0800)
commit53426212a57deab03516a664680005611953cc1f
treeb4343e051e03b22a7e9d73e9c8fc09ef986968da
parent1c661327aeda3e0cf56acd4f7df3eb5cf3320a43
Clear preferred activities when home process crashes

If the "default" Home application has been replaced with
a third-party app that is repeatedly crashing at start-up,
there is no way for the user to clear the preferred activities
or uninstall the bad application. If we clear the package
preferred activities when the application crashes, the user
will be prompted with the ResolverActivity at the next boot
and can try using the app again or choose to use another
Home application.

Change-Id: I8ba8e95e6752916d50515d96c117d3084fa980fd
services/java/com/android/server/am/ActivityManagerService.java