| Index: chrome/android/java/AndroidManifest.xml
|
| diff --git a/chrome/android/java/AndroidManifest.xml b/chrome/android/java/AndroidManifest.xml
|
| index 45f9a379cb9906a64f7cd2a06ed8f63c5e0bb0ef..220369ff601dba09d3bbe534b37aa7366806f915 100644
|
| --- a/chrome/android/java/AndroidManifest.xml
|
| +++ b/chrome/android/java/AndroidManifest.xml
|
| @@ -731,6 +731,37 @@ by a child template that "extends" this file.
|
| <receiver android:name="org.chromium.chrome.browser.bookmarkswidget.BookmarkWidgetProxy"
|
| android:exported="false" />
|
|
|
| + {% if channel in ['default'] %}
|
| + <!-- Search widget -->
|
| + <receiver android:name="org.chromium.chrome.browser.searchwidget.SearchWidgetProvider"
|
| + android:process=":search_widget">
|
| + <intent-filter>
|
| + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
| + </intent-filter>
|
| + <intent-filter>
|
| + <action android:name="org.chromium.chrome.browser.searchwidget.START_SEARCH_ACTIVITY" />
|
| + </intent-filter>
|
| + <intent-filter>
|
| + <action android:name="org.chromium.chrome.browser.searchwidget.UPDATE_ALL_WIDGETS" />
|
| + </intent-filter>
|
| + <meta-data android:name="android.appwidget.provider"
|
| + android:resource="@xml/search_widget_info" />
|
| + </receiver>
|
| +
|
| + <!-- Search Activity -->
|
| + <activity android:name="org.chromium.chrome.browser.searchwidget.SearchActivity"
|
| + android:theme="@style/OverlayTheme"
|
| + android:label="Search"
|
| + android:exported="false"
|
| + android:launchMode="singleInstance"
|
| + android:taskAffinity=""
|
| + android:clearTaskOnLaunch="true"
|
| + android:excludeFromRecents="true"
|
| + android:windowSoftInputMode="adjustResize"
|
| + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|mcc|mnc|screenLayout|smallestScreenSize"
|
| + android:hardwareAccelerated="false" />
|
| + {% endif %}
|
| +
|
| <!-- Receiver for GCM messages. -->
|
| <receiver android:name="com.google.android.gms.gcm.GcmReceiver"
|
| android:exported="true"
|
|
|