cmsdk: @hide everything relating to ProfileGroups, until complete.

Change-Id: Ic1ad2183bd6cdbf5d3bb5a8ac6d2d14199073c98
This commit is contained in:
Adnan Begovic 2015-07-13 13:59:53 -07:00
parent 5c8fe31f73
commit 6f584468bc
2 changed files with 6 additions and 0 deletions

View File

@ -412,6 +412,7 @@ public final class Profile implements Parcelable, Comparable {
/** /**
* Add a {@link ProfileGroup} to the {@link Profile} * Add a {@link ProfileGroup} to the {@link Profile}
* @param profileGroup * @param profileGroup
* @hide
*/ */
public void addProfileGroup(ProfileGroup profileGroup) { public void addProfileGroup(ProfileGroup profileGroup) {
if (profileGroup.isDefaultGroup()) { if (profileGroup.isDefaultGroup()) {
@ -428,6 +429,7 @@ public final class Profile implements Parcelable, Comparable {
/** /**
* Remove a {@link ProfileGroup} with a given {@link UUID} * Remove a {@link ProfileGroup} with a given {@link UUID}
* @param uuid * @param uuid
* @hide
*/ */
public void removeProfileGroup(UUID uuid) { public void removeProfileGroup(UUID uuid) {
if (!profileGroups.get(uuid).isDefaultGroup()) { if (!profileGroups.get(uuid).isDefaultGroup()) {
@ -440,6 +442,7 @@ public final class Profile implements Parcelable, Comparable {
/** /**
* Get {@link ProfileGroup}s associated with the {@link Profile} * Get {@link ProfileGroup}s associated with the {@link Profile}
* @return {@link ProfileGroup[]} * @return {@link ProfileGroup[]}
* @hide
*/ */
public ProfileGroup[] getProfileGroups() { public ProfileGroup[] getProfileGroups() {
return profileGroups.values().toArray(new ProfileGroup[profileGroups.size()]); return profileGroups.values().toArray(new ProfileGroup[profileGroups.size()]);
@ -449,6 +452,7 @@ public final class Profile implements Parcelable, Comparable {
* Get a {@link ProfileGroup} with a given {@link UUID} * Get a {@link ProfileGroup} with a given {@link UUID}
* @param uuid * @param uuid
* @return a {@link ProfileGroup} * @return a {@link ProfileGroup}
* @hide
*/ */
public ProfileGroup getProfileGroup(UUID uuid) { public ProfileGroup getProfileGroup(UUID uuid) {
return profileGroups.get(uuid); return profileGroups.get(uuid);
@ -457,6 +461,7 @@ public final class Profile implements Parcelable, Comparable {
/** /**
* Get the default {@link ProfileGroup} associated with the {@link Profile} * Get the default {@link ProfileGroup} associated with the {@link Profile}
* @return the default {@link ProfileGroup} * @return the default {@link ProfileGroup}
* @hide
*/ */
public ProfileGroup getDefaultGroup() { public ProfileGroup getDefaultGroup() {
return mDefaultGroup; return mDefaultGroup;

View File

@ -528,6 +528,7 @@ public class ProfileManager {
* Get an active {@link ProfileGroup} via its package name * Get an active {@link ProfileGroup} via its package name
* @param packageName the package name associated to the profile group * @param packageName the package name associated to the profile group
* @return {@link ProfileGroup} * @return {@link ProfileGroup}
* @hide
*/ */
public ProfileGroup getActiveProfileGroup(String packageName) { public ProfileGroup getActiveProfileGroup(String packageName) {
NotificationGroup notificationGroup = getNotificationGroupForPackage(packageName); NotificationGroup notificationGroup = getNotificationGroupForPackage(packageName);