commit | 45515659438964ec47f4feac247f0e9dce587c86 | [log] [tgz] |
---|---|---|
author | Jaikumar Ganesh <jaikumar@google.com> | Thu Apr 23 15:20:21 2009 -0700 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Fri May 29 11:38:00 2009 -0700 |
tree | 20591901118276470ed49591d9387b0f5c8e97ab | |
parent | d9cc7659fa9b8544e2a3ca7b7040fbd79afdf7ea [diff] |
Enforce permissions for PhoneStateListener events. PhoneStateListener events like LISTEN_CALL_STATE_CHANGED, have privacy information like phone numbers and hence, need to be protected with a permission. The permission READ_PHONE_STATE is used for this purpose. Use the permission trick to ensure backward compatability.