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_KEYGUARD_BOTTOM_AREA_REFACTOR 21 import com.android.systemui.Flags.FLAG_KEYGUARD_WM_STATE_REFACTOR 22 import com.android.systemui.Flags.FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT 23 import com.android.systemui.Flags.FLAG_NOTIFICATION_AVALANCHE_THROTTLE_HUN 24 import com.android.systemui.Flags.FLAG_PREDICTIVE_BACK_SYSUI 25 import com.android.systemui.Flags.FLAG_SCENE_CONTAINER 26 27 /** 28 * This includes @[EnableFlags] to work with [SetFlagsRule] to enable all aconfig flags required by 29 * that feature. It is also picked up by [SceneContainerRule] to set non-aconfig prerequisites. 30 */ 31 @EnableFlags( 32 FLAG_KEYGUARD_BOTTOM_AREA_REFACTOR, 33 FLAG_KEYGUARD_WM_STATE_REFACTOR, 34 FLAG_MIGRATE_CLOCKS_TO_BLUEPRINT, 35 FLAG_NOTIFICATION_AVALANCHE_THROTTLE_HUN, 36 FLAG_PREDICTIVE_BACK_SYSUI, 37 FLAG_SCENE_CONTAINER, 38 ) 39 @Retention(AnnotationRetention.RUNTIME) 40 @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) 41 annotation class EnableSceneContainer 42