Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fa8c0178 authored by Kazutaka Murai's avatar Kazutaka Murai Committed by Snild Dolkow
Browse files

Hide contaminant dialog "Enable USB" button if not supported

The actual hardware functionality of "Enable USB" depends on USB HAL
capability when Contaminant Detection UI is activated.
When the port does not support enabling/disabling contaminant detection,
the button has no effect other than showing a toast falsely claiming
that USB was enabled.

"Enable USB" should be disabled when USB HAL doesn't support it.

Test: manual; button gone on device lacking disable-detect support
Change-Id: Ib45eef13129f31d5a9d254278ad3c5c3f01db933
parent a4d60be7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment