Merge "Enforce permission check in getUidStats function" into rvc-dev