summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2014-03-21 01:09:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-21 01:09:33 +0000
commit71060db65e0e1c903b429c932cd6e27beec10a3e (patch)
treeabd86b428922426435902c10cd3092d83e28d6c0
parent935d417b5615a62bc521a8eb58c35de1b4fdf841 (diff)
parentdffdf1079da76f532cd6e72bf537c1a69b099c7e (diff)
downloadframeworks_base-71060db65e0e1c903b429c932cd6e27beec10a3e.zip
frameworks_base-71060db65e0e1c903b429c932cd6e27beec10a3e.tar.gz
frameworks_base-71060db65e0e1c903b429c932cd6e27beec10a3e.tar.bz2
am dffdf107: Merge "UsbDeviceManager: A better fix for race condition when starting USB accessory mode" into klp-dev
* commit 'dffdf1079da76f532cd6e72bf537c1a69b099c7e': UsbDeviceManager: A better fix for race condition when starting USB accessory mode
-rw-r--r--services/java/com/android/server/usb/UsbDeviceManager.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/java/com/android/server/usb/UsbDeviceManager.java b/services/java/com/android/server/usb/UsbDeviceManager.java
index 8a5e291..bb61e49 100644
--- a/services/java/com/android/server/usb/UsbDeviceManager.java
+++ b/services/java/com/android/server/usb/UsbDeviceManager.java
@@ -538,7 +538,6 @@ public class UsbDeviceManager {
if (mConfigured && enteringAccessoryMode) {
// successfully entered accessory mode
- mAccessoryModeRequestTime = 0;
if (mAccessoryStrings != null) {
mCurrentAccessory = new UsbAccessory(mAccessoryStrings);