Merge "Add tests for AppOpsService foreground location" into qt-dev