Merge "Determine rear display status only based on device states" into udc-dev