am 0b38a944: am b6186d2b: am 4e2683a4: Merge "Fix issue where custom content would be invisible (issue 11644432)" into jb-ub-now-jolly-elf
* commit '0b38a9447a6e146132922ab18862b96534f3e968': Fix issue where custom content would be invisible (issue 11644432)
This commit is contained in:
@@ -2110,7 +2110,8 @@ public class Workspace extends SmoothPagedView
|
|||||||
if (stateIsSmall) {
|
if (stateIsSmall) {
|
||||||
finalAlpha = 0f;
|
finalAlpha = 0f;
|
||||||
} else if (stateIsNormal && mWorkspaceFadeInAdjacentScreens) {
|
} else if (stateIsNormal && mWorkspaceFadeInAdjacentScreens) {
|
||||||
finalAlpha = i == getNextPage() ? 1f : 0f;
|
|
||||||
|
finalAlpha = (i == getNextPage() || i < numCustomPages()) ? 1f : 0f;
|
||||||
} else {
|
} else {
|
||||||
finalAlpha = 1f;
|
finalAlpha = 1f;
|
||||||
}
|
}
|
||||||
@@ -2351,6 +2352,11 @@ public class Workspace extends SmoothPagedView
|
|||||||
final CellLayout cl = (CellLayout) getChildAt(i);
|
final CellLayout cl = (CellLayout) getChildAt(i);
|
||||||
cl.setShortcutAndWidgetAlpha(1f);
|
cl.setShortcutAndWidgetAlpha(1f);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
for (int i = 0; i < numCustomPages(); i++) {
|
||||||
|
final CellLayout cl = (CellLayout) getChildAt(i);
|
||||||
|
cl.setShortcutAndWidgetAlpha(1f);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
showCustomContentIfNecessary();
|
showCustomContentIfNecessary();
|
||||||
}
|
}
|
||||||
@@ -4568,6 +4574,7 @@ public class Workspace extends SmoothPagedView
|
|||||||
child.requestFocus();
|
child.requestFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
exitWidgetResizeMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user