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