Merge "p2p: only gate sensitive API by location settings" into qt-dev