2011-11-18 18:28:17 +00:00
|
|
|
#filter substitution
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="@ANDROID_PACKAGE_NAME@"
|
|
|
|
android:installLocation="auto"
|
|
|
|
android:versionCode="@ANDROID_VERSION_CODE@"
|
|
|
|
android:versionName="@MOZ_APP_VERSION@"
|
|
|
|
#ifdef MOZ_ANDROID_SHARED_ID
|
|
|
|
android:sharedUserId="@MOZ_ANDROID_SHARED_ID@"
|
|
|
|
#endif
|
|
|
|
>
|
2012-09-06 03:00:07 +00:00
|
|
|
|
|
|
|
#ifdef ARMV7_ONLY
|
|
|
|
<supports-screens android:smallScreens="false" />
|
|
|
|
#endif
|
|
|
|
|
2012-02-28 18:05:05 +00:00
|
|
|
<uses-sdk android:minSdkVersion="8"
|
2012-04-19 19:28:13 +00:00
|
|
|
android:targetSdkVersion="14"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
2012-10-11 17:19:36 +00:00
|
|
|
#include ../services/manifests/AnnouncementsAndroidManifest_permissions.xml.in
|
2012-10-11 17:10:49 +00:00
|
|
|
#include ../services/manifests/SyncAndroidManifest_permissions.xml.in
|
2011-12-21 16:44:06 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
|
|
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
|
2012-06-06 20:52:14 +00:00
|
|
|
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
|
2012-06-25 22:31:02 +00:00
|
|
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
2011-11-18 19:48:57 +00:00
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
2012-03-08 18:25:44 +00:00
|
|
|
<uses-permission android:name="@ANDROID_PACKAGE_NAME@.permissions.PASSWORD_PROVIDER"/>
|
2012-06-18 17:03:03 +00:00
|
|
|
<uses-permission android:name="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER"/>
|
|
|
|
<uses-permission android:name="@ANDROID_PACKAGE_NAME@.permissions.FORMHISTORY_PROVIDER"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
2012-01-16 18:53:09 +00:00
|
|
|
#ifdef MOZ_WEBSMS_BACKEND
|
2012-01-17 18:52:17 +00:00
|
|
|
<!-- WebSMS -->
|
|
|
|
<uses-permission android:name="android.permission.SEND_SMS"/>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SMS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_SMS"/>
|
2012-01-16 18:53:09 +00:00
|
|
|
#endif
|
2012-01-17 18:52:17 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<uses-feature android:name="android.hardware.location" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.touchscreen"/>
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
2012-02-09 05:13:08 +00:00
|
|
|
|
|
|
|
<!-- App requires OpenGL ES 2.0 -->
|
|
|
|
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
2012-06-04 16:37:18 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<application android:label="@MOZ_APP_DISPLAYNAME@"
|
|
|
|
android:icon="@drawable/icon"
|
2012-04-03 18:58:01 +00:00
|
|
|
android:name="org.mozilla.gecko.GeckoApplication"
|
2012-08-03 17:40:33 +00:00
|
|
|
android:hardwareAccelerated="true"
|
2011-11-18 18:28:17 +00:00
|
|
|
#if MOZILLA_OFFICIAL
|
|
|
|
android:debuggable="false">
|
|
|
|
#else
|
|
|
|
android:debuggable="true">
|
|
|
|
#endif
|
|
|
|
|
|
|
|
<activity android:name="App"
|
|
|
|
android:label="@MOZ_APP_DISPLAYNAME@"
|
2012-04-19 19:28:13 +00:00
|
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
|
2011-11-18 18:28:17 +00:00
|
|
|
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
|
|
|
android:launchMode="singleTask"
|
2012-02-13 18:23:09 +00:00
|
|
|
android:theme="@style/Gecko.App">
|
2011-11-18 18:28:17 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
2012-08-22 15:37:08 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CALLBACK" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2012-01-25 04:32:12 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.UPDATE"/>
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
|
|
|
<!-- Default browser intents -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="http" />
|
|
|
|
<data android:scheme="https" />
|
|
|
|
<data android:scheme="about" />
|
|
|
|
<data android:scheme="javascript" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="file" />
|
|
|
|
<data android:scheme="http" />
|
|
|
|
<data android:scheme="https" />
|
|
|
|
<data android:mimeType="text/html"/>
|
|
|
|
<data android:mimeType="text/plain"/>
|
|
|
|
<data android:mimeType="application/xhtml+xml"/>
|
|
|
|
</intent-filter>
|
2012-08-22 15:37:14 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.WEB_SEARCH" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
<data android:scheme="" />
|
|
|
|
<data android:scheme="http" />
|
|
|
|
<data android:scheme="https" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2012-10-04 23:57:39 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
<meta-data android:name="android.app.searchable"
|
|
|
|
android:resource="@xml/searchable" />
|
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<!-- For debugging -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.DEBUG" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2012-06-18 17:03:03 +00:00
|
|
|
#include @OBJDIR@/WebAppManifestFragment.xml.in
|
|
|
|
|
2012-02-22 20:53:20 +00:00
|
|
|
<!-- Masquerade as the Resolver so that we can be opened from the Marketplace. -->
|
|
|
|
<activity-alias
|
|
|
|
android:name="com.android.internal.app.ResolverActivity"
|
|
|
|
android:targetActivity=".App"
|
|
|
|
android:exported="true" />
|
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<receiver android:name="NotificationHandler">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLICK" />
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLEAR" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-08-31 13:31:29 +00:00
|
|
|
<receiver android:name="org.mozilla.gecko.GeckoUpdateReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="@ANDROID_PACKAGE_NAME@.CHECK_UPDATE_RESULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2012-03-08 18:25:44 +00:00
|
|
|
<receiver android:name="org.mozilla.gecko.GeckoMessageReceiver"
|
|
|
|
android:permission="@ANDROID_PACKAGE_NAME@.permissions.PASSWORD_PROVIDER">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.INIT_PW"></action>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2012-10-03 02:04:05 +00:00
|
|
|
|
|
|
|
<receiver android:name="org.mozilla.gecko.ReferrerReceiver" android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.vending.INSTALL_REFERRER" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2012-03-08 18:25:44 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
<activity android:name="Restarter"
|
|
|
|
android:process="@ANDROID_PACKAGE_NAME@Restarter"
|
2012-05-16 22:24:43 +00:00
|
|
|
android:theme="@style/Gecko">
|
2011-11-18 18:28:17 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.restart"/>
|
2012-01-25 04:32:12 +00:00
|
|
|
<action android:name="org.mozilla.gecko.restart_update"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2012-10-11 17:19:36 +00:00
|
|
|
#include ../services/manifests/AnnouncementsAndroidManifest_activities.xml.in
|
2012-10-11 17:10:49 +00:00
|
|
|
#include ../services/manifests/SyncAndroidManifest_activities.xml.in
|
2011-12-21 16:44:06 +00:00
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
#if MOZ_CRASHREPORTER
|
|
|
|
<activity android:name="CrashReporter"
|
|
|
|
android:label="@string/crash_reporter_title"
|
|
|
|
android:icon="@drawable/crash_reporter"
|
2011-11-23 08:01:38 +00:00
|
|
|
android:theme="@style/Gecko"
|
2011-11-18 18:28:17 +00:00
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.reportCrash" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
#endif
|
|
|
|
|
2012-02-01 19:42:42 +00:00
|
|
|
<!-- Bug 715260: Hiding Webapps support
|
2011-11-18 18:28:17 +00:00
|
|
|
<activity android:name="LauncherShortcuts"
|
|
|
|
android:label="@string/launcher_shortcuts_title"
|
2011-11-23 08:01:38 +00:00
|
|
|
android:theme="@style/Gecko.Translucent">
|
2011-11-18 18:28:17 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2012-02-01 19:42:42 +00:00
|
|
|
-->
|
2011-11-18 18:28:17 +00:00
|
|
|
|
|
|
|
<activity android:name="org.mozilla.gecko.AwesomeBar"
|
2012-02-13 18:23:09 +00:00
|
|
|
android:theme="@style/Gecko.Light.AwesomeBar"
|
2012-04-19 19:28:13 +00:00
|
|
|
android:configChanges="orientation|screenSize"
|
2011-11-23 08:01:38 +00:00
|
|
|
android:windowSoftInputMode="stateAlwaysVisible|adjustResize"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
|
|
|
<activity android:name="org.mozilla.gecko.GeckoPreferences"
|
2012-02-13 18:23:09 +00:00
|
|
|
android:theme="@style/Gecko.TitleBar.Preferences"
|
2011-12-20 16:33:25 +00:00
|
|
|
android:label="@string/settings_title"
|
2012-07-10 22:31:04 +00:00
|
|
|
android:configChanges="orientation|screenSize"
|
2011-11-23 08:01:38 +00:00
|
|
|
android:excludeFromRecents="true"/>
|
2011-11-18 18:28:17 +00:00
|
|
|
|
2011-12-15 21:18:29 +00:00
|
|
|
<provider android:name="@ANDROID_PACKAGE_NAME@.db.BrowserProvider"
|
|
|
|
android:authorities="@ANDROID_PACKAGE_NAME@.db.browser"
|
2012-10-04 23:57:39 +00:00
|
|
|
android:permission="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER">
|
|
|
|
|
|
|
|
<path-permission android:pathPrefix="/search_suggest_query"
|
|
|
|
android:readPermission="android.permission.GLOBAL_SEARCH" />
|
|
|
|
|
|
|
|
</provider>
|
2011-12-08 16:37:21 +00:00
|
|
|
|
2012-05-01 04:08:33 +00:00
|
|
|
<!--
|
|
|
|
Ensure that passwords provider runs in its own process. (Bug 718760.)
|
|
|
|
Process name is per-application to avoid loading CPs from multiple
|
|
|
|
Fennec versions into the same process. (Bug 749727.)
|
|
|
|
Process name is a mangled version to avoid a Talos bug. (Bug 750548.)
|
|
|
|
-->
|
2011-12-16 23:11:09 +00:00
|
|
|
<provider android:name="@ANDROID_PACKAGE_NAME@.db.PasswordsProvider"
|
|
|
|
android:authorities="@ANDROID_PACKAGE_NAME@.db.passwords"
|
2012-03-08 18:25:44 +00:00
|
|
|
android:permission="@ANDROID_PACKAGE_NAME@.permissions.PASSWORD_PROVIDER"
|
2012-05-01 04:08:33 +00:00
|
|
|
android:process="@MANGLED_ANDROID_PACKAGE_NAME@.PasswordsProvider"/>
|
2011-12-16 23:11:09 +00:00
|
|
|
|
2012-02-27 18:10:14 +00:00
|
|
|
<provider android:name="@ANDROID_PACKAGE_NAME@.db.FormHistoryProvider"
|
|
|
|
android:authorities="@ANDROID_PACKAGE_NAME@.db.formhistory"
|
|
|
|
android:permission="@ANDROID_PACKAGE_NAME@.permissions.FORMHISTORY_PROVIDER"
|
2012-02-29 19:29:09 +00:00
|
|
|
android:protectionLevel="signature"/>
|
|
|
|
|
|
|
|
<provider android:name="@ANDROID_PACKAGE_NAME@.db.TabsProvider"
|
|
|
|
android:authorities="@ANDROID_PACKAGE_NAME@.db.tabs"
|
|
|
|
android:permission="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER"/>
|
2011-12-16 23:11:09 +00:00
|
|
|
|
2012-08-31 13:31:29 +00:00
|
|
|
<service
|
|
|
|
android:exported="false"
|
|
|
|
android:name="org.mozilla.gecko.updater.UpdateService"
|
|
|
|
android:process="@MANGLED_ANDROID_PACKAGE_NAME@.UpdateService">
|
|
|
|
</service>
|
|
|
|
|
|
|
|
|
2012-10-11 17:19:36 +00:00
|
|
|
#include ../services/manifests/AnnouncementsAndroidManifest_services.xml.in
|
2012-10-11 17:10:49 +00:00
|
|
|
#include ../services/manifests/SyncAndroidManifest_services.xml.in
|
2011-11-18 18:28:17 +00:00
|
|
|
</application>
|
2011-12-13 14:12:03 +00:00
|
|
|
|
2011-12-15 21:18:29 +00:00
|
|
|
<permission android:name="@ANDROID_PACKAGE_NAME@.permissions.BROWSER_PROVIDER"
|
2011-12-13 14:12:03 +00:00
|
|
|
android:protectionLevel="signature"/>
|
|
|
|
|
2012-03-08 18:25:44 +00:00
|
|
|
<permission android:name="@ANDROID_PACKAGE_NAME@.permissions.PASSWORD_PROVIDER"
|
|
|
|
android:protectionLevel="signature"/>
|
|
|
|
|
2012-02-27 18:10:14 +00:00
|
|
|
<permission android:name="@ANDROID_PACKAGE_NAME@.permissions.FORMHISTORY_PROVIDER"
|
|
|
|
android:protectionLevel="signature"/>
|
|
|
|
|
2011-11-18 18:28:17 +00:00
|
|
|
</manifest>
|