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

Commit 312c4573 authored by Alexandra Gherghina's avatar Alexandra Gherghina
Browse files

Switch to using the new enabled flag in UserInfo

Bug: 14377459
Change-Id: Ief309477d964f1158087240ce24030335652d6a7
parent d2019d13
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -649,8 +649,7 @@ public class UserSettings extends RestrictedSettingsFragment
            } else if (user.isRestricted()) {
                pref.setSummary(R.string.user_summary_restricted_profile);
            } else if (user.isManagedProfile()) {
                // TODO: Change this to use the new flag
                if (true) {
                if (user.isEnabled()) {
                    pref.setSummary(R.string.user_summary_managed_profile);
                } else {
                    pref.setSummary(R.string.user_summary_managed_profile_not_enabled);