am ebb0b03e: am d424b8d9: Prepare for a new IActivityController method.

Merge commit 'ebb0b03e170b724e04a0d44bfd1ccb02452f5f57'

* commit 'ebb0b03e170b724e04a0d44bfd1ccb02452f5f57':
  Prepare for a new IActivityController method.
This commit is contained in:
Dianne Hackborn
2010-09-23 17:34:22 -07:00
committed by Android Git Automerger
2 changed files with 8 additions and 0 deletions

View File

@@ -100,6 +100,10 @@ public class BadBehaviorActivity extends Activity {
return true;
}
public int appEarlyNotResponding(String processName, int pid, String annotation) {
return 0;
}
public int appNotResponding(String proc, int pid, String st) {
return 0;
}

View File

@@ -291,6 +291,10 @@ public class Monkey {
return false;
}
public int appEarlyNotResponding(String processName, int pid, String annotation) {
return 0;
}
public int appNotResponding(String processName, int pid, String processStats) {
int savedPolicy = StrictMode.allowThreadDiskWrites();
System.err.println("// NOT RESPONDING: " + processName + " (pid " + pid + ")");