Fix work profile record initialization.

Change the work pforifle field into a lazy initialization delegate; use
it as a single source for the work profile user handle value to avoid
getWorkProfileUserHandle/fetchWorkProfileUserHandle confusion.

Test: manual test
Test: atest IntentResolverUnitTests
Change-Id: I66e8b22dc7e7f355d964593f383d6a7c5d5827c3
1 file changed