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

Commit 8227e303 authored by Michael Jurka's avatar Michael Jurka
Browse files

Add support for setting lock widgets

Change-Id: I26165f1bc60e3cf277dbdd4f627ac720b492ffde
parent a9286147
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -794,6 +794,12 @@
    <!--  Title for PreferenceScreen to launch picker for security method when there is none [CHAR LIMIT=22] -->
    <string name="unlock_set_unlock_launch_picker_title">Screen lock</string>

    <!--  Title for PreferenceScreen to launch picker for a user-selected widget that will live on lock screen [CHAR LIMIT=22] -->
    <string name="choose_user_selected_lockscreen_widget_picker_title">Widget</string>

    <!--  String to display if there is no user-selected widget on lock screen [CHAR LIMIT=22] -->
    <string name="widget_none">None</string>

    <!--  Title for PreferenceScreen to change security method: None/Pattern/PIN/Password [CHAR LIMIT=22] -->
    <string name="unlock_set_unlock_launch_picker_change_title">Change lock screen</string>

@@ -2342,6 +2348,8 @@
    <string name="lockpattern_too_many_failed_confirmation_attempts_header">Too many incorrect attempts!</string>
    <!-- Security & location settings screen, change unlock pattern screen countdown hint on bottom of screen after too many incorrect attempts -->
    <string name="lockpattern_too_many_failed_confirmation_attempts_footer">Try again in <xliff:g id="number">%d</xliff:g> seconds.</string>
    <!-- Displayed when user launches a widget configuration activity that was uninstalled -->
    <string name="activity_not_found">Application is not installed on your phone.</string>

    <!-- ChooseLockPatternTutorial --> <skip />
    <!-- ChooseLockPatternTutorial, button labels: This is to cancel the tutorial -->
+6 −0
Original line number Diff line number Diff line
@@ -26,6 +26,12 @@
            android:summary="@string/unlock_set_unlock_mode_none"
            android:persistent="false"/>

        <PreferenceScreen
           android:key="choose_user_selected_lockscreen_widget"
           android:title="@string/choose_user_selected_lockscreen_widget_picker_title"
           android:summary=""
           android:persistent="false"/>

        <PreferenceScreen
            android:fragment="com.android.settings.OwnerInfoSettings"
            android:key="owner_info_settings"
+5 −1
Original line number Diff line number Diff line
@@ -25,7 +25,11 @@
            android:title="@string/unlock_set_unlock_launch_picker_title"
            android:summary="@string/unlock_set_unlock_mode_off"
            android:persistent="false"/>

        <PreferenceScreen
            android:fragment="com.android.settings.OwnerInfoSettings"
            android:key="owner_info_settings"
            android:title="@string/owner_info_settings_title"
            android:summary="@string/owner_info_settings_summary"/>
    </PreferenceCategory>

</PreferenceScreen>
+6 −0
Original line number Diff line number Diff line
@@ -26,6 +26,12 @@
            android:summary="@string/unlock_set_unlock_mode_password"
            android:persistent="false"/>

        <PreferenceScreen
           android:key="choose_user_selected_lockscreen_widget"
           android:title="@string/choose_user_selected_lockscreen_widget_picker_title"
           android:summary=""
           android:persistent="false"/>

        <ListPreference
            android:key="lock_after_timeout"
            android:title="@string/lock_after_timeout"
+5 −0
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@
            android:title="@string/unlock_set_unlock_launch_picker_title"
            android:summary="@string/unlock_set_unlock_mode_pattern"
            android:persistent="false"/>
        <PreferenceScreen
           android:key="choose_user_selected_lockscreen_widget"
           android:title="@string/choose_user_selected_lockscreen_widget_picker_title"
           android:summary=""
           android:persistent="false"/>

        <CheckBoxPreference
            android:key="visiblepattern"
Loading