Merge "Remove setForeground API." into sc-dev