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

Commit 48603e7f authored by Mike LeBeau's avatar Mike LeBeau
Browse files

Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings

(in a follow-on change). This setting, to be respected by global search, and which
I will also file a bug to the browser to respect, determines whether live web
suggestions will be shown to the user as they type. For privacy reasons, this
could be considered undesirable, as partial queries can then be sent to the user's
chosen search engine, so a setting was required.
parent 54de9063
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -108328,6 +108328,17 @@
 visibility="public"
>
</field>
<field name="SHOW_WEB_SUGGESTIONS"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;show_web_suggestions&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="SOUND_EFFECTS_ENABLED"
 type="java.lang.String"
 transient="false"
+8 −0
Original line number Diff line number Diff line
@@ -1277,6 +1277,14 @@ public final class Settings {
         */
        public static final String HAPTIC_FEEDBACK_ENABLED = "haptic_feedback_enabled";
        
        /**
         * Whether live web suggestions while the user types into search dialogs are
         * enabled. Browsers and other search UIs should respect this, as it allows
         * a user to avoid sending partial queries to a search engine, if it poses
         * any privacy concern. The value is boolean (1 or 0).
         */
        public static final String SHOW_WEB_SUGGESTIONS = "show_web_suggestions";

        // Settings moved to Settings.Secure

        /**