Bug 1376982 - Add "action" parameter to the adjust deep link r=nechen
We need to open the accounts page directly to the sign-in page, instead of the default sign-up page
MozReview-Commit-ID: 9uVURY9hVvt
--- a/mobile/android/base/java/org/mozilla/gecko/LauncherActivity.java
+++ b/mobile/android/base/java/org/mozilla/gecko/LauncherActivity.java
@@ -232,17 +232,17 @@ public class LauncherActivity extends Ac
private void dispatchAccountsDeepLink(final SafeIntent safeIntent) {
final Intent intent = new Intent(Intent.ACTION_VIEW);
final Uri intentUri = safeIntent.getData();
final String accountsToken = intentUri.getQueryParameter(DeepLinkContract.ACCOUNTS_TOKEN_PARAM);
final String entryPoint = intentUri.getQueryParameter(DeepLinkContract.ACCOUNTS_ENTRYPOINT_PARAM);
- String dispatchUri = AboutPages.ACCOUNTS + "?";
+ String dispatchUri = AboutPages.ACCOUNTS + "?action=signin&";
// If token is missing from the deep-link, we'll still open the accounts page.
if (accountsToken != null) {
dispatchUri = dispatchUri.concat(DeepLinkContract.ACCOUNTS_TOKEN_PARAM + "=" + accountsToken + "&");
}
// Pass through the entrypoint.
if (entryPoint != null) {