am d424b8d9: Prepare for a new IActivityController method.

Merge commit 'd424b8d9ccb569c4a2f01de248068fd130e3bd82' into gingerbread-plus-aosp

* commit 'd424b8d9ccb569c4a2f01de248068fd130e3bd82':
  Prepare for a new IActivityController method.
This commit is contained in:
Dianne Hackborn
2010-09-23 16:02: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; return true;
} }
public int appEarlyNotResponding(String processName, int pid, String annotation) {
return 0;
}
public int appNotResponding(String proc, int pid, String st) { public int appNotResponding(String proc, int pid, String st) {
return 0; return 0;
} }

View File

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