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

Commit fdc97e0c authored by Adnan's avatar Adnan Committed by Adnan Begovic
Browse files

Settings: Remove security preferences from lockscreen options.

    - Since we merged all security xml's, the container is now populated
    with preferences that we don't need within lockscreen security options.
    This patch removes the preferences.

Change-Id: I590df9293f293aa9048ce4c58813f449d88867b4
parent 2cdb01ee
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -89,8 +89,6 @@ public class LockscreenSecuritySettings extends RestrictedSettingsFragment
        if (root != null) {
            root.removeAll();
        }
        addPreferencesFromResource(R.xml.security_settings);
        root = getPreferenceScreen();

        // Add package manager to check if features are available
        PackageManager pm = getPackageManager();
@@ -127,6 +125,7 @@ public class LockscreenSecuritySettings extends RestrictedSettingsFragment
            }
        }
        addPreferencesFromResource(resid);
        root = getPreferenceScreen();

        // lock after preference
        mLockAfter = (ListPreference) root.findPreference(KEY_LOCK_AFTER_TIMEOUT);