From 0bbf640c18a1316e7921869cb9e87d2df3e1b745 Mon Sep 17 00:00:00 2001 From: Chandru S Date: Wed, 2 Aug 2023 11:45:17 -0700 Subject: [PATCH] Remove code that was added to disable the views for udc-dev `udc-dev` didn't have the CL that hid the message views when the feature flag is disabled. This change is not needed in udc-qpr-dev Bug: 236891644 Test: verified manually 1. enable feature flag, see new messages 2. disable feature flag, see old messages 3. Enable layout bounds in developer options, and see that the views are not in the layout when feature flag is disabled Change-Id: I9ce0fe29284cbeea8dbad13f74c27af987facf59 --- .../src/com/android/systemui/bouncer/ui/BouncerMessageView.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/bouncer/ui/BouncerMessageView.kt b/packages/SystemUI/src/com/android/systemui/bouncer/ui/BouncerMessageView.kt index 47fac2b4269dd..648680293e3d8 100644 --- a/packages/SystemUI/src/com/android/systemui/bouncer/ui/BouncerMessageView.kt +++ b/packages/SystemUI/src/com/android/systemui/bouncer/ui/BouncerMessageView.kt @@ -41,8 +41,6 @@ class BouncerMessageView : LinearLayout { super.onFinishInflate() primaryMessageView = findViewById(R.id.bouncer_primary_message_area) secondaryMessageView = findViewById(R.id.bouncer_secondary_message_area) - primaryMessageView?.disable() - secondaryMessageView?.disable() } fun init(factory: KeyguardMessageAreaController.Factory) {