gecko/mobile/android/services/manifests/SyncAndroidManifest_activities.xml.in

94 lines
4.3 KiB
XML

<activity
android:theme="@style/SyncTheme"
android:icon="@drawable/icon"
android:label="@string/sync_app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize|stateAlwaysHidden"
android:taskAffinity="org.mozilla.gecko.sync.setup"
android:name="org.mozilla.gecko.sync.setup.activities.SetupSyncActivity" >
<!-- android:configChanges: SetupSyncActivity will handle orientation changes; no longer restarts activity (default) -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<!-- Adding a launcher will make Firefox Sync appear
on the Apps screen, which we only want when testing. -->
<!-- <category android:name="android.intent.category.LAUNCHER" /> -->
</intent-filter>
</activity>
<!-- On tablets, SyncTheme is in a dialog, which is not what
we want for install instructions. -->
<activity
android:theme="@style/Gecko"
android:name="org.mozilla.gecko.sync.setup.activities.WebViewActivity" />
<activity
android:theme="@style/SyncTheme"
android:clearTaskOnLaunch="true"
android:name="org.mozilla.gecko.sync.setup.activities.AccountActivity"
android:windowSoftInputMode="adjustResize|stateHidden"/>
<activity
android:theme="@style/SyncTheme"
android:clearTaskOnLaunch="true"
android:name="org.mozilla.gecko.sync.setup.activities.RedirectToSetupActivity"
android:windowSoftInputMode="adjustResize|stateHidden"/>
<!-- Secondary Sync activities. These depend on other activities for context
(display a result, or a next step). Since these don't make sense as stand-alone
activities, set excludeFromRecents="true" -->
<activity
android:theme="@style/SyncTheme"
android:noHistory="true"
android:excludeFromRecents="true"
android:name="org.mozilla.gecko.sync.setup.activities.SetupFailureActivity" />
<activity
android:theme="@style/SyncTheme"
android:noHistory="true"
android:excludeFromRecents="true"
android:name="org.mozilla.gecko.sync.setup.activities.SetupSuccessActivity" />
<activity
android:theme="@style/SyncTheme"
android:excludeFromRecents="true"
android:taskAffinity="org.mozilla.gecko.sync.setup"
android:name="org.mozilla.gecko.sync.config.activities.SelectEnginesActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<receiver
android:name="org.mozilla.gecko.sync.receivers.UpgradeReceiver">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
</intent-filter>
</receiver>
<receiver
android:name="org.mozilla.gecko.sync.receivers.SyncAccountDeletedReceiver"
android:permission="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.permission.PER_ACCOUNT_TYPE">
<intent-filter>
<!-- This needs to be kept the same as
GlobalConstants.SYNC_ACCOUNT_DELETED_ACTION. -->
<action android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.accounts.SYNC_ACCOUNT_DELETED_ACTION"/>
</intent-filter>
</receiver>
<activity
android:theme="@style/SyncTheme"
android:excludeFromRecents="true"
android:icon="@drawable/icon"
android:label="@string/sync_app_name"
android:configChanges="keyboardHidden|orientation|screenSize"
android:windowSoftInputMode="adjustResize|stateHidden"
android:taskAffinity="org.mozilla.gecko.sync.setup"
android:name="org.mozilla.gecko.sync.setup.activities.SendTabActivity" >
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/*" />
</intent-filter>
</activity>