mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-05 21:07:49 +01:00
Fix focus bug with image view cycling focusability.
This commit is contained in:
@@ -292,6 +292,10 @@ public final class AvatarImageView extends AppCompatImageView {
|
||||
}
|
||||
|
||||
public void disableQuickContact() {
|
||||
if (listener == null && !isClickable() && !hasOnClickListeners()) {
|
||||
return;
|
||||
}
|
||||
|
||||
super.setOnClickListener(listener);
|
||||
setClickable(listener != null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user