add AccountManager.testHasFeatures() to make it easy to check if a given account has a set of features

This commit is contained in:
Fred Quintana
2010-01-13 17:28:39 -08:00
parent 8178753301
commit bb68a4fc54
4 changed files with 120 additions and 0 deletions

View File

@@ -14690,6 +14690,25 @@
<parameter name="value" type="java.lang.String">
</parameter>
</method>
<method name="testHasFeatures"
return="android.accounts.AccountManagerFuture&lt;java.lang.Boolean&gt;"
abstract="false"
native="false"
synchronized="false"
static="false"
final="false"
deprecated="not deprecated"
visibility="public"
>
<parameter name="account" type="android.accounts.Account">
</parameter>
<parameter name="features" type="java.lang.String[]">
</parameter>
<parameter name="callback" type="android.accounts.AccountManagerCallback&lt;java.lang.Boolean&gt;">
</parameter>
<parameter name="handler" type="android.os.Handler">
</parameter>
</method>
<method name="updateCredentials"
return="android.accounts.AccountManagerFuture&lt;android.os.Bundle&gt;"
abstract="false"