Still use ro.monkey

http://b/issue?id=1681101
So just some refactoring.
This commit is contained in:
Ying Wang
2010-01-04 18:45:10 -08:00
parent 50cb76f585
commit a718832e28
5 changed files with 19 additions and 19 deletions

View File

@@ -61,9 +61,7 @@ public class MediaFormat extends Activity {
private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() {
public void onClick(View v) {
// Those monkeys kept committing suicide, so we add this property
// to disable going through with the format
if (!TextUtils.isEmpty(SystemProperties.get("monkey.running"))) {
if (Utils.isMonkeyRunning()) {
return;
}
IMountService service =