History log of /packages/apps/ContactsCommon/src/com/android/contacts/common/activity/RequestPermissionsActivityBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
67345f40d600413e22530d097e8b6a41ee1fbab5 12-Aug-2015 Yorke Lee <yorkelee@google.com> Correctly handle empty permissions array in callback

If permissions string array is empty, don't enter an infinite loop.

Bug: 22946608
Change-Id: I67056f33ad8835577bb68340676d72fbba7ac965
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/RequestPermissionsActivityBase.java
60951f8043cf8fac64278bbca6aae23fb4d1f848 23-Jul-2015 Walter Jang <wjang@google.com> Delay AccountTypeManager init until we have the Contacts permission 2/2

Bug 22690336

Change-Id: I6709e09f4f1a5f561a2dce06c5684f76945ddb9b
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/RequestPermissionsActivityBase.java
c1b7328b2f6d95481a705e58744d00fa43c19434 24-Jun-2015 Brian Attwell <brianattwell@google.com> Improve Contacts' permission handling

Instead of repeatedly asking the user for the same permissions
over-and-over, instead only ask them once when they open an activity.
If they give us all the permissions we require, then allow them to continue.
If not, close the activity and show the user a toast.

Bug: 21791169
Change-Id: Idae927d525124ed8a7081bd5a8edbd24e1ba3190
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/RequestPermissionsActivityBase.java