Adding some missing incoming CallManager logic.
Change-Id: I0ce0218561a40de02313771e1f36b31914ad6eac
diff --git a/src/com/android/telecomm/CallActivity.java b/src/com/android/telecomm/CallActivity.java
index 350bf56..7fc027f 100644
--- a/src/com/android/telecomm/CallActivity.java
+++ b/src/com/android/telecomm/CallActivity.java
@@ -17,7 +17,6 @@
package com.android.telecomm;
import android.app.Activity;
-import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
@@ -26,8 +25,6 @@
import android.util.Log;
import android.widget.Toast;
-import com.android.telecomm.exceptions.RestrictedCallException;
-
/**
* Activity that handles system CALL actions and forwards them to {@link CallsManager}.
* Handles all three CALL action types: CALL, CALL_PRIVILEGED, and CALL_EMERGENCY.
@@ -112,11 +109,7 @@
// non-trivial/voluminous.
String handle = intent.getDataString();
ContactInfo contactInfo = null;
- try {
- mCallsManager.processOutgoingCallIntent(handle, contactInfo);
- } catch (RestrictedCallException e) {
- // TODO(gilad): Handle or explicitly state to be ignored.
- }
+ mCallsManager.processOutgoingCallIntent(handle, contactInfo);
}
/**