Show mini-resolver for messages

If work profile is enabled, then show the mini-resolver UI instead
of the dialog. We keep the dialog for the case when the work profile
is turned off, or messages app is not installed.

Test: Manually tested
Test: btest CtsDevicePolicySimTestCases
Bug: 271819927
Change-Id: I50e6b5bb802734cc121e1f15527b8bcd4c562dfa
2 files changed