Merge "Grabs foreground activity's package name" into sc-dev