Fix a bug that the uid in getCarrierPrivilegeStatus(int uid) is not used.

The specified subId is not used when checking against carrier config.
Instead, we always use getCallingUid() which is incorrect.

Bug: 149077541
Bug: 153357164
Test: manual - use a test app that calls getCarrierPrivilegeStatus(int uid)
and verify via log that uid is used to evaluate carrier privilege
on carrier config.

Change-Id: I8d8277e86484d07582db6950360eec23bfbd06ae
Merged-In: I8d8277e86484d07582db6950360eec23bfbd06ae
1 file changed