parent
f7c14b140e
commit
3a27fcd26b
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/search"
|
||||
android:icon="@drawable/ic_search"
|
||||
android:title="@string/addons_search_hint"
|
||||
app:iconTint="?textPrimary"
|
||||
app:actionViewClass="androidx.appcompat.widget.SearchView"
|
||||
android:contentDescription="@string/addons_search_hint"
|
||||
app:showAsAction="ifRoom|collapseActionView" />
|
||||
</menu>
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,10 @@
|
||||
cp automation/iceraven/assets/*.xml android-components/components/feature/search/src/main/assets/searchplugins
|
||||
cp -f automation/iceraven/assets/list.json android-components/components/feature/search/src/main/assets/search
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sed -i '42i\ "startpage",' android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
|
||||
#cp automation/iceraven/assets/*.xml android-components/components/feature/search/src/main/assets/searchplugins
|
||||
#cp -f automation/iceraven/assets/list.json android-components/components/feature/search/src/main/assets/search
|
||||
|
||||
search_engines=( startpage brave )
|
||||
for engine in "${search_engines[@]}"
|
||||
do
|
||||
sed -i "42i\ \"$engine\"," android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
|
||||
done
|
||||
|
Loading…
Reference in New Issue