diff --git a/core/java/android/accounts/AccountManagerService.java b/core/java/android/accounts/AccountManagerService.java index 54e037592b476..fc72f9a3f083c 100644 --- a/core/java/android/accounts/AccountManagerService.java +++ b/core/java/android/accounts/AccountManagerService.java @@ -155,7 +155,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[]{};