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

Commit b84189dd authored by AdrianDC's avatar AdrianDC Committed by Adrian DC
Browse files

Settings: adapt lock screen visualizer toggle



 * Do not show the Visualizer toggle for Screen lock : None
 * Show the Visualizer toggle for Screen lock : Swipe
 * Add a missing key field (Screen lock : Swipe)

Change-Id: I460693201142f0d7d5eb34dea91f4f5db33a00d4
Signed-off-by: default avatarAdrianDC <radian.dc@gmail.com>
parent d73745da
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -39,12 +39,18 @@
            android:summary="@string/owner_info_settings_summary"/>

        <PreferenceScreen
            android:key="lockscreen_shortcuts_settings"
            android:title="@string/lockscreen_targets_message" >
            <intent
                android:targetPackage="com.android.systemui"
                android:targetClass="com.android.systemui.cm.LockscreenShortcutsActivity" />
        </PreferenceScreen>

        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
            android:key="lockscreen_visualizer"
            android:title="@string/lockscreen_visualizer_title"
            android:defaultValue="true"/>

    </PreferenceCategory>

</PreferenceScreen>
+0 −5
Original line number Diff line number Diff line
@@ -49,11 +49,6 @@
                android:targetClass="com.android.systemui.cm.LockscreenShortcutsActivity" />
        </PreferenceScreen>

        <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference
            android:key="lockscreen_visualizer"
            android:title="@string/lockscreen_visualizer_title"
            android:defaultValue="true"/>

    </PreferenceCategory>

</PreferenceScreen>