Merge "Use IServiceManager method to check app permission" into sc-dev