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

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     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>
    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" />
    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"/>
    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"/>
    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" />
    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" />
    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>
    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>
    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>
    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" >
    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