CB-8079 use application package name instead of activity package name, because the application package name could be different from the activity package name