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

Commit 66ed485e authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Adnan Begovic
Browse files

settings: hide qs tiles with sensitive data



This changes add an option to respect the new sensitive data flag of the QS tiles when
lockscreen is showing and lockscreen is secure.

Requires: topic:hide-qs-tiles

JIRA: CML-140
JIRA: BACON-3519
JIRA: CYAN-6720
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
Signed-off-by: default avatarAdnan Begovic <adnan@cyngn.com>

Change-Id: I940d2353f92d8c4724d5d3dcb9860aec1dff288f
parent 055e70f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -985,6 +985,7 @@
    <string name="qs_category_title">Quick Settings panel</string>

    <string name="qs_brightness_slider_title">Show brightness slider</string>
    <string name="qs_hide_tiles_with_sensitive_data">Hide sensitive tiles when locked</string>

    <string name="qs_order_title">Select and order tiles</string>
    <string name="add_qs">Add new tile</string>
+7 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
     limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
    android:title="@string/notification_drawer_title">

    <ListPreference
@@ -45,6 +46,12 @@
            android:summaryOff="@string/qs_main_tiles_summary_off"
            android:defaultValue="true" />

        <com.android.settings.cyanogenmod.SecureSettingSwitchPreference
            android:key="lockscreen_hide_qs_tiles_with_sensitive_data"
            android:title="@string/qs_hide_tiles_with_sensitive_data"
            android:defaultValue="false"
            settings:advanced="true"/>

        <com.android.settings.cyanogenmod.SecureSettingSwitchPreference
            android:key="qs_show_brightness_slider"
            android:title="@string/qs_brightness_slider_title"