Make canAddPrivateProfile a test api

Bug: 290333800

Change-Id: I42ceaaf7bfaf08eeaa0aee497ae6094908e95e96
2 files changed