Merge "sdm: Update layer parameters based on panel orientation"