OSDN Git Service

Add toast when an app intercepts the launch of another app.
authorDianne Hackborn <hackbod@google.com>
Fri, 10 Sep 2010 04:25:35 +0000 (21:25 -0700)
committerDianne Hackborn <hackbod@google.com>
Fri, 10 Sep 2010 04:25:35 +0000 (21:25 -0700)
commit0dad364adb9e9cbc2f7fa115602552f4897387ad
tree2f7d9825ab2261d3349250b4d09c94acc005f035
parentee455f5a9572bc0d23c3328f6c22da91dc109a50
Add toast when an app intercepts the launch of another app.

The activity manager looks for cases where one app launches immediately
after another.  If this happens, a brief toast is shown telling the user
when app is actually running and what was originally starting.

Change-Id: If94cf5bd393dd0bc0f09789dae044fde1386c481
core/res/res/layout/launch_warning.xml [new file with mode: 0644]
core/res/res/values/strings.xml
core/res/res/values/themes.xml
services/java/com/android/server/am/ActivityManagerService.java
services/java/com/android/server/am/ActivityRecord.java
services/java/com/android/server/am/ActivityStack.java
services/java/com/android/server/am/LaunchWarningWindow.java [new file with mode: 0644]