commit | a925cd4101dceefae6b9c0634084f9fa72b12344 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Thu Mar 10 13:18:20 2011 -0800 |
committer | Dianne Hackborn <hackbod@google.com> | Thu Mar 10 13:18:20 2011 -0800 |
tree | 8514698b53c5be0d11dfb7949fd030aa57bbb141 | |
parent | 0837fde9fd9e29f8ef66a3fe00764e15a6f3d515 [diff] [blame] |
Fix issue #4081756: Crash when un-stopping applications Change-Id: Ifc23481f8feaeacb410375eefd015ebdb997e39c
diff --git a/services/java/com/android/server/am/ActivityStack.java b/services/java/com/android/server/am/ActivityStack.java index 3a613bb..c087aecf 100644 --- a/services/java/com/android/server/am/ActivityStack.java +++ b/services/java/com/android/server/am/ActivityStack.java
@@ -1299,6 +1299,9 @@ AppGlobals.getPackageManager().setPackageStoppedState( next.packageName, false); } catch (RemoteException e1) { + } catch (IllegalArgumentException e) { + Slog.w(TAG, "Failed trying to unstop package " + + next.packageName + ": " + e); } // We are starting up the next activity, so tell the window manager