mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Use translation shift setter when showing AllApps without animation.
The no-animation case used to be handled immediately upon inflating the view, so we got away with reassigning the field to TRANSLATION_SHIFT_OPENED directly. Since this happens in post of a handler, we need to instead use the setter so that a relayout happens. Test: Manual Fix: 324268840 Flag: N/A Change-Id: I089f15a8d64e0d22885ae387679214a540790ad0
This commit is contained in:
@@ -96,7 +96,7 @@ public class TaskbarAllAppsSlideInView extends AbstractSlideInView<TaskbarOverla
|
||||
mAllAppsCallbacks.onAllAppsTransitionStart(true);
|
||||
if (!animate) {
|
||||
mAllAppsCallbacks.onAllAppsTransitionEnd(true);
|
||||
mTranslationShift = TRANSLATION_SHIFT_OPENED;
|
||||
setTranslationShift(TRANSLATION_SHIFT_OPENED);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user