Merge "Fix getMediaUri() bug on secondary devices." into qt-dev