2011-12-05 22:37:14 -08: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-01-19 13:52:44 -08:00
|
|
|
|
2011-12-05 22:37:14 -08:00
|
|
|
<uses-sdk android:minSdkVersion="5"
|
|
|
|
android:targetSdkVersion="11"/>
|
|
|
|
|
2012-06-04 09:37:18 -07:00
|
|
|
<compatible-screens>
|
|
|
|
<!-- all xlarge size screens -->
|
|
|
|
<screen android:screenSize="xlarge" android:screenDensity="ldpi" />
|
|
|
|
<screen android:screenSize="xlarge" android:screenDensity="mdpi" />
|
|
|
|
<screen android:screenSize="xlarge" android:screenDensity="hdpi" />
|
|
|
|
<screen android:screenSize="xlarge" android:screenDensity="xhdpi" />
|
|
|
|
</compatible-screens>
|
2012-01-19 13:52:44 -08:00
|
|
|
|
2011-12-05 22:37:14 -08: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"/>
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
|
|
|
2012-01-16 10:53:09 -08:00
|
|
|
#ifdef MOZ_WEBSMS_BACKEND
|
2011-12-05 22:37:14 -08:00
|
|
|
<!-- WebSMS -->
|
|
|
|
<uses-permission android:name="android.permission.SEND_SMS"/>
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
|
2012-01-13 05:25:47 -08:00
|
|
|
<uses-permission android:name="android.permission.WRITE_SMS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_SMS"/>
|
2012-01-16 10:53:09 -08:00
|
|
|
#endif
|
2011-12-05 22:37:14 -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"/>
|
|
|
|
|
|
|
|
<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"/>
|
|
|
|
|
|
|
|
<application android:label="@MOZ_APP_DISPLAYNAME@"
|
2011-12-05 13:57:33 -08:00
|
|
|
android:icon="@drawable/icon"
|
2011-12-05 22:37:14 -08:00
|
|
|
#if MOZILLA_OFFICIAL
|
2011-12-05 13:57:33 -08:00
|
|
|
android:debuggable="false">
|
2011-12-05 22:37:14 -08:00
|
|
|
#else
|
2011-12-05 13:57:33 -08:00
|
|
|
android:debuggable="true">
|
2011-12-05 22:37:14 -08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
<activity android:name="App"
|
|
|
|
android:label="@MOZ_APP_DISPLAYNAME@"
|
|
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc"
|
|
|
|
android:windowSoftInputMode="stateUnspecified|adjustResize"
|
|
|
|
android:launchMode="singleTask"
|
|
|
|
android:theme="@style/GreyTheme">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<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 -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.DEBUG" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<activity android:name="Restarter"
|
|
|
|
android:process="@ANDROID_PACKAGE_NAME@Restarter"
|
|
|
|
android:theme="@style/GreyTheme"
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.restart"/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
#if MOZ_CRASHREPORTER
|
|
|
|
<activity android:name="CrashReporter"
|
|
|
|
android:label="@string/crash_reporter_title"
|
|
|
|
android:icon="@drawable/crash_reporter"
|
|
|
|
android:excludeFromRecents="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="org.mozilla.gecko.reportCrash" />
|
|
|
|
</intent-filter>
|
2011-12-05 13:57:33 -08:00
|
|
|
</activity>
|
2011-12-05 22:37:14 -08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
<activity android:name="LauncherShortcuts"
|
|
|
|
android:label="@string/launcher_shortcuts_title"
|
|
|
|
android:theme="@android:style/Theme.Translucent">
|
|
|
|
<!-- 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-12-05 13:57:33 -08:00
|
|
|
<activity android:name="org.mozilla.gecko.VideoPlayer"
|
|
|
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation"
|
|
|
|
android:theme="@android:style/Theme.NoTitleBar" >
|
|
|
|
<intent-filter>
|
2011-12-07 09:43:34 -08:00
|
|
|
<action android:name="org.mozilla.gecko.PLAY_VIDEO" />
|
2011-12-05 13:57:33 -08:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2011-12-05 22:37:14 -08:00
|
|
|
</application>
|
|
|
|
</manifest>
|