From 19ee5600d17902483b5fa46f6012f91b7e6e60f3 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Wed, 26 Apr 2023 10:21:51 -0700 Subject: [PATCH] Clean up async bouncer flag Fixes: 272091103 Test: builds properly and tests pass Change-Id: If8c1ba8869d1dc9d53827c36dfbd676e52f82d47 --- packages/SystemUI/src/com/android/systemui/flags/Flags.kt | 5 ----- .../keyguard/KeyguardSecurityContainerControllerTest.java | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt index e31834cef5b45..a4b9fb87657e1 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt @@ -202,11 +202,6 @@ object Flags { "wallpaper_picker_ui_for_aiwp" ) - /** Whether to inflate the bouncer view on a background thread. */ - // TODO(b/272091103): Tracking Bug - @JvmField - val ASYNC_INFLATE_BOUNCER = releasedFlag(229, "async_inflate_bouncer") - /** Whether to inflate the bouncer view on a background thread. */ // TODO(b/273341787): Tracking Bug @JvmField diff --git a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerControllerTest.java b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerControllerTest.java index f4df26dec89e2..8a05a37ad0dd7 100644 --- a/packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/keyguard/KeyguardSecurityContainerControllerTest.java @@ -682,8 +682,7 @@ public class KeyguardSecurityContainerControllerTest extends SysuiTestCase { } @Test - public void testReinflateViewFlipper_asyncBouncerFlagOn() { - when(mFeatureFlags.isEnabled(Flags.ASYNC_INFLATE_BOUNCER)).thenReturn(true); + public void testReinflateViewFlipper() { KeyguardSecurityViewFlipperController.OnViewInflatedCallback onViewInflatedCallback = controller -> { };