Merge "Add an API for setting a new brightness curve."