Merge "Remove isForegroundJob." into sc-dev