Merge "fix the permission check crash in statsd."