Adding back screenshot test to Settings.

Test: atest SettingsScreenshotTests
Fixes: 307356833
Change-Id: I80b32cd40155d56e38d41d5f6d52e4c5d5ef715c
This commit is contained in:
Joshua Mccloskey
2023-10-18 15:38:23 +00:00
committed by Joshua McCloskey
parent 9718ae0aa9
commit 114fabf79d
7 changed files with 304 additions and 0 deletions

View File

@@ -186,6 +186,9 @@ class FingerprintEnrollIntroV2Fragment() : Fragment(R.layout.fingerprint_v2_enro
return view
}
/**
* TODO (b/305269201): This link isn't displaying for screenshot tests.
*/
private fun setFooterLink(view: View) {
val footerLink: TextView = view.requireViewById(R.id.footer_learn_more)
footerLink.movementMethod = LinkMovementMethod.getInstance()