Don't show "unified challenge" for profile with non-shareable credential
The terms "unified challenge" and "separate challenge" apply only in the
context of a profile whose credential is shareable with its parent. It
is possible for a profile's credential to not be shareable with its
parent. Update TrustManagerService's dump method to not show "profile
with unified challenge" for such profiles. To make this possible, also
add a new method LockPatternUtils#isProfileWithUnifiedChallenge().
Bug: 296464083
Test: dumpsys trust
Flag: exempt, just changes dumpsys
Change-Id: I52a5c68633b3be969863c10cd1740f700af9cc07
2 files changed