Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76d0edfe authored by Andreas Oeldenberger's avatar Andreas Oeldenberger
Browse files

change ensureProfleGroup to ensureProfileGroup. probably just a typo.



Change-Id: Ife150cbb94d6e2f25e327861093d0e6ebe6acb6a
Signed-off-by: default avatarAndreas Oeldenberger <andreas.oeldenberger@gmail.com>
parent 4644507d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -66,12 +66,12 @@ public class Profile implements Parcelable {
    }

    /** @hide */
    public void ensureProfleGroup(String groupName) {
        ensureProfleGroup(groupName, false);
    public void ensureProfileGroup(String groupName) {
        ensureProfileGroup(groupName, false);
    }

    /** @hide */
    public void ensureProfleGroup(String groupName, boolean defaultGroup) {
    public void ensureProfileGroup(String groupName, boolean defaultGroup) {
        if (!profileGroups.containsKey(groupName)) {
            ProfileGroup value = new ProfileGroup(groupName, defaultGroup);
            addProfileGroup(value);
+3 −3
Original line number Diff line number Diff line
@@ -94,9 +94,9 @@ public class ProfileManagerService extends IProfileManager.Stub {
    public void addProfile(Profile profile) throws RemoteException {
        // Make sure this profile has all of the correct groups.
        for (NotificationGroup group : mGroups.values()) {
            profile.ensureProfleGroup(group.getName());
            profile.ensureProfileGroup(group.getName());
        }
        profile.ensureProfleGroup(
        profile.ensureProfileGroup(
                mContext.getString(com.android.internal.R.string.wildcardProfile), true);
        mProfiles.put(profile.getName(), profile);
    }
@@ -132,7 +132,7 @@ public class ProfileManagerService extends IProfileManager.Stub {
            // If the above is true, then the ProfileGroup shouldn't exist in
            // the profile. Ensure it is added.
            for (Profile profile : mProfiles.values()) {
                profile.ensureProfleGroup(group.getName());
                profile.ensureProfileGroup(group.getName());
            }
        }
    }