Preventing overdraw in custom content screen
> Assuming customcontent screen is opaque, setting scrim alpha to 0 when the screen is fully visible Bug: 21584384 Change-Id: Ifa95a10d880532f59573090673e90a87c7edba9b
This commit is contained in:
@@ -1620,7 +1620,7 @@ public class Workspace extends PagedView
|
||||
// We should only update the drag layer background alpha if we are not in all apps or the
|
||||
// widgets tray
|
||||
if (mState == State.NORMAL) {
|
||||
mLauncher.getDragLayer().setBackgroundAlpha(progress * 0.8f);
|
||||
mLauncher.getDragLayer().setBackgroundAlpha(progress == 1 ? 0 : progress * 0.8f);
|
||||
}
|
||||
|
||||
if (mLauncher.getHotseat() != null) {
|
||||
|
||||
Reference in New Issue
Block a user