Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <activity |
michael@0 | 2 | android:theme="@style/SyncTheme" |
michael@0 | 3 | android:icon="@drawable/icon" |
michael@0 | 4 | android:label="@string/sync_app_name" |
michael@0 | 5 | android:configChanges="keyboardHidden|orientation|screenSize" |
michael@0 | 6 | android:windowSoftInputMode="adjustResize|stateAlwaysHidden" |
michael@0 | 7 | android:taskAffinity="org.mozilla.gecko.sync.setup" |
michael@0 | 8 | android:name="org.mozilla.gecko.sync.setup.activities.SetupSyncActivity" > |
michael@0 | 9 | <!-- android:configChanges: SetupSyncActivity will handle orientation changes; no longer restarts activity (default) --> |
michael@0 | 10 | <intent-filter> |
michael@0 | 11 | <action android:name="android.intent.action.MAIN" /> |
michael@0 | 12 | <!-- Adding a launcher will make Firefox Sync appear |
michael@0 | 13 | on the Apps screen, which we only want when testing. --> |
michael@0 | 14 | <!-- <category android:name="android.intent.category.LAUNCHER" /> --> |
michael@0 | 15 | </intent-filter> |
michael@0 | 16 | </activity> |
michael@0 | 17 | |
michael@0 | 18 | <!-- On tablets, SyncTheme is in a dialog, which is not what |
michael@0 | 19 | we want for install instructions. --> |
michael@0 | 20 | <activity |
michael@0 | 21 | android:theme="@style/Gecko" |
michael@0 | 22 | android:name="org.mozilla.gecko.sync.setup.activities.WebViewActivity" /> |
michael@0 | 23 | |
michael@0 | 24 | <activity |
michael@0 | 25 | android:theme="@style/SyncTheme" |
michael@0 | 26 | android:clearTaskOnLaunch="true" |
michael@0 | 27 | android:name="org.mozilla.gecko.sync.setup.activities.AccountActivity" |
michael@0 | 28 | android:windowSoftInputMode="adjustResize|stateHidden"/> |
michael@0 | 29 | |
michael@0 | 30 | <activity |
michael@0 | 31 | android:theme="@style/SyncTheme" |
michael@0 | 32 | android:clearTaskOnLaunch="true" |
michael@0 | 33 | android:name="org.mozilla.gecko.sync.setup.activities.RedirectToSetupActivity" |
michael@0 | 34 | android:windowSoftInputMode="adjustResize|stateHidden"/> |
michael@0 | 35 | |
michael@0 | 36 | <!-- Secondary Sync activities. These depend on other activities for context |
michael@0 | 37 | (display a result, or a next step). Since these don't make sense as stand-alone |
michael@0 | 38 | activities, set excludeFromRecents="true" --> |
michael@0 | 39 | <activity |
michael@0 | 40 | android:theme="@style/SyncTheme" |
michael@0 | 41 | android:noHistory="true" |
michael@0 | 42 | android:excludeFromRecents="true" |
michael@0 | 43 | android:name="org.mozilla.gecko.sync.setup.activities.SetupFailureActivity" /> |
michael@0 | 44 | |
michael@0 | 45 | <activity |
michael@0 | 46 | android:theme="@style/SyncTheme" |
michael@0 | 47 | android:noHistory="true" |
michael@0 | 48 | android:excludeFromRecents="true" |
michael@0 | 49 | android:name="org.mozilla.gecko.sync.setup.activities.SetupSuccessActivity" /> |
michael@0 | 50 | |
michael@0 | 51 | <activity |
michael@0 | 52 | android:theme="@style/SyncTheme" |
michael@0 | 53 | android:excludeFromRecents="true" |
michael@0 | 54 | android:taskAffinity="org.mozilla.gecko.sync.setup" |
michael@0 | 55 | android:name="org.mozilla.gecko.sync.config.activities.SelectEnginesActivity"> |
michael@0 | 56 | <intent-filter> |
michael@0 | 57 | <action android:name="android.intent.action.MAIN" /> |
michael@0 | 58 | </intent-filter> |
michael@0 | 59 | </activity> |
michael@0 | 60 | |
michael@0 | 61 | <receiver |
michael@0 | 62 | android:name="org.mozilla.gecko.sync.receivers.UpgradeReceiver"> |
michael@0 | 63 | <intent-filter> |
michael@0 | 64 | <action android:name="android.intent.action.PACKAGE_REPLACED" /> |
michael@0 | 65 | <data android:scheme="package"/> |
michael@0 | 66 | </intent-filter> |
michael@0 | 67 | </receiver> |
michael@0 | 68 | |
michael@0 | 69 | <receiver |
michael@0 | 70 | android:name="org.mozilla.gecko.sync.receivers.SyncAccountDeletedReceiver" |
michael@0 | 71 | android:permission="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.permission.PER_ACCOUNT_TYPE"> |
michael@0 | 72 | <intent-filter> |
michael@0 | 73 | <action android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.accounts.SYNC_ACCOUNT_DELETED_ACTION"/> |
michael@0 | 74 | </intent-filter> |
michael@0 | 75 | </receiver> |
michael@0 | 76 | |
michael@0 | 77 | <activity |
michael@0 | 78 | android:theme="@style/SyncTheme" |
michael@0 | 79 | android:excludeFromRecents="true" |
michael@0 | 80 | android:icon="@drawable/icon" |
michael@0 | 81 | android:label="@string/sync_title_send_tab" |
michael@0 | 82 | android:configChanges="keyboardHidden|orientation|screenSize" |
michael@0 | 83 | android:windowSoftInputMode="adjustResize|stateHidden" |
michael@0 | 84 | android:taskAffinity="org.mozilla.gecko.sync.setup" |
michael@0 | 85 | android:name="org.mozilla.gecko.sync.setup.activities.SendTabActivity" > |
michael@0 | 86 | |
michael@0 | 87 | <intent-filter> |
michael@0 | 88 | <action android:name="android.intent.action.SEND" /> |
michael@0 | 89 | <category android:name="android.intent.category.DEFAULT" /> |
michael@0 | 90 | <data android:mimeType="text/plain" /> |
michael@0 | 91 | </intent-filter> |
michael@0 | 92 | </activity> |