Merge "Ensure MediaSession2Record is initialized before used" into sc-dev