OSDN Git Service

Rename ro.monkey to monkey.running
authorYing Wang <wangying@google.com>
Mon, 4 Jan 2010 19:56:24 +0000 (11:56 -0800)
committerYing Wang <wangying@google.com>
Mon, 4 Jan 2010 19:56:24 +0000 (11:56 -0800)
So that Monkey can set ro.mokey before running and reset it after running.

core/java/android/accounts/AccountManagerService.java

index 800ad74..e312ac1 100644 (file)
@@ -152,7 +152,7 @@ public class AccountManagerService
             new AtomicReference<AccountManagerService>();
 
     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[]{};