Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1b2ac6a1 authored by Manish Kumar's avatar Manish Kumar Committed by Suresh Koleti
Browse files

Revert "Compilation Fix."

This reverts commit 17558f9f

Change-Id: I7f241b4131f7a3fdd6755a06e74fff1b8d577622
CRs-Fixed: 811720
parent b489294f
Loading
Loading
Loading
Loading
+1 −20
Original line number Diff line number Diff line
@@ -90,28 +90,9 @@ public class CallActivity extends Activity {
        if (Intent.ACTION_CALL.equals(action) ||
                Intent.ACTION_CALL_PRIVILEGED.equals(action) ||
                Intent.ACTION_CALL_EMERGENCY.equals(action)) {
            boolean isAddParticipant = intent.getBooleanExtra(
                    TelephonyProperties.ADD_PARTICIPANT_KEY, false);
            Log.d(this, "isAddparticipant = "+isAddParticipant);
            if (isAddParticipant) {
                String number = PhoneNumberUtils.getNumberFromIntent(intent, this);
                boolean isConferenceUri = intent.getBooleanExtra(
                        TelephonyProperties.EXTRA_DIAL_CONFERENCE_URI, false);
                if (!isConferenceUri) {
                    number = PhoneNumberUtils.stripSeparators(number);
                }
                CallsManager callsManager = CallsManager.getInstance();
                if (callsManager != null) {
                    callsManager.addParticipant(number);
                    callsManager.getInCallController().bringToForeground(false);
                } else {
                    Log.w(this, "CallsManager is null, can't process add Participant");
                }
            } else {
            processOutgoingCallIntent(intent);
        }
    }
    }

    private void verifyCallAction(Intent intent) {
        if (CallActivity.class.getName().equals(intent.getComponent().getClassName())) {