diff options
| author | 2022-04-08 15:58:58 +0900 | |
|---|---|---|
| committer | 2022-08-30 11:21:59 +0200 | |
| commit | fa8c01786a8542506908b2dba3b8e110e965d0e5 (patch) | |
| tree | 8cc28cfda7dee34453336d8134729fb53543a9ae /libs/androidfw/StringPool.cpp | |
| parent | a4d60be743ed8dee7f296ce0facc4a1ecc4d6998 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions