Fix BP face icon being clickable with no action
Prevent BP face icon from being clicked when there is no action for it. Prevents talkback, voice access, and switch access prompting interactions. Fixes: 289009872 Fixes: 289013029 Fixes: 289012229 Test: Tested manually following steps in b/289009872 Change-Id: Ica37af0839127bc3846afde5db04f013302c122c
This commit is contained in:
@@ -305,6 +305,10 @@ object BiometricViewBinder {
|
||||
.collect { onClick ->
|
||||
iconViewOverlay.setOnClickListener(onClick)
|
||||
iconView.setOnClickListener(onClick)
|
||||
if (onClick == null) {
|
||||
iconViewOverlay.isClickable = false
|
||||
iconView.isClickable = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user