Ignore clicks on developer switch UI during monkey test
Change-Id: I10c4771386bb38e117848da385090dec78e4a2f8 Fix: 63852950 Test: robotests
This commit is contained in:
@@ -630,6 +630,9 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
|
||||
return;
|
||||
}
|
||||
|
||||
if (Utils.isMonkeyRunning()) {
|
||||
return;
|
||||
}
|
||||
mSwitchBar.addOnSwitchChangeListener(this);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user