Merge "Alpha correction. mContentAlpha sometimes equals 0, changing to 1 ensures recents card always shows when supposed to" into ub-launcher3-master

This commit is contained in:
Sreyas Rangaraju authored and Android (Google) Code Review committed 2019-10-17 23:25:00 +00:00
commit 5a6eb2d5df
1 file changed
+3 -3
@@ -378,10 +378,10 @@ public class LauncherRecentsView extends RecentsView<Launcher> implements StateL
}
@Override
public void resetTaskVisuals() {
super.resetTaskVisuals();
public void setContentAlpha(float alpha) {
super.setContentAlpha(alpha);
if (mRecentsExtraViewContainer != null) {
mRecentsExtraViewContainer.setAlpha(mContentAlpha);
mRecentsExtraViewContainer.setAlpha(alpha);
}
}
}