Merge "sdm: Adjust the split if a horizontal flip is present"