From a40c6304deb860f10a51ce950ac1abc21a23d08b Mon Sep 17 00:00:00 2001 From: Costin Manolache Date: Mon, 13 Dec 2010 14:50:45 -0800 Subject: Add a new attribute to auth descriptors to indicate custom handling of permission and token caching Change-Id: Icf6bd0e7bf265db9ef8bf368e8f3d8e91182f834 --- core/java/android/accounts/AccountManager.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/java/android/accounts/AccountManager.java') 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"; -- cgit v1.1