commit | 0c34d259a045de6ad74818bf18a636273b1c1a4a | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Tue Jun 15 13:34:11 2021 -0700 |
committer | Kevin Chyn <kchyn@google.com> | Tue Jun 15 20:57:26 2021 -0700 |
tree | 3e975d2bb575e278b241ee50dce155e4dd048c3e | |
parent | fc19953d289c65a342c098be9f89d9220370693f [diff] |
Show biometric-specific dialog when appropriate 1) We need to pass a "restriction" string from settings to the dialog, otherwise the biometric dialog could be shown in non-biometric flows 2) Updates ActionDisabledByAdminDialogHelper to pass the restrition to be taken into consideration when creating the controller 3) Sets an optional onClickListener on the positive button. Bug: 5788943 Test: atest ParentalControlsUtilsTest Change-Id: Iedff7fef50e186b2779f061f37d3080c910d2179