diff options
author | Yorke Lee <yorkelee@google.com> | 2015-09-18 12:54:59 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-09-22 09:47:04 -0700 |
commit | 762b357ec94aef3e7ee6f991c553aa950840a8bc (patch) | |
tree | ae5834a64f7f38fe8698c166156d92f9c9f0c06f /Android.mk | |
parent | a5dd7f93654181ebf927723d19e2f84a7e4c6ceb (diff) |
Protect against more Telecom privileged operations
Make sure that all invocations of TelecomManager methods that
could possibly require a permission are protected by a permission
check.
Some of these are overcautious - for example, the UI should never
show the option to return to a call (READ_PHONE_STATE) if we didn't
detect an active call (READ_PHONE_STATE) in the first place, so
it is not strictly necessary to protect against the former. But not
crashing is the most preferable of all options.
Bug: 20266292
Change-Id: Id91dd16e34320a5e607f91dbce9a4296025eeaaf
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions