Merge "Adding an api for apps to check whether they can install apps"