Self managed CS implementation.

Add required AIDL changes to pass along connection fails.

Test: Manual
Bug: 34159263
Merged-In: I0a24ff786b2867aa4e19ac79959df54a04983251
Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
This commit is contained in:
Tyler Gunn
2017-01-31 10:49:05 -08:00
parent 161ac8b006
commit 44e019140e
3 changed files with 68 additions and 0 deletions

View File

@@ -1517,6 +1517,10 @@ public class TelecomManager {
* otherwise.
*/
public boolean isIncomingCallPermitted(PhoneAccountHandle phoneAccountHandle) {
if (phoneAccountHandle == null) {
return false;
}
ITelecomService service = getTelecomService();
if (service != null) {
try {