diff options
author | David Stevens <stevensd@google.com> | 2016-12-13 20:34:42 -0800 |
---|---|---|
committer | David Stevens <stevensd@google.com> | 2016-12-13 20:44:32 -0800 |
commit | 4f9e88a4afc7eb3e299b8a69c853f89077c86435 (patch) | |
tree | 914254df3599c29bd6b9a6e4e2c648315365ce6f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 41c4d3792b357eab4c4b54a6a62065e9b4fcc381 (diff) |
Exit accessory mode more aggressively
The debouncing of USB disconnects means that the disconnect caused
by resetting the connection without unplugging the device does not make
it to the handler, and thus doesn't exit accessory mode. Therefore we
must exit accessory mode even for connect events after we have left the
entering accessory mode state.
Test: Manual testing with desktop head unit
Change-Id: Ia028ff28783fa777a9f8bcd86b523d01f633a140
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions