Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 471b661c authored by Chandru S's avatar Chandru S
Browse files

Hide the new bouncer message views by default

They take up space in the layout even though we don't display any messages
The CL ag/23085660 that removes these views from layout when the flag is disabled couldn't be merged on time for the udc-dev cutoff

Fixes: 282890822
Test: verified manually, flashed the build, enabled layout bounds through dev options and don't see the new views on bouncer.
Change-Id: I90c3e325f01535fbc1edfe669d80541e901b6841
parent 2ba4c12b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ 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) {