OSDN Git Service

Disable USB connection type when monkeys are running.
authorAmith Yamasani <yamasani@google.com>
Tue, 27 Sep 2011 18:33:17 +0000 (11:33 -0700)
committerAmith Yamasani <yamasani@google.com>
Tue, 27 Sep 2011 18:33:17 +0000 (11:33 -0700)
commitae69755aa874dbac77e9874d9716ab891a144193
tree91a33f9fd43a0e9e22d38ffe48f0268954fb95e8
parent0e5fd21beb33a39b4254d4c8dd6b60c0939dbee0
Disable USB connection type when monkeys are running.

Bug: 5375336

Also use the correct API for testing if monkeys are running.
(ActivityManager.isUserAMonkey())

Bug: 5375910
Change-Id: I2bf8e061ee5977d521de197d3a92095c1a98218d
src/com/android/settings/Utils.java
src/com/android/settings/deviceinfo/UsbSettings.java