Remove usage of the enableBubbleBarInPersistentTaskBar flag.
Remove and merge the usage of the enableBubbleBarInPersistentTaskBar flag to the enableBubbleBar flag. Bug: 383181643 Flag: com.android.wm.shell.enable_bubble_bar Test: NONE - removed and merged flag usage. Change-Id: I4f131e1ddf8367425b91c8fb597857ee222b75d8
This commit is contained in:
@@ -90,7 +90,6 @@ import com.android.launcher3.util.MultiTranslateDelegate;
|
||||
import com.android.launcher3.util.MultiValueAlpha;
|
||||
import com.android.quickstep.util.GroupTask;
|
||||
import com.android.systemui.shared.recents.model.Task;
|
||||
import com.android.wm.shell.Flags;
|
||||
import com.android.wm.shell.shared.bubbles.BubbleBarLocation;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
@@ -303,8 +302,7 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
|
||||
/** Returns whether taskbar should be moved on the bubble bar location update. */
|
||||
private boolean shouldMoveTaskbarOnBubbleBarLocationUpdate() {
|
||||
return Flags.enableBubbleBarInPersistentTaskBar()
|
||||
&& mControllers.bubbleControllers.isPresent()
|
||||
return mControllers.bubbleControllers.isPresent()
|
||||
&& mActivity.shouldStartAlignTaskbar()
|
||||
&& mActivity.isThreeButtonNav();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user