Merge "Adding a cache variable for ActivityManagerInternal."