commit | dca6991691790faee98999fc8229e42f16483eed | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Wed Jul 31 18:35:40 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Wed Jul 31 18:35:40 2013 +0000 |
tree | d76131f1b9d4f4352e9040d608cf2e9ce27fb86c | |
parent | 1c881a003b0b787c0a61ff4719561af6bd7a1619 [diff] | |
parent | 179907ffde3b1c48737992ef35eb19f6b0259065 [diff] |
Merge "Setting number on the Call object."
diff --git a/common/src/com/android/services/telephony/common/Call.java b/common/src/com/android/services/telephony/common/Call.java index 700227d..99b5c32 100644 --- a/common/src/com/android/services/telephony/common/Call.java +++ b/common/src/com/android/services/telephony/common/Call.java
@@ -66,6 +66,10 @@ return mNumber; } + public void setNumber(String number) { + mNumber = number; + } + public int getState() { return mState; }
diff --git a/src/com/android/phone/CallModeler.java b/src/com/android/phone/CallModeler.java index 5d735a4..081926a 100644 --- a/src/com/android/phone/CallModeler.java +++ b/src/com/android/phone/CallModeler.java
@@ -218,6 +218,7 @@ mCallMap.containsValue(callId)); call = new Call(callId); + call.setNumber(conn.getAddress()); mCallMap.put(conn, call); } }