mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
95 lines
4.3 KiB
XML
95 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.PACKAGE_REPLACED" />
|
|
<data android:scheme="package"/>
|
|
</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>
|
|
<action android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.accounts.SYNC_ACCOUNT_DELETED_ACTION"/>
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
#ifndef MOZ_ANDROID_SHARE_OVERLAY
|
|
<activity
|
|
android:theme="@style/SyncTheme"
|
|
android:excludeFromRecents="true"
|
|
android:icon="@drawable/icon"
|
|
android:label="@string/sync_title_send_tab"
|
|
android:configChanges="keyboardHidden|orientation|screenSize|locale|layoutDirection"
|
|
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/plain" />
|
|
</intent-filter>
|
|
</activity>
|
|
#endif
|