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

Commit 2c0d52e7 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Disable clicks on buttons without actions

Test: navigate on lock screen with usb keyboard
Change-Id: I5cb6a605a3fca956c0f3148cdcee4807fb23f186
Fixes: 73718973
parent 265b11ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -182,6 +182,7 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
            }
            }
            button.setCompoundDrawables(iconDrawable, null, null, null);
            button.setCompoundDrawables(iconDrawable, null, null, null);
            button.setOnClickListener(this);
            button.setOnClickListener(this);
            button.setClickable(pendingIntent != null);
        }
        }


        // Removing old views
        // Removing old views