Prevent thumbnails from shifting if placeholder view doesn't overlap
Always shift thumbnails when in phone mode.
Bug: 181705607
Test: Placeholder view didn't shift when no thumbnails underneath
it in portrait.
Change-Id: Ib2f066fdf17134b3f5bbd9b465b87868e9ce7583
diff --git a/src/com/android/launcher3/LauncherState.java b/src/com/android/launcher3/LauncherState.java
index 9d50edd..8432f4b 100644
--- a/src/com/android/launcher3/LauncherState.java
+++ b/src/com/android/launcher3/LauncherState.java
@@ -237,10 +237,10 @@
}
/**
- * For this state, how much additional vertical translation there should be for each of the
- * child TaskViews.
+ * For this state, how much additional translation there should be for each of the
+ * child TaskViews. Note that the translation can be its primary or secondary dimension.
*/
- public float getOverviewSecondaryTranslation(Launcher launcher) {
+ public float getSplitSelectTranslation(Launcher launcher) {
return 0;
}