commit | 883c2a4bef51b3715999786df465124f54d06416 | [log] [tgz] |
---|---|---|
author | Badhri Jagan Sridharan <badhri@google.com> | Mon Apr 01 12:12:13 2019 -0700 |
committer | Badhri Jagan Sridharan <badhri@google.com> | Mon Apr 01 12:17:03 2019 -0700 |
tree | d1e15824ff25f80b520afbfbf05cfffc2ca55e3a | |
parent | ae9f6953adeb8f69bc095df3b84c9937d331dd11 [diff] |
Only re-enable contaminant detection when port is present Contaminant detection is re-enabled when the disconnected port's portStatus has contaminant detection disabled. During port removal, there is no reason why contamiant detection has to re-enabled since the port is anyways being teared down. Bug: 129696344 Test: dumpsys usb add-port "matrix" ufp; dumpsys usb remove-port "matrix" ufp Change-Id: Ie146db82d93414e90ee99b4d17ec0ba5ada2ce83