commit | df0b4cc334f81b6ee885da059bd83c7104c8c490 | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Mon Feb 24 15:12:43 2020 -0800 |
committer | Malcolm Chen <refuhoo@google.com> | Wed Mar 11 19:54:32 2020 -0700 |
tree | 364671ec20f5b32a3d113d4e5aacf6d0da4714fe | |
parent | efafd1c8d4d4396dc02a8279848cdbef9e8705a8 [diff] |
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 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