Allow access to restored messages from work profile.

If SIM association policy is not set, then allow work profile to access
backup & restore messages from another device.

Bug: 279875671
Test: Manually sending/receiving SMS/MMS,
atest com.android.providers.telephony.SmsProviderTest,
atest com.android.providers.telephony.MmsProviderTest,
atest com.android.providers.telephony.ProviderUtilTest,
atest CtsTelephonyProviderTestCases,
atest CtsTelephonyTestCases

Change-Id: If5aab48d8fe168d2f91ecfd0876b3c40ce9124c6
1 file changed