summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-11-12 00:01:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-11-12 00:01:20 +0000
commit3c4f8067c0ce904fb05c8ef427cf8ff083ba334e (patch)
tree3b845442b2bd74c73a5ba791593673ddba0cb097
parent7fa403d504af482b40e08a9fb33fb3b2472239f3 (diff)
parent1d9fbd75dd5b79519bb3de68f295efcac2d12d67 (diff)
Merge "Set call initiation to INITIATION_EXTERNAL by default" into ub-contactsdialer-a-dev
-rw-r--r--InCallUI/src/com/android/incallui/Call.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/InCallUI/src/com/android/incallui/Call.java b/InCallUI/src/com/android/incallui/Call.java
index ab4e2ca85..9d9e7bf24 100644
--- a/InCallUI/src/com/android/incallui/Call.java
+++ b/InCallUI/src/com/android/incallui/Call.java
@@ -208,11 +208,12 @@ public class Call {
public static final int INITIATION_VOICEMAIL_LOG = 9;
public static final int INITIATION_CALL_DETAILS = 10;
public static final int INITIATION_QUICK_CONTACTS = 11;
+ public static final int INITIATION_EXTERNAL = 12;
public DisconnectCause disconnectCause;
public boolean isIncoming = false;
public int contactLookupResult = LOOKUP_UNKNOWN;
- public int callInitiationMethod = INITIATION_UNKNOWN;
+ public int callInitiationMethod = INITIATION_EXTERNAL;
// If this was a conference call, the total number of calls involved in the conference.
public int conferencedCalls = 0;
public long duration = 0;
@@ -790,7 +791,7 @@ public class Call {
} else if (getIntentExtras() != null) {
getLogState().callInitiationMethod =
getIntentExtras().getInt(IntentUtil.EXTRA_CALL_INITIATION_TYPE,
- LogState.INITIATION_UNKNOWN);
+ LogState.INITIATION_EXTERNAL);
}
}