commit | 4aece9536ed64da965fd42da07a393f935abd6b1 | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Sat May 02 22:22:54 2015 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Mon May 11 11:39:05 2015 -0700 |
tree | f7b55745b75b1f2bcaa40fddd4c1701e72b92d18 | |
parent | 81c93829582aac6cd8717511216611f37cc9c4c5 [diff] |
Dynamically check for permission denials Don't crash when performing certain operations that the dialer might not have permissions to execute: * Access voicemail provider * Certain TelecomManager methods Add a class TelecomUtil that checks for permissions/default dialer status, and handles the privileged operations appropriately. Bug: 20266292 Change-Id: Ibe8a85440b9ca20169b5ce3be24d1a385caaebb6