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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 + ")");
|
||||
|
||||
Reference in New Issue
Block a user