Merge "Disable hinge sensor while the screen is off" into tm-qpr-dev