Pass the context for the calling user to DevicePolicyManager when checking for the Device Owner.

On Headless System User Mode, the Device Owner is not guaranteed to be on the system user, therefore this check fails

Bug: 329872452
Test: atest DeviceOwnerTest#testHardwarePropertiesManagerAsDeviceOwner
Change-Id: Ia8a3e70c726646b245175c85c920cb948ebcc380
1 file changed