diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in')
-rw-r--r-- | mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in b/mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in new file mode 100644 index 000000000..21aee71c0 --- /dev/null +++ b/mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in @@ -0,0 +1,61 @@ + <activity + android:name="@MOZ_ANDROID_SEARCH_INTENT_CLASS@" + android:process=":search" + android:launchMode="singleTop" + android:taskAffinity="@ANDROID_PACKAGE_NAME@.SEARCH" + android:icon="@drawable/search_launcher" + android:label="@string/search_app_name" + android:configChanges="orientation|screenSize" + android:theme="@style/AppTheme"> + <intent-filter> + <action android:name="android.intent.action.ASSIST"/> + + <category android:name="android.intent.category.DEFAULT"/> + </intent-filter> + + <!-- Pre Lollipop devices display a generic search icon, if none is + provided here. To use this we need to set the resource to 0. + For Lollipop and later the search launcher icon ist used. + To retrieve the resource value the Bundle.getInt() method is + used, so we use integer resources instead of drawables, because + setting a drawable referenced to 0 results in errors when used + as a real drawable resource somewhere else. --> + <meta-data + android:name="com.android.systemui.action_assist_icon" + android:resource="@integer/search_assist_launch_res"/> + </activity> + + <!-- Basic launcher widget. --> + <receiver android:name="org.mozilla.search.SearchWidget" + android:label="@string/search_widget_name"> + + <intent-filter> + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> + </intent-filter> + + <intent-filter> + <action android:name="org.mozilla.widget.LAUNCH_BROWSER"/> + </intent-filter> + + <intent-filter> + <action android:name="org.mozilla.widget.LAUNCH_SEARCH"/> + </intent-filter> + + <intent-filter> + <action android:name="org.mozilla.widget.LAUNCH_NEW_TAB"/> + </intent-filter> + + <meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info" /> + </receiver> + + <activity + android:name="org.mozilla.search.SearchPreferenceActivity" + android:process=":search" + android:logo="@drawable/search_launcher" + android:label="@string/search_pref_title" + android:parentActivityName="@MOZ_ANDROID_SEARCH_INTENT_CLASS@" + android:theme="@style/SettingsTheme" > + <meta-data + android:name="android.support.PARENT_ACTIVITY" + android:value="@MOZ_ANDROID_SEARCH_INTENT_CLASS@"/> + </activity> |