Prepare for a new IActivityController method.
Change-Id: I30823fe0c06aef35a2773760ec938e7979cd1037
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