Rename ro.monkey to monkey.running

So that Monkey can set ro.mokey before running and reset it after running.
This commit is contained in:
Ying Wang
2010-01-04 11:56:24 -08:00
parent eb5ffc239b
commit 08fa1428ee

View 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[]{};