Merge "Fix double task bar" into main
This commit is contained in:
commit
ae637b60e0
1 file changed
+4
-3
@@ -331,9 +331,10 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
|
||||
applyState(/* duration = */ 0);
|
||||
|
||||
// Hide the background while stashed so it doesn't show on fast swipes home
|
||||
boolean shouldHideTaskbarBackground = enableScalingRevealHomeAnimation()
|
||||
&& DisplayController.isTransientTaskbar(mActivity)
|
||||
&& isStashed();
|
||||
boolean shouldHideTaskbarBackground = mActivity.isPhoneMode() ||
|
||||
(enableScalingRevealHomeAnimation()
|
||||
&& DisplayController.isTransientTaskbar(mActivity)
|
||||
&& isStashed());
|
||||
|
||||
mTaskbarBackgroundAlphaForStash.setValue(shouldHideTaskbarBackground ? 0 : 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user