Merge "Use dimming ratio when detecting hdr type for local TMO" into main