51efddbd3bb304de2dd47fa8cd1114ac555958bb |
|
05-Apr-2017 |
Alan Viverette <alanv@google.com> |
Remove unnecessary casts on calls to findViewById Just frameworks/ this time. More paths to come. Bug: 24137209 Test: make -j32 Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
f6d424f133563fb3fc75d8fd260e6e7ed4608ef6 |
|
21-Sep-2016 |
Svet Ganov <svetoslavganov@google.com> |
While-list apps to access account if already saw it Sync adapters without an account access cannot run until the user approves the account access (for the case the account access is not allowed by other policy such as being singed with the same cert as the authenticator). However, if the sync adapter package already got the account from another app which means it already saw the account we white-list the sync adapter app to access the account as it already saw it - the bird is out of the cage. bug:31162498 Change-Id: I2b72f3b0d6307561ed68db2f2e9c900b15e8d098
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
5cb2973495084f8ce3433b579e4b4962ed9d7efc |
|
12-Jul-2016 |
Svetoslav Ganov <svetoslavganov@google.com> |
Only sync adapters with access can see an account - framework It was possible for a sync adapter without accounts access to see the account which it is supposed to sync which can be used to identify the user. This change ensures that only sync adapters with account access can run (which results in seeing the account), otherwise we involve the user to approve access only to this account. A sync adapter can access an account if one of these is true: - it is signed as the authenticator for this account - has the GET_ACCOUNTS permission - has an auth token for the account - it is a preinstalled app (system or privileged) The main thing we need to figure out is if the extra prompts for giving access to a sync adapter to the account create too much friction. bug:28163381 Change-Id: Ie083bb681b5a2aed81ca5f6a062193a175fad77e
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
d9640ec712806508877868d08aafaa2d715ff441 |
|
23-May-2012 |
Fred Quintana <fredq@google.com> |
Add an updateAppPermission() API call to the AccountManagerService AIDL and have the GrantCredentialsPermissionActivity call that instead of a static so that it can be made to run in a different process than the AccountManagerService. Protect this call by checking that the caller has the same UID as the system process. Bug: 6545417 Change-Id: I295e65cad68883349a47e7927c171af45c89b229
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
04e0d265e3385e9d1fbc35e43c4e8caffbbe3290 |
|
14-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Make SyncManager and AccountManagerService multi-user aware. AccountManagerService - Maintain multiple account lists, one per user - Keep multiple databases of accounts - Account db moved to /data/system/users/<userid>/ SyncManager - SyncStorageEngine keeps track of multiple users' accounts. - SyncQueue maintained as a single instance, queueing requests from multiple users. - Changed some methods to take userId arguments - Removed some deadc0de - Store the userId in the SyncOperation, so we know which provider instance to bind to when queued operations are processed. ContentService - Pass along the userid to sync manager calls. ActivityManagerService: - Fixed a bug in cancelIntentSender - Don't bring other user's task forward when resetting tasks. Updated tests Change-Id: If317340ef68e902787aa3f5ceb4cf96f14aea695
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
46703b099516c383a6882815bcf9cd4df0ec538d |
|
07-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Tolerate missing AccountManager resource, not just missing resource name In addition to the primary change in the subject, also some minor cleanup of javadoc, typos, CloseGuard warning, etc found while working on a new AbstractAccountAuthenticator. Change-Id: I73f3408773a43a0021a15f8d051fd3dbbdf898a5
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
c91466f56a777ab44a9a025e9d51f576e21dcce9 |
|
22-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3378333 - Holo-style layout for granting permissions Change-Id: Ie1bb925db3ddd8343c9756e220a0d821f4d31c6d
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
5f383ad9695a62d6c1aeb97c8e550d7fffe26244 |
|
03-Dec-2010 |
Costin Manolache <costin@google.com> |
Fix bug in permission grant system. Change-Id: Ieae1a576fdcba30b24e0430f322843369de2a697
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
382601fc8babccee0d0b953ecd9bef745d126996 |
|
25-Mar-2010 |
Fred Quintana <fredq@google.com> |
check for nulls Change-Id: Ie02749db1dceb4288a70e5b28040459d669904c1 http://b/issue?id=2527346
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
c4989b1b75848acbeaf53850fbcfbf2f8812e325 |
|
13-Oct-2009 |
Fred Quintana <fredq@google.com> |
update the authtoken permission granting UI http://b/issue?id=2165284
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
f7ae77cd67f1a3993b8e56c1af4720a7adf4e69d |
|
03-Oct-2009 |
Fred Quintana <fredq@google.com> |
account manager api review changes
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
ffd0cb04f97e62d286d185c520580d81a9c328b1 |
|
16-Aug-2009 |
Fred Quintana <fredq@google.com> |
do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|
d4a1d2e14297a3387fdb5761090961e714370492 |
|
17-Jul-2009 |
Fred Quintana <fredq@google.com> |
add account manager permission checking
/frameworks/base/core/java/android/accounts/GrantCredentialsPermissionActivity.java
|