Fix "max failed login attempts" disclosure
Among other things, the managed device info page informs the user when
their administrator sets the "max failed login attempts" policy. This
disclosure does not show up when set by the Device Owner right now
because the code expects it to have been set by a Profile Owner.
This was a regression introduced by ag/2039754.
Bug: 63696536
Test: CTSVerifier: Managed Provisioning > Device Owner Tests >
Test: Managed device info tests > Wipe on authentication failure
Change-Id: I5c53f325a1acfb98c72178ac9dab78f18f714c51
4 files changed