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
This commit is contained in:
Chandru S
2023-05-31 16:52:17 -07:00
parent 2ba4c12b83
commit 471b661c97

View File

@@ -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) {