1#filter substitution 2<?xml version="1.0" encoding="utf-8"?> 3<manifest xmlns:android="http://schemas.android.com/apk/res/android" 4 package="@ANDROID_PACKAGE_NAME@" 5 android:installLocation="auto" 6 android:versionCode="@ANDROID_VERSION_CODE@" 7 android:versionName="@MOZ_APP_VERSION@" 8#ifdef MOZ_ANDROID_SHARED_ID 9 android:sharedUserId="@MOZ_ANDROID_SHARED_ID@" 10#endif 11 > 12 <uses-sdk android:minSdkVersion="@MOZ_ANDROID_MIN_SDK_VERSION@" 13#ifdef MOZ_ANDROID_MAX_SDK_VERSION 14 android:maxSdkVersion="@MOZ_ANDROID_MAX_SDK_VERSION@" 15#endif 16 android:targetSdkVersion="23"/> 17 18<!-- The bouncer APK and the main APK should define the same set of 19 <permission>, <uses-permission>, and <uses-feature> elements. This reduces 20 the likelihood of permission-related surprises when installing the main APK 21 on top of a pre-installed bouncer APK. Add such shared elements in the 22 fileincluded here, so that they can be referenced by both APKs. --> 23#include ../base/FennecManifest_permissions.xml.in 24 25 <application android:label="@MOZ_APP_DISPLAYNAME@" 26 android:icon="@drawable/icon" 27 android:logo="@drawable/logo" 28 android:hardwareAccelerated="true" 29 android:allowBackup="false" 30# The preprocessor does not yet support arbitrary parentheses, so this cannot 31# be parenthesized thus to clarify that the logical AND operator has precedence: 32# !defined(MOZILLA_OFFICIAL) || (defined(NIGHTLY_BUILD) && defined(MOZ_DEBUG)) 33#if !defined(MOZILLA_OFFICIAL) || defined(NIGHTLY_BUILD) && defined(MOZ_DEBUG) 34 android:debuggable="true"> 35#else 36 android:debuggable="false"> 37#endif 38 39 <activity 40 android:name="@MOZ_ANDROID_BROWSER_INTENT_CLASS@" 41 android:label="@MOZ_APP_DISPLAYNAME@" 42 android:theme="@android:style/Theme.Translucent"> 43 44 <!-- Aping org.mozilla.gecko.BrowserApp. --> 45 <intent-filter> 46 <action android:name="android.intent.action.MAIN" /> 47 <category android:name="android.intent.category.LAUNCHER" /> 48 <category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"/> 49 <category android:name="android.intent.category.APP_BROWSER" /> 50 <category android:name="android.intent.category.DEFAULT" /> 51 </intent-filter> 52 53 <meta-data android:name="com.sec.minimode.icon.portrait.normal" 54 android:resource="@drawable/icon"/> 55 56 <meta-data android:name="com.sec.minimode.icon.landscape.normal" 57 android:resource="@drawable/icon" /> 58 59 <intent-filter> 60 <action android:name="android.intent.action.WEB_SEARCH" /> 61 <category android:name="android.intent.category.DEFAULT" /> 62 <category android:name="android.intent.category.BROWSABLE" /> 63 <data android:scheme="" /> 64 <data android:scheme="http" /> 65 <data android:scheme="https" /> 66 </intent-filter> 67 68 <!-- Aping org.mozilla.gecko.tabqueue.TabQueueDispatcher. --> 69 <intent-filter> 70 <action android:name="android.intent.action.VIEW" /> 71 <category android:name="android.intent.category.DEFAULT" /> 72 <category android:name="android.intent.category.BROWSABLE" /> 73 <data android:scheme="http" /> 74 <data android:scheme="https" /> 75 <data android:scheme="about" /> 76 <data android:scheme="javascript" /> 77 </intent-filter> 78 <intent-filter> 79 <action android:name="android.intent.action.VIEW" /> 80 <category android:name="android.intent.category.BROWSABLE" /> 81 <category android:name="android.intent.category.DEFAULT" /> 82 <data android:scheme="file" /> 83 <data android:scheme="http" /> 84 <data android:scheme="https" /> 85 <data android:mimeType="text/html"/> 86 <data android:mimeType="text/plain"/> 87 <data android:mimeType="application/xhtml+xml"/> 88 </intent-filter> 89 </activity> 90 91 <service 92 android:name="org.mozilla.bouncer.BouncerService" 93 android:exported="false" /> 94 95 </application> 96</manifest> 97