1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/services/manifests/SyncAndroidManifest_activities.xml.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,92 @@ 1.4 + <activity 1.5 + android:theme="@style/SyncTheme" 1.6 + android:icon="@drawable/icon" 1.7 + android:label="@string/sync_app_name" 1.8 + android:configChanges="keyboardHidden|orientation|screenSize" 1.9 + android:windowSoftInputMode="adjustResize|stateAlwaysHidden" 1.10 + android:taskAffinity="org.mozilla.gecko.sync.setup" 1.11 + android:name="org.mozilla.gecko.sync.setup.activities.SetupSyncActivity" > 1.12 + <!-- android:configChanges: SetupSyncActivity will handle orientation changes; no longer restarts activity (default) --> 1.13 + <intent-filter> 1.14 + <action android:name="android.intent.action.MAIN" /> 1.15 + <!-- Adding a launcher will make Firefox Sync appear 1.16 + on the Apps screen, which we only want when testing. --> 1.17 + <!-- <category android:name="android.intent.category.LAUNCHER" /> --> 1.18 + </intent-filter> 1.19 + </activity> 1.20 + 1.21 + <!-- On tablets, SyncTheme is in a dialog, which is not what 1.22 + we want for install instructions. --> 1.23 + <activity 1.24 + android:theme="@style/Gecko" 1.25 + android:name="org.mozilla.gecko.sync.setup.activities.WebViewActivity" /> 1.26 + 1.27 + <activity 1.28 + android:theme="@style/SyncTheme" 1.29 + android:clearTaskOnLaunch="true" 1.30 + android:name="org.mozilla.gecko.sync.setup.activities.AccountActivity" 1.31 + android:windowSoftInputMode="adjustResize|stateHidden"/> 1.32 + 1.33 + <activity 1.34 + android:theme="@style/SyncTheme" 1.35 + android:clearTaskOnLaunch="true" 1.36 + android:name="org.mozilla.gecko.sync.setup.activities.RedirectToSetupActivity" 1.37 + android:windowSoftInputMode="adjustResize|stateHidden"/> 1.38 + 1.39 + <!-- Secondary Sync activities. These depend on other activities for context 1.40 + (display a result, or a next step). Since these don't make sense as stand-alone 1.41 + activities, set excludeFromRecents="true" --> 1.42 + <activity 1.43 + android:theme="@style/SyncTheme" 1.44 + android:noHistory="true" 1.45 + android:excludeFromRecents="true" 1.46 + android:name="org.mozilla.gecko.sync.setup.activities.SetupFailureActivity" /> 1.47 + 1.48 + <activity 1.49 + android:theme="@style/SyncTheme" 1.50 + android:noHistory="true" 1.51 + android:excludeFromRecents="true" 1.52 + android:name="org.mozilla.gecko.sync.setup.activities.SetupSuccessActivity" /> 1.53 + 1.54 + <activity 1.55 + android:theme="@style/SyncTheme" 1.56 + android:excludeFromRecents="true" 1.57 + android:taskAffinity="org.mozilla.gecko.sync.setup" 1.58 + android:name="org.mozilla.gecko.sync.config.activities.SelectEnginesActivity"> 1.59 + <intent-filter> 1.60 + <action android:name="android.intent.action.MAIN" /> 1.61 + </intent-filter> 1.62 + </activity> 1.63 + 1.64 + <receiver 1.65 + android:name="org.mozilla.gecko.sync.receivers.UpgradeReceiver"> 1.66 + <intent-filter> 1.67 + <action android:name="android.intent.action.PACKAGE_REPLACED" /> 1.68 + <data android:scheme="package"/> 1.69 + </intent-filter> 1.70 + </receiver> 1.71 + 1.72 + <receiver 1.73 + android:name="org.mozilla.gecko.sync.receivers.SyncAccountDeletedReceiver" 1.74 + android:permission="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.permission.PER_ACCOUNT_TYPE"> 1.75 + <intent-filter> 1.76 + <action android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.accounts.SYNC_ACCOUNT_DELETED_ACTION"/> 1.77 + </intent-filter> 1.78 + </receiver> 1.79 + 1.80 + <activity 1.81 + android:theme="@style/SyncTheme" 1.82 + android:excludeFromRecents="true" 1.83 + android:icon="@drawable/icon" 1.84 + android:label="@string/sync_title_send_tab" 1.85 + android:configChanges="keyboardHidden|orientation|screenSize" 1.86 + android:windowSoftInputMode="adjustResize|stateHidden" 1.87 + android:taskAffinity="org.mozilla.gecko.sync.setup" 1.88 + android:name="org.mozilla.gecko.sync.setup.activities.SendTabActivity" > 1.89 + 1.90 + <intent-filter> 1.91 + <action android:name="android.intent.action.SEND" /> 1.92 + <category android:name="android.intent.category.DEFAULT" /> 1.93 + <data android:mimeType="text/plain" /> 1.94 + </intent-filter> 1.95 + </activity>