am 5579e41c: Add op package to the UID special case handling in account manager.

* commit '5579e41c6f81bba1fc1e8cc53186957e287b5dad':
  Add op package to the UID special case handling in account manager.
This commit is contained in:
Svetoslav
2015-09-11 00:23:08 +00:00
committed by Android Git Automerger

View File

@@ -2607,6 +2607,7 @@ public class AccountManagerService
// be passed in the original caller's uid here, which is what should be used for filtering.
if (packageUid != -1 && UserHandle.isSameApp(callingUid, Process.myUid())) {
callingUid = packageUid;
opPackageName = callingPackage;
}
List<String> visibleAccountTypes = getTypesVisibleToCaller(callingUid, userId,