summaryrefslogtreecommitdiffstats
path: root/core/java/android/accounts/AccountManager.java
diff options
context:
space:
mode:
authorCostin Manolache <costin@google.com>2010-12-13 14:50:45 -0800
committerCostin Manolache <costin@google.com>2010-12-17 11:26:34 -0800
commita40c6304deb860f10a51ce950ac1abc21a23d08b (patch)
treecacc7d7fe7a65d61f0d0cd3a77212529fe32ffac /core/java/android/accounts/AccountManager.java
parent43c0db48d265a3d8f136d107e181e8c23455ec37 (diff)
downloadframeworks_base-a40c6304deb860f10a51ce950ac1abc21a23d08b.zip
frameworks_base-a40c6304deb860f10a51ce950ac1abc21a23d08b.tar.gz
frameworks_base-a40c6304deb860f10a51ce950ac1abc21a23d08b.tar.bz2
Add a new attribute to auth descriptors to indicate custom handling of permission and token caching
Change-Id: Icf6bd0e7bf265db9ef8bf368e8f3d8e91182f834
Diffstat (limited to 'core/java/android/accounts/AccountManager.java')
-rw-r--r--core/java/android/accounts/AccountManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/accounts/AccountManager.java b/core/java/android/accounts/AccountManager.java
index fd3a0d0..6388dc5 100644
--- a/core/java/android/accounts/AccountManager.java
+++ b/core/java/android/accounts/AccountManager.java
@@ -188,6 +188,12 @@ public class AccountManager {
public static final String KEY_ERROR_CODE = "errorCode";
public static final String KEY_ERROR_MESSAGE = "errorMessage";
public static final String KEY_USERDATA = "userdata";
+ /**
+ * Authenticators using 'customTokens' option will also get the UID of the
+ * caller
+ */
+ public static final String KEY_CALLER_UID = "callerUid";
+ public static final String KEY_CALLER_PID = "callerPid";
public static final String ACTION_AUTHENTICATOR_INTENT =
"android.accounts.AccountAuthenticator";