summaryrefslogtreecommitdiffstats
path: root/mobile/android/services/manifests
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /mobile/android/services/manifests
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/services/manifests')
-rw-r--r--mobile/android/services/manifests/FxAccountAndroidManifest_activities.xml.in63
-rw-r--r--mobile/android/services/manifests/FxAccountAndroidManifest_permissions.xml.in18
-rw-r--r--mobile/android/services/manifests/FxAccountAndroidManifest_services.xml.in34
3 files changed, 115 insertions, 0 deletions
diff --git a/mobile/android/services/manifests/FxAccountAndroidManifest_activities.xml.in b/mobile/android/services/manifests/FxAccountAndroidManifest_activities.xml.in
new file mode 100644
index 000000000..ad9542ad3
--- /dev/null
+++ b/mobile/android/services/manifests/FxAccountAndroidManifest_activities.xml.in
@@ -0,0 +1,63 @@
+ <activity
+ android:theme="@style/FxAccountTheme.FxAccountStatusActivity"
+ android:label="@string/fxaccount_status_activity_label"
+ android:clearTaskOnLaunch="true"
+ android:taskAffinity="@ANDROID_PACKAGE_NAME@.FXA"
+ android:name="org.mozilla.gecko.fxa.activities.FxAccountStatusActivity"
+ android:configChanges="locale|layoutDirection"
+ android:windowSoftInputMode="adjustResize">
+ <!-- Adding a launcher will make this activity appear on the
+ Apps screen, which we only want when testing. -->
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <!-- <category android:name="android.intent.category.LAUNCHER" /> -->
+ </intent-filter>
+ <intent-filter>
+ <action android:name="@ANDROID_PACKAGE_NAME@.ACTION_FXA_STATUS"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <receiver
+ android:name="org.mozilla.gecko.fxa.receivers.FxAccountUpgradeReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.PACKAGE_REPLACED" />
+ <data android:scheme="package"/>
+ </intent-filter>
+ </receiver>
+
+ <activity
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.activities.FxAccountGetStartedActivityWeb">
+ <intent-filter>
+ <action android:name="@ANDROID_PACKAGE_NAME@.ACTION_FXA_GET_STARTED"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.activities.FxAccountUpdateCredentialsActivityWeb">
+ <intent-filter>
+ <action android:name="@ANDROID_PACKAGE_NAME@.ACTION_FXA_UPDATE_CREDENTIALS"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.activities.FxAccountFinishMigratingActivityWeb">
+ <intent-filter>
+ <action android:name="@ANDROID_PACKAGE_NAME@.ACTION_FXA_FINISH_MIGRATING"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.activities.FxAccountConfirmAccountActivityWeb">
+ <intent-filter>
+ <action android:name="@ANDROID_PACKAGE_NAME@.ACTION_FXA_CONFIRM_ACCOUNT"/>
+ <category android:name="android.intent.category.DEFAULT"/>
+ </intent-filter>
+ </activity>
diff --git a/mobile/android/services/manifests/FxAccountAndroidManifest_permissions.xml.in b/mobile/android/services/manifests/FxAccountAndroidManifest_permissions.xml.in
new file mode 100644
index 000000000..d5c7e3e5c
--- /dev/null
+++ b/mobile/android/services/manifests/FxAccountAndroidManifest_permissions.xml.in
@@ -0,0 +1,18 @@
+ <uses-permission android:name="android.permission.GET_ACCOUNTS" />
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
+ <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
+ <uses-permission android:name="android.permission.USE_CREDENTIALS" />
+ <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
+ <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
+ <uses-permission android:name="android.permission.WRITE_SETTINGS" />
+ <uses-permission android:name="android.permission.READ_SYNC_STATS" />
+ <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
+
+ <!-- A signature level permission granted only to the Firefox
+ channels sharing an Android Account type. -->
+ <permission
+ android:name="@ANDROID_PACKAGE_NAME@_fxaccount.permission.PER_ACCOUNT_TYPE"
+ android:protectionLevel="signature">
+ </permission>
+
+ <uses-permission android:name="@ANDROID_PACKAGE_NAME@_fxaccount.permission.PER_ACCOUNT_TYPE" />
diff --git a/mobile/android/services/manifests/FxAccountAndroidManifest_services.xml.in b/mobile/android/services/manifests/FxAccountAndroidManifest_services.xml.in
new file mode 100644
index 000000000..a109d1ba3
--- /dev/null
+++ b/mobile/android/services/manifests/FxAccountAndroidManifest_services.xml.in
@@ -0,0 +1,34 @@
+ <service
+ android:exported="true"
+ android:name="org.mozilla.gecko.fxa.authenticator.FxAccountAuthenticatorService" >
+ <intent-filter >
+ <action android:name="android.accounts.AccountAuthenticator" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.accounts.AccountAuthenticator"
+ android:resource="@xml/fxaccount_authenticator" />
+ </service>
+
+ <service
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.receivers.FxAccountDeletedService" >
+ </service>
+
+ <service
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.sync.FxAccountProfileService" >
+ </service>
+
+ <!-- Firefox Sync. -->
+ <service
+ android:exported="false"
+ android:name="org.mozilla.gecko.fxa.sync.FxAccountSyncService" >
+ <intent-filter >
+ <action android:name="android.content.SyncAdapter" />
+ </intent-filter>
+
+ <meta-data
+ android:name="android.content.SyncAdapter"
+ android:resource="@xml/fxaccount_syncadapter" />
+ </service> \ No newline at end of file