mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Merge "Ripple to header and button when click happens" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
c752dd032c
@@ -410,8 +410,10 @@ public class PrivateProfileManager extends UserProfileManager {
|
||||
private void addHeaderOnClickListener(RelativeLayout header) {
|
||||
if (getCurrentState() == STATE_DISABLED) {
|
||||
header.setOnClickListener(view -> lockingAction(/* lock */ false));
|
||||
header.setClickable(true);
|
||||
} else {
|
||||
header.setOnClickListener(null);
|
||||
header.setClickable(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user