Merge "Add getPhoneCapability function"