Merge "Skip the permission dialog if the app is granted permissions" into sc-dev