Verifying that new applications are added and fixing issue with new items getting wrong ids.
- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
This commit is contained in:
1 parent
9c0565fe93
commit
c763c4e4d2
7 files changed
+299
-165
No files matched your search
@@ -1330,7 +1330,13 @@ public class Workspace extends SmoothPagedView
|
||||
progress = Math.max(0, progress);
|
||||
|
||||
setBackgroundAlpha(progress * 0.8f);
|
||||
float transY = progress * (getViewportHeight() - getPageIndicator().getTop());
|
||||
float height = getViewportHeight();
|
||||
if (getPageIndicator() != null) {
|
||||
height -= getPageIndicator().getTop();
|
||||
} else if (mLauncher.getHotseat() != null) {
|
||||
height -= mLauncher.getHotseat().getTop();
|
||||
}
|
||||
float transY = progress * height;
|
||||
|
||||
if (mLauncher.getHotseat() != null) {
|
||||
mLauncher.getHotseat().setTranslationY(transY);
|
||||
|
||||
Reference in new issue
Block a user