Merge commit 'ebb0b03e170b724e04a0d44bfd1ccb02452f5f57' * commit 'ebb0b03e170b724e04a0d44bfd1ccb02452f5f57': Prepare for a new IActivityController method.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 + ")");
|
||||||
|
|||||||
Reference in New Issue
Block a user