Files
Flexera-Launcher/quickstep/src/com/android/launcher3/taskbar/TaskbarDesktopExperienceFlags.kt
T
Ajinkya Chalke c19475ceef Update taskbar flags to use DesktopExperienceFlag
- Had previously incorrectly used DesktopModeFlags instead.

Bug: 407954660
Test: m
Flag: EXEMPT updating flags
Change-Id: Id486dfecdb97e70a7ee497b2076ddda1f7355b7d
2025-04-10 05:26:31 +00:00

39 lines
1.3 KiB
Kotlin

/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.taskbar
import android.window.DesktopExperienceFlags.DesktopExperienceFlag
import com.android.launcher3.Flags
object TaskbarDesktopExperienceFlags {
@JvmField
val enableAltTabKqsOnConnectedDisplays: DesktopExperienceFlag =
DesktopExperienceFlag(
Flags::enableAltTabKqsOnConnectedDisplays,
/* shouldOverrideByDevOption= */ false,
Flags.FLAG_ENABLE_ALT_TAB_KQS_ON_CONNECTED_DISPLAYS,
)
@JvmField
val enableAltTabKqsFlatenning: DesktopExperienceFlag =
DesktopExperienceFlag(
Flags::enableAltTabKqsFlatenning,
/* shouldOverrideByDevOption= */ false,
Flags.FLAG_ENABLE_ALT_TAB_KQS_FLATENNING,
)
}