https://github.com/mozilla/gecko-dev
Revision 77a57511e02bac2361587f24e36688107f239c30 authored by Dave Hylands on 27 May 2014, 22:47:26 UTC, committed by Dave Hylands on 27 May 2014, 22:47:26 UTC
If the USB cable is pulled after we call SetIsSharing(true) but before we actually initiate the
sharing operation, then the volume doesn't change state, and mIsSharing never gets set back to
false. So we detect this condition now and force mIsSharing to be false when the USB cable is
unplugged.
1 parent 55637c3
History
Tip revision: 77a57511e02bac2361587f24e36688107f239c30 authored by Dave Hylands on 27 May 2014, 22:47:26 UTC
Bug 1015006 - Detect USB cable unplugged and set sharing to false. r=qDot
Tip revision: 77a5751

README.txt

back to top