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:
@@ -33,7 +33,6 @@ import static com.android.launcher3.testing.shared.ResourceUtils.INVALID_RESOURC
|
||||
import static com.android.launcher3.testing.shared.ResourceUtils.pxFromDp;
|
||||
import static com.android.launcher3.testing.shared.ResourceUtils.roundPxValueFromFloat;
|
||||
import static com.android.wm.shell.Flags.enableBubbleBar;
|
||||
import static com.android.wm.shell.Flags.enableBubbleBarInPersistentTaskBar;
|
||||
import static com.android.wm.shell.Flags.enableTinyTaskbar;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
@@ -2433,7 +2432,6 @@ public class DeviceProfile {
|
||||
*/
|
||||
public boolean shouldAdjustHotseatOnNavBarLocationUpdate(Context context) {
|
||||
return enableBubbleBar()
|
||||
&& enableBubbleBarInPersistentTaskBar()
|
||||
&& !DisplayController.getNavigationMode(context).hasGestures;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user