Rename ro.monkey to monkey.running
So that Monkey can set it before running and reset it after running.
diff --git a/src/com/android/settings/MasterClear.java b/src/com/android/settings/MasterClear.java
index 38ad608..6cd8ad3 100644
--- a/src/com/android/settings/MasterClear.java
+++ b/src/com/android/settings/MasterClear.java
@@ -60,13 +60,13 @@
*/
private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() {
public void onClick(View v) {
-
+
// Those monkeys kept committing suicide, so we add this property
// to disable going through with the master clear
- if (!TextUtils.isEmpty(SystemProperties.get("ro.monkey"))) {
+ if (!TextUtils.isEmpty(SystemProperties.get("monkey.running"))) {
return;
}
-
+
ICheckinService service =
ICheckinService.Stub.asInterface(ServiceManager.getService("checkin"));
if (service != null) {