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

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

mercurial