Avoid locking PMS when printing from DomainVerificationService

Passes in a String -> PackageSetting function rather than calling into
PackageManagerService directly and potentially taking the locked
computer.

Note that this change itself does not prevent locking, just allows that
change to be made.

Bug: 179461758

Test: builds, mostly debug functionality

Change-Id: Ib9172e797edd26c5cd8621c16e2e06181e9b91a4
4 files changed