Fix blur in recents not applied in landscape

This commit is contained in:
Suphon Thanakornpakapong
2021-09-04 23:46:24 +07:00
parent 9ea62e4d13
commit c60dd7eea6
2 changed files with 11 additions and 9 deletions
@@ -214,12 +214,14 @@ public class DepthController implements StateHandler<LauncherState>,
}
}
private void setDepth(float depth) {
setDepth(depth, false);
public void reapplyDepth() {
LauncherState toState = mLauncher.getStateManager().getState();
float toDepth = toState.getDepth(mLauncher);
setDepth(toDepth, true);
}
public void reapplyDepth() {
setDepth(mDepth, true);
private void setDepth(float depth) {
setDepth(depth, false);
}
private void setDepth(float depth, boolean force) {