add shadow support for Activity.isTaskRoot
Merge pull request #608 from adennie/activity-istaskroot

add shadow support for Activity.isTaskRoot