2010-06-02 14:55:28 -07:00
|
|
|
#filter substitution
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-12-21 12:02:14 -08:00
|
|
|
package="@ANDROID_PACKAGE_NAME@"
|
2010-06-22 07:42:28 -07:00
|
|
|
android:installLocation="auto"
|
2011-01-06 09:16:50 -08:00
|
|
|
android:versionCode="@ANDROID_VERSION_CODE@"
|
2011-07-21 14:12:51 -07:00
|
|
|
android:versionName="@MOZ_APP_VERSION@"
|
2011-08-09 14:16:26 -07:00
|
|
|
#ifdef MOZ_ANDROID_SHARED_ID
|
|
|
|
android:sharedUserId="@MOZ_ANDROID_SHARED_ID@"
|
|
|
|
#endif
|
|
|
|
>
|
2010-06-02 14:55:28 -07:00
|
|
|
<uses-sdk android:minSdkVersion="5"
|
2011-06-15 01:56:00 -07:00
|
|
|
android:targetSdkVersion="11"/>
|
2010-06-02 14:55:28 -07:00
|
|
|
|
2010-10-15 11:16:45 -07:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
2011-01-20 03:06:13 -08:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
2010-10-15 11:16:45 -07:00
|
|
|
<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"/>
|
2010-06-02 14:55:28 -07:00
|
|
|
|
2011-09-16 14:34:31 -07:00
|
|
|
<uses-permission android:name="android.permission.READ_LOGS"/>
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
|
|
|
|
|
2011-10-13 17:00:26 -07:00
|
|
|
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
|
2011-10-19 10:39:51 -07:00
|
|
|
<uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"/>
|
2011-10-13 17:00:26 -07:00
|
|
|
|
2010-12-28 07:28:55 -08: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"/>
|
|
|
|
|
2011-09-26 17:25:41 -07:00
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
2011-10-04 11:58:17 -07:00
|
|
|
<uses-feature android:name="android.hardware.camera" android:required="false"/>
|
|
|
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
|
2011-09-26 17:25:41 -07:00
|
|
|
|
2010-06-02 14:55:28 -07:00
|
|
|
<application android:label="@MOZ_APP_DISPLAYNAME@"
|
2010-08-10 10:18:03 -07:00
|
|
|
android:icon="@drawable/icon"
|
2011-05-20 16:29:40 -07:00
|
|
|
#if MOZILLA_OFFICIAL
|
|
|
|
android:debuggable="false">
|
|
|
|
#else
|
2010-08-10 10:18:03 -07:00
|
|
|
android:debuggable="true">
|
2011-05-20 16:29:40 -07:00
|
|
|
#endif
|
2011-01-20 03:06:13 -08:00
|
|
|
|
2010-06-02 14:55:28 -07:00
|
|
|
<activity android:name="App"
|
|
|
|
android:label="@MOZ_APP_DISPLAYNAME@"
|
2011-10-31 15:03:37 -07:00
|
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation"
|
2011-10-12 10:53:37 -07:00
|
|
|
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
2010-11-08 18:11:13 -08:00
|
|
|
android:launchMode="singleTask"
|
2011-01-10 21:48:35 -08:00
|
|
|
android:theme="@style/GreyTheme">
|
2010-06-02 14:55:28 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2010-06-02 14:58:41 -07: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" />
|
2011-05-11 07:25:53 -07:00
|
|
|
<data android:scheme="file" />
|
2010-06-02 14:58:41 -07:00
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<!-- For debugging -->
|
2010-06-02 14:55:28 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.DEBUG" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-06-14 19:17:37 -07:00
|
|
|
|
2010-11-30 21:57:21 -08:00
|
|
|
<receiver android:name="NotificationHandler">
|
2010-06-14 19:17:37 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLICK" />
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLEAR" />
|
|
|
|
</intent-filter>
|
2010-11-30 21:57:21 -08:00
|
|
|
</receiver>
|
2010-06-14 19:17:37 -07:00
|
|
|
|
2010-12-10 18:16:21 -08:00
|
|
|
<activity android:name="Restarter"
|
2011-03-04 15:00:52 -08:00
|
|
|
android:process="@ANDROID_PACKAGE_NAME@Restarter"
|
2011-09-30 05:08:00 -07:00
|
|
|
android:theme="@style/GreyTheme"
|
|
|
|
android:excludeFromRecents="true">
|
2010-06-14 19:17:37 -07:00
|
|
|
<intent-filter>
|
2011-03-04 15:00:52 -08:00
|
|
|
<action android:name="org.mozilla.gecko.restart"/>
|
2010-06-14 19:17:37 -07:00
|
|
|
</intent-filter>
|
2010-10-26 18:57:29 -07:00
|
|
|
</activity>
|
2011-07-01 11:26:00 -07:00
|
|
|
|
2010-10-15 20:18:07 -07:00
|
|
|
#if MOZ_CRASHREPORTER
|
2011-09-30 11:37:19 -07:00
|
|
|
<activity android:name="CrashReporter"
|
|
|
|
android:label="@string/crash_reporter_title"
|
|
|
|
android:icon="@drawable/crash_reporter"
|
|
|
|
android:excludeFromRecents="true">
|
2010-10-15 20:18:07 -07:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.reportCrash" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
#endif
|
2011-07-01 11:26:00 -07:00
|
|
|
|
|
|
|
<activity android:name="LauncherShortcuts"
|
2011-10-05 13:28:00 -07:00
|
|
|
android:label="@string/launcher_shortcuts_title"
|
|
|
|
android:theme="@android:style/Theme.Translucent">
|
2011-07-01 11:26:00 -07:00
|
|
|
<!-- This intent-filter allows your shortcuts to be created in the launcher. -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2011-10-11 00:09:03 -07:00
|
|
|
|
|
|
|
<activity android:name="org.mozilla.gecko.AwesomeBar"
|
|
|
|
android:theme="@android:style/Theme.Translucent"
|
|
|
|
android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
|
|
|
|
android:windowIsTranslucent="true"
|
|
|
|
android:windowContentOverlay="@null"
|
|
|
|
android:windowNoTitle="true"
|
|
|
|
android:windowIsFloating="true"
|
|
|
|
android:backgroundDimEnabled="false">
|
|
|
|
</activity>
|
2011-10-14 12:48:02 -07:00
|
|
|
|
|
|
|
<activity android:name="org.mozilla.gecko.GeckoPreferences"
|
|
|
|
android:label="@string/preferences_title"
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
2011-10-13 17:00:26 -07:00
|
|
|
<activity android:name="org.mozilla.gecko.GeckoBookmarks"
|
|
|
|
android:label="@string/bookmarks_title"
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-06-02 14:55:28 -07:00
|
|
|
</application>
|
|
|
|
</manifest>
|