Skip to content

Commit

Permalink
cmsdk: @hide everything relating to ProfileGroups, until complete.
Browse files Browse the repository at this point in the history
Change-Id: Ic1ad2183bd6cdbf5d3bb5a8ac6d2d14199073c98
  • Loading branch information
Adnan Begovic committed Jul 13, 2015
1 parent 5c8fe31 commit 6f58446
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/java/cyanogenmod/app/Profile.java
Expand Up @@ -412,6 +412,7 @@ public int compareTo(Object obj) {
/**
* Add a {@link ProfileGroup} to the {@link Profile}
* @param profileGroup
* @hide
*/
public void addProfileGroup(ProfileGroup profileGroup) {
if (profileGroup.isDefaultGroup()) {
Expand All @@ -428,6 +429,7 @@ public void addProfileGroup(ProfileGroup profileGroup) {
/**
* Remove a {@link ProfileGroup} with a given {@link UUID}
* @param uuid
* @hide
*/
public void removeProfileGroup(UUID uuid) {
if (!profileGroups.get(uuid).isDefaultGroup()) {
Expand All @@ -440,6 +442,7 @@ public void removeProfileGroup(UUID uuid) {
/**
* Get {@link ProfileGroup}s associated with the {@link Profile}
* @return {@link ProfileGroup[]}
* @hide
*/
public ProfileGroup[] getProfileGroups() {
return profileGroups.values().toArray(new ProfileGroup[profileGroups.size()]);
Expand All @@ -449,6 +452,7 @@ public ProfileGroup[] getProfileGroups() {
* Get a {@link ProfileGroup} with a given {@link UUID}
* @param uuid
* @return a {@link ProfileGroup}
* @hide
*/
public ProfileGroup getProfileGroup(UUID uuid) {
return profileGroups.get(uuid);
Expand All @@ -457,6 +461,7 @@ public ProfileGroup getProfileGroup(UUID uuid) {
/**
* Get the default {@link ProfileGroup} associated with the {@link Profile}
* @return the default {@link ProfileGroup}
* @hide
*/
public ProfileGroup getDefaultGroup() {
return mDefaultGroup;
Expand Down
1 change: 1 addition & 0 deletions src/java/cyanogenmod/app/ProfileManager.java
Expand Up @@ -528,6 +528,7 @@ public NotificationGroup getNotificationGroup(UUID uuid) {
* Get an active {@link ProfileGroup} via its package name
* @param packageName the package name associated to the profile group
* @return {@link ProfileGroup}
* @hide
*/
public ProfileGroup getActiveProfileGroup(String packageName) {
NotificationGroup notificationGroup = getNotificationGroupForPackage(packageName);
Expand Down

0 comments on commit 6f58446

Please sign in to comment.