1 /*
2  * Copyright (C) 2024 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.systemui.flags
18 
19 import android.platform.test.annotations.EnableFlags
20 import com.android.systemui.Flags.FLAG_COMPOSE_LOCKSCREEN
21 import com.android.systemui.Flags.FLAG_DEVICE_ENTRY_UDFPS_REFACTOR
22 import com.android.systemui.Flags.FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR
23 import com.android.systemui.Flags.FLAG_KEYGUARD_WM_STATE_REFACTOR
24 import com.android.systemui.Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT
25 import com.android.systemui.Flags.FLAG_NOTIFICATIONS_HEADS_UP_REFACTOR
26 import com.android.systemui.Flags.FLAG_PREDICTIVE_BACK_SYSUI
27 import com.android.systemui.Flags.FLAG_SCENE_CONTAINER
28 
29 /**
30  * This includes @[EnableFlags] to work with [SetFlagsRule] to enable all aconfig flags required by
31  * that feature. It is also picked up by [SceneContainerRule] to set non-aconfig prerequisites.
32  */
33 @EnableFlags(
34     FLAG_COMPOSE_LOCKSCREEN,
35     FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR,
36     FLAG_KEYGUARD_WM_STATE_REFACTOR,
37     FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT,
38     FLAG_NOTIFICATIONS_HEADS_UP_REFACTOR,
39     FLAG_PREDICTIVE_BACK_SYSUI,
40     FLAG_SCENE_CONTAINER,
41     FLAG_DEVICE_ENTRY_UDFPS_REFACTOR,
42 )
43 @Retention(AnnotationRetention.RUNTIME)
44 @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS)
45 annotation class EnableSceneContainer
46