commit | 827a90fb309fd26f5b155c1ad612512011d58437 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Thu Sep 17 18:10:58 2015 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Thu Sep 17 18:10:58 2015 -0700 |
tree | 20156206a53e8cf3359e79919ff91d24f06223fc | |
parent | b2802803d90ff355a04109cc570bf69346d4102a [diff] |
Wrap some privileged Telecom operations with permission checks If the Dialer is not the default dialer and does not have the CALL_PHONE permission, don't call TelecomManager methods that will cause SecurityExceptions. Bug: 20266292 Change-Id: I229dd045269a262632c4a911e2321203443de684