diff options
author | Evan Charlton <evanc@google.com> | 2014-11-07 16:23:47 -0800 |
---|---|---|
committer | Evan Charlton <evanc@google.com> | 2014-11-08 08:38:23 -0800 |
commit | 72d6625a51804acec2d9c9b38dc740a65443bc56 (patch) | |
tree | 399da2a82d569284ab400729abf998909ace6059 /src | |
parent | 99d00ab018325ebfa86206e847d48068065cdd9d (diff) |
Allow ILD information to be populated
Expose the dialpad's ILD (international / long distance) fields to be
populated by the dialer.
Bug: 13334252
Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/DialtactsActivity.java | 2 | ||||
-rw-r--r-- | src/com/android/dialer/dialpad/DialpadFragment.java | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java index 4b5b198a0..3c9b870dd 100644 --- a/src/com/android/dialer/DialtactsActivity.java +++ b/src/com/android/dialer/DialtactsActivity.java @@ -140,7 +140,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O /** * Fragment containing the dialpad that slides into view */ - private DialpadFragment mDialpadFragment; + protected DialpadFragment mDialpadFragment; /** * Fragment for searching phone numbers using the alphanumeric keyboard. diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 5695f1c48..6daa89cd1 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -519,6 +519,14 @@ public class DialpadFragment extends Fragment mStartedFromNewIntent = value; } + public void clearCallRateInformation() { + setCallRateInformation(null, null); + } + + public void setCallRateInformation(String countryName, String displayRate) { + mDialpadView.setCallRateInformation(countryName, displayRate); + } + /** * Sets formatted digits to digits field. */ |