Merge "Add dump state information for layer brightness" into tm-dev