Don't use UserInfo() ContactsProvider test

UserInfo now has a mandatory userType field. This test suite was
creating a UserInfo via the no-argument constructor, and therefore
wasn't setting a userType. We therefore use a different constructor that
sets the userType (based on the flags).

Fixes: 144948105
Fixes: 144948002
Fixes: 144948940
Fixes: 144948801
Fixes: 144948802
Test: atest ContactsProviderTests:com.android.providers.contacts.ContactsProvider2Test
Test: atest com.android.providers.contacts.util.UserUtilsTest
Change-Id: I0fde2b2303a0d1b2a1d40bfe37480df6eeca61af
1 file changed