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

Commit 8399c96d authored by LuK1337's avatar LuK1337
Browse files

LineageParts: Reenable system profiles

Change-Id: I8485c5aa3f90c99df5bb1affbf104b0483667c93
parent 900ce621
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -245,14 +245,12 @@ public class SetupActionsFragment extends SettingsPreferenceFragment
        mItems.add(new AirplaneModeItem(mProfile.getAirplaneMode()));
        DevicePolicyManager dpm = (DevicePolicyManager) getSystemService(
                Context.DEVICE_POLICY_SERVICE);
/*
        if (!dpm.requireSecureKeyguard()) {
            mItems.add(new LockModeItem(mProfile));
        } else {
            mItems.add(new DisabledItem(R.string.profile_lockmode_title,
                    R.string.profile_lockmode_policy_disabled_summary));
        }
*/
        mItems.add(new BrightnessItem(mProfile.getBrightness()));

        final Activity activity = getActivity();