mobile/android/base/WebappManifestFragment.xml.frag.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mobile/android/base/WebappManifestFragment.xml.frag.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +        <activity android:name=".WebApps$WebApp@APPNUM@"
     1.5 +                  android:label="@string/webapp_generic_name"
     1.6 +                  android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
     1.7 +                  android:windowSoftInputMode="stateUnspecified|adjustResize"
     1.8 +                  android:process=":@ANDROID_PACKAGE_NAME@.Webapp@APPNUM@"
     1.9 +                  android:theme="@style/Gecko.App"
    1.10 +#ifdef MOZ_ANDROID_SYNTHAPKS
    1.11 +                  android:launchMode="singleTop"
    1.12 +                  android:exported="true"
    1.13 +        />
    1.14 +#else
    1.15 +                  android:launchMode="singleTask"
    1.16 +                  android:taskAffinity="org.mozilla.gecko.WEBAPP@APPNUM@"
    1.17 +                  android:excludeFromRecents="true">
    1.18 +            <intent-filter>
    1.19 +                <action android:name="org.mozilla.gecko.WEBAPP@APPNUM@" />
    1.20 +            </intent-filter>
    1.21 +            <intent-filter>
    1.22 +                <action android:name="org.mozilla.gecko.ACTION_ALERT_CALLBACK" />
    1.23 +            </intent-filter>
    1.24 +        </activity>
    1.25 +#endif

mercurial