mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
[Predictive Back] Recover taskbar all apps scale to 1f with animation if user swipe back within search [3/n]
Fix: 327490078 Flag: aconfig com.android.launcher3.enable_predictive_back_gesture TEAMFOOD Test: manual Change-Id: Iab1de455bf23d73b34f4a0d60f7e7a143bd028d1
This commit is contained in:
@@ -267,7 +267,11 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla
|
||||
|
||||
@Override
|
||||
public void onBackInvoked() {
|
||||
if (!mAllAppsCallbacks.handleSearchBackInvoked()) {
|
||||
if (mAllAppsCallbacks.handleSearchBackInvoked()) {
|
||||
// We need to scale back taskbar all apps if we navigate back within search inside all
|
||||
// apps
|
||||
animateSlideInViewToNoScale();
|
||||
} else {
|
||||
super.onBackInvoked();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user