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:
@@ -152,7 +152,7 @@ public class AccountManagerService
|
|||||||
new AtomicReference<AccountManagerService>();
|
new AtomicReference<AccountManagerService>();
|
||||||
|
|
||||||
private static final boolean isDebuggableMonkeyBuild =
|
private static final boolean isDebuggableMonkeyBuild =
|
||||||
SystemProperties.getBoolean("ro.monkey", false)
|
SystemProperties.getBoolean("monkey.running", false)
|
||||||
&& SystemProperties.getBoolean("ro.debuggable", false);
|
&& SystemProperties.getBoolean("ro.debuggable", false);
|
||||||
private static final Account[] EMPTY_ACCOUNT_ARRAY = new Account[]{};
|
private static final Account[] EMPTY_ACCOUNT_ARRAY = new Account[]{};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user