Removed restriction getPackagesForUid