Loading
Bugfix: Dock events can have state greater than 1
On Samsung devices the USB audio is being routed for every dock event It is ignoring the checkbox (in advanced settings) to not route audio This bug was introduced with this patch http://review.cyanogenmod.com/#/c/24830/ The state of an event can be 2 or 4 depending on the dock type This patch switches for looking for state > 0 rather than state ==1 Change-Id: I978d18ec36e74e821a6d300136377158901cdf50