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:
1 parent
5f5b1a3f56
commit
3e419ebbf1
7 files changed
+10
-26
No files matched your search
@@ -51,7 +51,6 @@ import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_S
|
||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_SHORTCUT_HELPER_SHOWING;
|
||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_VOICE_INTERACTION_WINDOW_SHOWING;
|
||||
import static com.android.window.flags.Flags.predictiveBackThreeButtonNav;
|
||||
import static com.android.wm.shell.Flags.enableBubbleBarInPersistentTaskBar;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.ArgbEvaluator;
|
||||
@@ -1348,8 +1347,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
|
||||
|| mNavButtonsView.getWidth() == 0) {
|
||||
return;
|
||||
}
|
||||
if (enableBubbleBarInPersistentTaskBar()
|
||||
&& mControllers.bubbleControllers.isPresent()) {
|
||||
if (mControllers.bubbleControllers.isPresent()) {
|
||||
if (mBubbleBarTargetLocation == null) {
|
||||
// only set bubble bar location if it was not set before
|
||||
mBubbleBarTargetLocation = mControllers.bubbleControllers.get()
|
||||
|
||||
Reference in new issue
Block a user