setAndWaitForOrientationPortrait
Set the orientation to portrait and wait for the activity configuration change to complete. Do nothing, if the orientation is already in portrait.
Parameters
setOrientationPortrait
The function to set the orientation to portrait.