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

Commit 24abb66c authored by Bjorn Bringert's avatar Bjorn Bringert
Browse files

Deprecate Settings.System.SHOW_WEB_SUGGESTIONS

In earlier Android versions, Quick Search Box set this setting,
and the browser and QSB read it. Now the Browser has stopped
using it, and QSB has been unbundled and removed from the system
settings UI.

Applications that show web suggestions should have their own settings
to control it instead.

Bug: 3021480
Change-Id: I4e62bf26944287f804e50eb93843484a0356fffb
parent 393b2f9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160995,7 +160995,7 @@
 value=""show_web_suggestions""
 static="true"
 final="true"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
</field>
+3 −4
Original line number Diff line number Diff line
@@ -1641,11 +1641,10 @@ 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).
         * @deprecated Each application that shows web suggestions should have its own
         * setting for this.
         */
        @Deprecated
        public static final String SHOW_WEB_SUGGESTIONS = "show_web_suggestions";

        /**