OSDN Git Service
(root)
/
android-x86
/
packages-apps-Launcher3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac85a6
)
Fix issue where custom content pops in (issue 11209357)
author
Adam Cohen
<adamcohen@google.com>
Mon, 14 Oct 2013 23:29:02 +0000
(16:29 -0700)
committer
Adam Cohen
<adamcohen@google.com>
Mon, 14 Oct 2013 23:42:10 +0000
(16:42 -0700)
Change-Id: Ibb40505ac25d59add0b405a1b2ac48a9778314d3
src/com/android/launcher3/Workspace.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/Workspace.java
b/src/com/android/launcher3/Workspace.java
index
da04162
..
908a61e
100644
(file)
--- a/
src/com/android/launcher3/Workspace.java
+++ b/
src/com/android/launcher3/Workspace.java
@@
-1446,6
+1446,12
@@
public class Workspace extends SmoothPagedView
}
if (Float.compare(progress, mLastCustomContentScrollProgress) == 0) return;
+
+ CellLayout cc = mWorkspaceScreens.get(CUSTOM_CONTENT_SCREEN_ID);
+ if (progress > 0 && cc.getVisibility() != VISIBLE && !isSmall()) {
+ cc.setVisibility(VISIBLE);
+ }
+
mLastCustomContentScrollProgress = progress;
setBackgroundAlpha(progress * 0.8f);