2010-06-02 21:55:28 +00:00
|
|
|
#filter substitution
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-12-21 20:02:14 +00:00
|
|
|
package="@ANDROID_PACKAGE_NAME@"
|
2010-06-22 14:42:28 +00:00
|
|
|
android:installLocation="auto"
|
2011-01-06 17:16:50 +00:00
|
|
|
android:versionCode="@ANDROID_VERSION_CODE@"
|
2010-08-30 15:52:28 +00:00
|
|
|
android:versionName="@MOZ_APP_VERSION@"
|
2011-05-11 18:07:28 +00:00
|
|
|
android:sharedUserId="@MOZ_ANDROID_SHARED_ID@">
|
2010-06-02 21:55:28 +00:00
|
|
|
<uses-sdk android:minSdkVersion="5"
|
|
|
|
android:targetSdkVersion="5"/>
|
|
|
|
|
2010-10-15 18:16:45 +00:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
2011-01-20 11:06:13 +00:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
2010-10-15 18:16:45 +00: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 21:55:28 +00:00
|
|
|
|
2010-12-28 15:28:55 +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"/>
|
|
|
|
|
2010-06-02 21:55:28 +00:00
|
|
|
<application android:label="@MOZ_APP_DISPLAYNAME@"
|
2010-08-10 17:18:03 +00:00
|
|
|
android:icon="@drawable/icon"
|
2011-05-20 23:29:40 +00:00
|
|
|
#if MOZILLA_OFFICIAL
|
|
|
|
android:debuggable="false">
|
|
|
|
#else
|
2010-08-10 17:18:03 +00:00
|
|
|
android:debuggable="true">
|
2011-05-20 23:29:40 +00:00
|
|
|
#endif
|
2011-01-20 11:06:13 +00:00
|
|
|
|
2011-07-01 18:26:00 +00:00
|
|
|
<activity android:name="LauncherShortcuts"
|
|
|
|
android:label="@string/launcher_shortcuts_title">
|
|
|
|
<!-- 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>
|
|
|
|
|
2010-06-02 21:55:28 +00:00
|
|
|
<activity android:name="App"
|
|
|
|
android:label="@MOZ_APP_DISPLAYNAME@"
|
2010-11-09 02:11:13 +00:00
|
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc"
|
2010-06-16 17:20:54 +00:00
|
|
|
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
2010-11-09 02:11:13 +00:00
|
|
|
android:launchMode="singleTask"
|
2011-01-11 05:48:35 +00:00
|
|
|
android:theme="@style/GreyTheme">
|
2010-06-02 21:55:28 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
|
2010-06-02 21:58:41 +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" />
|
2011-05-11 14:25:53 +00:00
|
|
|
<data android:scheme="file" />
|
2010-06-02 21:58:41 +00: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 21:55:28 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.DEBUG" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-06-15 02:17:37 +00:00
|
|
|
|
2010-12-01 05:57:21 +00:00
|
|
|
<receiver android:name="NotificationHandler">
|
2010-06-15 02:17:37 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLICK" />
|
|
|
|
<action android:name="org.mozilla.gecko.ACTION_ALERT_CLEAR" />
|
|
|
|
</intent-filter>
|
2010-12-01 05:57:21 +00:00
|
|
|
</receiver>
|
2010-06-15 02:17:37 +00:00
|
|
|
|
2010-12-11 02:16:21 +00:00
|
|
|
<activity android:name="Restarter"
|
2011-03-04 23:00:52 +00:00
|
|
|
android:process="@ANDROID_PACKAGE_NAME@Restarter"
|
2011-01-11 05:48:35 +00:00
|
|
|
android:theme="@style/GreyTheme">
|
2010-06-15 02:17:37 +00:00
|
|
|
<intent-filter>
|
2011-03-04 23:00:52 +00:00
|
|
|
<action android:name="org.mozilla.gecko.restart"/>
|
2010-06-15 02:17:37 +00:00
|
|
|
</intent-filter>
|
2010-10-27 01:57:29 +00:00
|
|
|
</activity>
|
2010-10-16 03:18:07 +00:00
|
|
|
#if MOZ_CRASHREPORTER
|
|
|
|
<activity android:name="CrashReporter"
|
2010-12-22 21:15:00 +00:00
|
|
|
android:label="@string/crash_reporter_title"
|
2010-12-02 16:46:22 +00:00
|
|
|
android:icon="@drawable/crash_reporter" >
|
2010-10-16 03:18:07 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.reportCrash" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
#endif
|
2010-06-02 21:55:28 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|