commit | ed9d461818780a6c38a081030a55983ea0883fa6 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Sun Sep 18 17:52:54 2011 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Sun Sep 18 17:52:54 2011 -0400 |
tree | 70a207eb039ba277870895904f4cb3e354dfb04f | |
parent | c57b135d560c2b23631083dde86b74463c036085 [diff] |
Fix race condition in MTP/PTP checkbox updating UsbManager.getDefaultFunction() might not return the updated state immediately after changing the USB configuration, so do not rely on it for updating after a checkbox has been clicked. Change-Id: I5ae8d46854f24403cda2c62e006c742dcd257d1d Bug: 5334777 Signed-off-by: Mike Lockwood <lockwood@android.com>