From 08fa1428eed52083789dc3b366aea4873199bd37 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Mon, 4 Jan 2010 11:56:24 -0800 Subject: [PATCH] Rename ro.monkey to monkey.running So that Monkey can set ro.mokey before running and reset it after running. --- core/java/android/accounts/AccountManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/accounts/AccountManagerService.java b/core/java/android/accounts/AccountManagerService.java index 800ad749335a2..e312ac1d6c19c 100644 --- a/core/java/android/accounts/AccountManagerService.java +++ b/core/java/android/accounts/AccountManagerService.java @@ -152,7 +152,7 @@ public class AccountManagerService new AtomicReference(); private static final boolean isDebuggableMonkeyBuild = - SystemProperties.getBoolean("ro.monkey", false) + SystemProperties.getBoolean("monkey.running", false) && SystemProperties.getBoolean("ro.debuggable", false); private static final Account[] EMPTY_ACCOUNT_ARRAY = new Account[]{};