Merge "Bubbling up setNightMode and setLocationMode."