Merge changes I6a842810,I1f43ec2c into main

* changes:
  Use top sched group for apps in split screen
  Move abstraction of activity priority calculation