History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2ad39edbd856f3ea1177788aff7e653e593781eb 19-Jul-2014 Yorke Lee <yorkelee@google.com> Rename voicemail permissions

Rename READ_ALL_VOICEMAIL to READ_VOICEMAIL, and MANAGE_VOICEMAIL
to WRITE_VOICEMAIL
Bug: 16400686

Change-Id: I45d841b886c2bbe230c2f13fddbce41a729b6c61
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
2ce22af86c7d6ea3c7d2944666609cbdbf9adc53 10-Jul-2014 Yorke Lee <yorkelee@google.com> Fix permission denial when cleaning up voicemail

Revert the change to use checkCallingPermission instead of
checkCallingOrSelfPermission when checking permissions.

Fixes a crash when CP2 runs its own voicemail cleanup service

Change-Id: I176ab9a3537bcfd37c76106750bc3be821fd615d
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
ab2ec1d4316770e2ce8dc47dd1ae71430cd70e36 25-Jun-2014 Yorke Lee <yorkelee@google.com> Add manage voicemail permission (2/4)

Update CallLogProvider and VoicemailProvider to provide read/write access to
voicemails based on their respective permissions.

Also update tests to reflect the new world.

Bug: 6948882

Change-Id: I26e960eae24dc1b8bd4a372420d4c42f242c88d3
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
3ccaf5590a7ed2fca780f9b7fc46328d0f78a2ee 17-Jun-2014 fafaisland <fafaisland@google.com> Add READ_ALL_VOICEMAILS Permision to VoicemailPermissions, VoicemailContentProvider
and CallLogProvider

Bug:15695227

Change-Id: I244541c847c07450535a52d0bf38199b55387202
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
98a77ec8057c5fe0ff487ca7d0910312693e5689 03-Aug-2011 Debashish Chatterjee <debashishc@google.com> Renamed permission READ_WRITE_OWN_VOICEMAIL to ADD_VOICEMAIL

The framework changes to add new permission ADD_VOICEMAIL went in
change-Id: I515e7967bdb0e8498a60a32983f9122ce10dcc4a.
And the contacts app to start using the new permission went in
change-id: I188a109b69228e58a2c9b1d9a234a270df60555a

Bug: 5098551
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
791a25b9f228bed8d8bb2febadbd883452555d89 20-Jul-2011 Debashish Chatterjee <debashishc@google.com> Get rid of voicemail permissions from contacts content provider.

They are now defined in framework/base. submitted in
https://android-git.corp.google.com/g/119573

Bug: 5049309
Change-Id: I9927efe575b3a8b098599154c213840564023dfd
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
38eed6e2849f3e4fcfb00054f13dd19f7525a199 01-Jul-2011 Flavio Lerda <flerda@google.com> Change the way voicemail permissions are enforced.

Contacts and ContactsProvider share the same process, therefore calls
by the Contacts app to the content provider for voicemail are not
considered to be IPCs and therefore the current permission checks would
fail for it.

Change-Id: I3fd8ea7fa86bf2454d117cbb155fbb8a522b39e2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java
aafbe295d67686870c64c74a59e589d1dfb506fa 20-Jun-2011 Debashish Chatterjee <debashishc@google.com> Introduced query param 'include_voicemails' for call_log uri.

- by default only call entries (i.e. no voicemails) are returned.
- if include_voicemails is set to true then also include voicemail
records, but only if the caller has full voicemail permission.
- voicemail record can only be inserted through call_log provider if
include_voicemails is set.

Change-Id: I98f6778ace64fa752dc0525c5ce4e5eb83b2e689
/packages/providers/ContactsProvider/src/com/android/providers/contacts/VoicemailPermissions.java