Merge "[ActivityManager] Use synchronized to protect object"