mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Revert "Listen for hover events over stashed taskbar."
This reverts commit c5882bcdfc.
Reason for revert: b/281068877
Change-Id: I431678658fc464c995df0df5e3cac5491d91b052
This commit is contained in:
committed by
Android (Google) Code Review
parent
c5882bcdfc
commit
c27605099c
@@ -856,18 +856,15 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
/**
|
||||
* Creates and starts a partial unstash animation, hinting at the new state that will trigger
|
||||
* when long press is detected.
|
||||
*
|
||||
* @param animateForward Whether we are going towards the new unstashed state or returning to
|
||||
* the stashed state.
|
||||
* @param forceUnstash Whether we force the unstash hint to animate.
|
||||
*/
|
||||
protected void startUnstashHint(boolean animateForward, boolean forceUnstash) {
|
||||
public void startUnstashHint(boolean animateForward) {
|
||||
if (!isStashed()) {
|
||||
// Already unstashed, no need to hint in that direction.
|
||||
return;
|
||||
}
|
||||
// TODO(b/270395798): Clean up after removing long-press unstashing code path.
|
||||
if (!canCurrentlyManuallyUnstash() && !forceUnstash) {
|
||||
if (!canCurrentlyManuallyUnstash()) {
|
||||
// If any other flags are causing us to be stashed, long press won't cause us to
|
||||
// unstash, so don't hint that it will.
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user