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

Commit d27e5894 authored by Yash Garg's avatar Yash Garg 💬
Browse files

Merge branch '458os-polish-rebranding' into 'master'

Move the spot url to murena domain name

See merge request !111
parents b3c0b415 09a0828b
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ import android.net.Uri;

public class SearchSuggestionUtil {

    private static final String SPOT_URL = "https://spot.murena.io/";

    public SuggestionProvider getSuggestionProvider(Context context) {
        String defaultSearchEngine = defaultSearchEngine(context);
        if (defaultSearchEngine != null && defaultSearchEngine.length() > 0) {
@@ -30,10 +32,10 @@ public class SearchSuggestionUtil {
            } else if (defaultSearchEngine.contains("duckduckgo")) {
                return Uri.parse("https://duckduckgo.com/?q=" + query);
            } else {
                return Uri.parse("https://spot.ecloud.global/?q=" + query);
                return Uri.parse(SPOT_URL + "?q=" + query);
            }
        } else {
            return Uri.parse("https://spot.ecloud.global/?q=" + query);
            return Uri.parse(SPOT_URL + "?q=" + query);
        }
    }