Fix the NPE when reading the call log or SMS if a device has multiple user profiles

Change-Id: Iec6485653367f2f005c2b7e17f23ab611e39e13b
Bug: 148918224
Test: atest com.android.server.people.data.DataManagerTest
2 files changed