@@ -1782,7 +1782,8 @@ public AccountManagerFuture<Bundle> getAuthTokenByFeatures(
17821782 * <p>
17831783 * The most common case is to call this with one account type, e.g.:
17841784 * <p>
1785- * <pre> newChooseAccountsIntent(null, null, new String[]{"com.google"}, null);</pre>
1785+ * <pre> newChooseAccountsIntent(null, null, new String[]{"com.google"}, false, null,
1786+ * null, null, null);</pre>
17861787 * @param selectedAccount if specified, indicates that the {@link Account} is the currently
17871788 * selected one, according to the caller's definition of selected.
17881789 * @param allowableAccounts an optional {@link ArrayList} of accounts that are allowed to be
@@ -1792,13 +1793,14 @@ public AccountManagerFuture<Bundle> getAuthTokenByFeatures(
17921793 * when adding an account.
17931794 * @param alwaysPromptForAccount if set the account chooser screen is always shown, otherwise
17941795 * it is only shown when there is more than one account from which to choose
1795- * @param descriptionOverrideText if set, this string is used as the description in the
1796+ * @param descriptionOverrideText if non-null this string is used as the description in the
17961797 * accounts chooser screen rather than the default
1797- * @param addAccountAuthTokenType This {@link Bundle} is passed as the {@link #addAccount}
1798- * authTokenType
1799- * @param addAccountRequiredFeatures This {@link Bundle} is passed as the {@link #addAccount}
1800- * requiredFeatures
1798+ * @param addAccountAuthTokenType this string is passed as the {@link #addAccount}
1799+ * authTokenType parameter
1800+ * @param addAccountRequiredFeatures this string array is passed as the {@link #addAccount}
1801+ * requiredFeatures parameter
18011802 * @param addAccountOptions This {@link Bundle} is passed as the {@link #addAccount} options
1803+ * parameter
18021804 * @return an {@link Intent} that can be used to launch the ChooseAccount activity flow.
18031805 */
18041806 static public Intent newChooseAccountIntent (Account selectedAccount ,
0 commit comments