summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorHongming Jin <hongmingjin@google.com>2016-09-14 23:23:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-14 23:23:05 +0000
commit8b75ebf0bbac06ad7949921b30987c3311434939 (patch)
treecc5090622797f00f7811d7dc0c6debbedba662e1 /core/java
parent72ed4c3735895041f083639edb9ee3459c28a93e (diff)
parent9342e137c68e9d31e61b774f7a6583ed5f8353f9 (diff)
Only return password for account session flow if the caller is signed with system key and have get_password permission.
am: 9342e137c6 Change-Id: I932c85bdc302899b42342d3efc249a5420da764c
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/accounts/AccountManager.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/accounts/AccountManager.java b/core/java/android/accounts/AccountManager.java
index 7465ed92e469..d3551b73cf3f 100644
--- a/core/java/android/accounts/AccountManager.java
+++ b/core/java/android/accounts/AccountManager.java
@@ -2676,8 +2676,6 @@ public class AccountManager {
* <ul>
* <li>{@link #KEY_ACCOUNT_SESSION_BUNDLE} - encrypted Bundle for
* adding the the to the device later.
- * <li>{@link #KEY_PASSWORD} - optional, the password or password
- * hash of the account.
* <li>{@link #KEY_ACCOUNT_STATUS_TOKEN} - optional, token to check
* status of the account
* </ul>
@@ -2765,8 +2763,6 @@ public class AccountManager {
* <ul>
* <li>{@link #KEY_ACCOUNT_SESSION_BUNDLE} - encrypted Bundle for
* updating the local credentials on device later.
- * <li>{@link #KEY_PASSWORD} - optional, the password or password
- * hash of the account
* <li>{@link #KEY_ACCOUNT_STATUS_TOKEN} - optional, token to check
* status of the account
* </ul>