History log of /packages/services/Telephony/src/com/android/phone/PhoneUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b3ee4dc3dd39ebe765ebe6b535b3900bb95813d8 24-Jan-2015 Andrew Lee <anwlee@google.com> Restyle USSD AlertDialog.

+ Fix text color.
+ Tweak padding by adding FrameLayout and applying padding.
+ Change button colors to dialer blue.

Bug: 19015785
Change-Id: I2f5ace88897db728dd677786f2be744d91cdadf7
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
dcf40a9cc562d95f826123d8d670262c8d15e7bd 09-Dec-2014 Stuart Scott <stuartscott@google.com> Set radio power of all phones and multi phone changes.

bug:18415518
Change-Id: I33845aec1e7f162430b76ce0dee4d10664722bdd
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
d5165b05c851ecd47d330b600ed2768e0db8b9d1 06-Dec-2014 Andrew Lee <anwlee@google.com> Tidy up visuals/behaviors for MSIM notifications.

+ If MSIM device, show subscription display name on voicemail
or call forwarding notifications instead of some of the normal
title/summary text.
+ Use subscription colors to tint notification backgrounds.
+ Use PhoneAccountHandle to specify SIM to call with for voicemail
notifications.
+ Move code for getting PhoneAccountHandle from Phone into PhoneUtils
and update references throughout telephony. This assumes we only need
to do the conversion for PSTN phones; this seems to be a safe
assumption given how the notification manager previously got the
default Phone from the phone factory.

Bug: 18232725
Change-Id: I62574643de1d61ef716e06fb733467ce2f607586
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
e0f2b791135a88de7930e4339686fd5b79e53a9f 15-Oct-2014 Yorke Lee <yorkelee@google.com> Set correct theme for MMI-related dialogs

Bug: 17999493

Change-Id: Ifbca5ff1e4203270b0d3b0a7439d5bd2f49de384
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
13fed9f2657f9bcc8c4b54783cf165cd4d7b57c1 24-Sep-2014 Santos Cordon <santoscordon@google.com> Remove BluetoothPhoneService.

Service moved to telecom.

Bug:17475562
Change-Id: I20d20b00f8f7caedd5ba59245c06fd369534857b
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
4d45d1cf58a2003378fd35912d6d73a00001bf06 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ic33bafd37200e65431543a9889aed549dbb04831
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
5422a8deb513e4466ec6cc1e640895a6b536fee0 12-Sep-2014 Santos Cordon <santoscordon@google.com> Re-add some CallNotifier implementations.

By disabling all listeners to CallStateMonitor, we inadvertently removed
some required functionality, including tones to play as requested by the
radio and messages.

This change allows adding of listeners to CallStateMonitor but comments
out the events which are now listened to by ConnectionService.

Additionally, this change removed all ringer and
direct-to-voicemail-related code in telephony.

Bug: 17466554
Bug: 17414427
Change-Id: I6afce24bb8dc741c896c5b3cb6c944e138886060
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
137458b4bf3516941483e59c123c22cbee27ed43 05-Sep-2014 Jay Shrauner <shrauner@google.com> Use framework scheme definitions

Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}.

Bug:17398074
Change-Id: I36adb16f659daef89957072f9e00d08ea2cb8e9e
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
a956f73382c3aa2619c73b880a11ee1899c2fe18 04-Sep-2014 Santos Cordon <santoscordon@google.com> Add support for Multiple calls on CDMA devices.

Includes changes for call-waiting, adding outgoing calls, mergig and
conferenceing.

Bug: 17316859
Change-Id: Ia71c1b9b61d93a40cd717e74b33786ae07b656b6
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
76f3b4ec8d9bcb8926db1b3e4fb2d1e969b09fbb 08-Aug-2014 Ihab Awad <ihab@google.com> Final structural tweaks to Telecomm API (5/8)

Bug: 16416927
Bug: 16494880
Change-Id: Ibc2ba9e5d17242380ed3afed359600362bb3e664
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
bb2bcef62b916b1b544195ca671d56af6ed32cc2 06-Aug-2014 Santos Cordon <santoscordon@google.com> Remove audio handling from telephony. (1/2)

Bug: 16175960
Change-Id: Id4ec9963f559b4cd1870c18b91521afca8d8f153
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
da120f4e3d32ca97c5b4c21d6c505d834a29ab8d 06-Aug-2014 Santos Cordon <santoscordon@google.com> Remove ldaps from AOSP code.

Bug: 16327484
Change-Id: Ic51f12e52db0839a9ee6b727755873edf65cd044
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
96da1e1daf6a2e8d400ac857d319392c1b887034 28-Jul-2014 Andrew Lee <anwlee@google.com> Update VideoState reference.

Bug: 16629892
Change-Id: Id2e5d5fb6a39e0fd1d0fa00b160b3e90ce9621c1
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
f77a3397cb022cb6aa8e7e72a5b14ba29a99563f 22-Jul-2014 Santos Cordon <santoscordon@google.com> Stop showing "Call not sent" for MMI calls.

Bug: 15603571
Change-Id: I50abc4a847f54db74c9c065dcd8d4a302585f659
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
788959e2d798da2d8a34cf89779421966d200f3d 09-Jul-2014 Sailesh Nepal <sail@google.com> SIP Part 1, move sip code

This CL moves the SIP code to
sip/src/com/android/services/telephony/sip

Moving the SIP code helps with a couple of things:
- remove legacy dependency on old telephony code
(PhoneUtils, etc...)
- separate SIP from the PSTN connection code which
is very different from SIP code
- get the code ready for a future move out of
Telephony all together

Bug: 14999064
Change-Id: Id32de6517d31be4aa177b2764d5bac1e1f9851c2
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
9d67f24b3101e21894610c8e4b74a71ecd018898 08-Jul-2014 Tyler Gunn <tgunn@google.com> Passing video state through to phone dial.

Bug: 16014224
Change-Id: I9fce676527b22f8649238dcce35903e6877af58e
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
0ca1c80f1ca60966a16169b109e96ac19fa69743 08-Jul-2014 Etan Cohen <etancohen@google.com> Merge IMS changes from klp-wireless-dev to master

Change-Id: I247fa2b0e3aa159a27d96951edb0b04afd4d5ec6
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
23d9ed758fbe78e4afd4067e6845bcaf3387bca7 03-Jul-2014 Sailesh Nepal <sail@google.com> Remove Call from telephony.common

This API is no longer used.

Change-Id: I979480633f4a9eb649585968e984eaad1e57973d
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
36bb2546cbc86a4e6d338c3c31bbd02c4602b5e2 05-Jun-2014 Yorke Lee <yorkelee@google.com> Follow API change in PhoneNumberUtils

Bug: 15432083
Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
352ff6587456f60948648726cf1573a2e595e238 30-May-2014 Santos Cordon <santoscordon@google.com> Move headset hook from Telephony to Telecomm. (2/2)

Lots of code deletion of the headset code and old status bar
notification code.

Bug: 15190069
Change-Id: I990110816ec37c168e3646290a538be3cd23be35
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
33d39b59c0b590cd4cb2ac08ed6eeba7b7bcd971 14-May-2014 Evan Charlton <evanc@google.com> Remove ThirdPartyPhone usage

Stop using the obsolete ThirdPartyPhone APIs. This is only a first
pass; additional scrubbing will need to be done.

Change-Id: I6d3c2919299c0a0b9714ffecd30da68e5c880b6a
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
f445cf38463067b0b85be2314755b8f419a0eeac 26-Apr-2014 Wink Saville <wink@google.com> am 0d085404: am 325688d2: am 72a4aa95: Merge "Do not set audioGroup ECHO SUPRESSION mode"

* commit '0d085404af53e47b2bb193102d0f1a6c07ba8797':
Do not set audioGroup ECHO SUPRESSION mode
325688d277f11d44e7321ce7f27e37684419aae4 26-Apr-2014 Wink Saville <wink@google.com> am 72a4aa95: Merge "Do not set audioGroup ECHO SUPRESSION mode"

* commit '72a4aa95ce88b040395da3adbe554c3b10437fe7':
Do not set audioGroup ECHO SUPRESSION mode
eee6a9e11d50f918b278dad2133cc6408e27369d 26-Apr-2014 Hariprasad Jayakumar <hjayak@codeaurora.org> Do not set audioGroup ECHO SUPRESSION mode

when speaker enable, do not set AudioGroup EC mode
if EC already supported in hardware.

Change-Id: I3623b0c49011d6db5e0060999d17963a7e58f775
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
181a15ba353ff460adc0cea05481ab80f7d15aa4 25-Mar-2014 Sailesh Nepal <sail@google.com> resolved conflicts for merge of 36ebb0d4 to master-nova

Change-Id: Id654f339085c29dd73ef3ae53248a8afa06bcd5b
36ebb0d4d04346a367b7a54b178ab4f78696e95c 20-Mar-2014 Gabriel Peal <gpeal@google.com> resolved conflicts for merge of 74fb97de to master

Change-Id: Ia068e1e5f9f4995a84d5a184efa1cc76d0d159e4
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
805a72e527e74b6ca6a4bd64f0df3e19f0ae2a72 20-Mar-2014 Gabriel Peal <gpeal@google.com> Added some APIs to TelephonyManager

toggleHold()
merge()
mute(boolean mute)
playDtmfTone(char digit, boolean timedShortCode)
stopDtmfTone()
swap()
addListener(ITelephonyListener listener)

Also add ITelephonyListener to get more detailed phone updates

Bug: 13302451
Change-Id: Iaf5970700bb107d2735a97a66cbb82477355bfe4
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
80040da72ab0711f9c8fd00cfa28f4dbf97a4e26 12-Mar-2014 Etan Cohen <etancohen@google.com> am 023e003d: am 2425b0f3: am 18636118: am 1648dba0: am ea7a7052: am 70b1f88b: Merge "[USSD] Consolidate USSD messages in a single dialog box" into klp-dev

* commit '023e003d99a37c9ef715b5eea8296e13c628b06b':
[USSD] Consolidate USSD messages in a single dialog box
37abbab24baec145cdf995693be96cd7162b0c06 08-Mar-2014 Etan Cohen <etancohen@google.com> [USSD] Consolidate USSD messages in a single dialog box

All USSD messages (interactive or non-interactive) will be displayed
in a single dialog-box with a separator in between messages.

Bug: 12892053

Change-Id: I31bc0cd4b55492e4e62adc8c925cc0371c54f5a8
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
6e06e30bffc3b5067153f65099d18fbdb27b0bd0 17-Jan-2014 Tyler Gunn <tgunn@google.com> Modified PhoneUtils.java to move call to setGatewayInfoForConnection inside a code block that appropriately checks for null, as required.
b/12210645

Change-Id: I3108872c7e5081a9e5c9e4b202577218871488a9
(cherry picked from commit 10f1c6a97074b981b08bb804a3568c17ec3890a5)
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
6f342d923df7bbb65ab801ef37bc870459396d59 23-Feb-2014 Sailesh Nepal <sail@google.com> Implement PSTN call services

Change-Id: I6239f0d9c68a3c08b63553b3fca266631211c759
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
dd3d53c43c53e48a1df5f49816896d151efe2a42 17-Jan-2014 Tyler Gunn <tgunn@google.com> am 10f1c6a9: Modified PhoneUtils.java to move call to setGatewayInfoForConnection inside a code block that appropriately checks for null, as required. b/12210645

* commit '10f1c6a97074b981b08bb804a3568c17ec3890a5':
Modified PhoneUtils.java to move call to setGatewayInfoForConnection inside a code block that appropriately checks for null, as required. b/12210645
10f1c6a97074b981b08bb804a3568c17ec3890a5 17-Jan-2014 Tyler Gunn <tgunn@google.com> Modified PhoneUtils.java to move call to setGatewayInfoForConnection inside a code block that appropriately checks for null, as required.
b/12210645

Change-Id: I3108872c7e5081a9e5c9e4b202577218871488a9
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
bfb6832c4bcc535aef12b07ac5bcf4a973c65d00 07-Nov-2013 Sailesh Nepal <sail@google.com> Instantiate third party phone on call DO NOT MERGE

With this CL we now create a new third party phone as needed.

Change-Id: I31880c9ac758ddf7f9538e1c182197b8d3e073e4
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
bd76e4e0407f75c4e6a6961cf943d36fc75a0e1a 27-Oct-2013 Sailesh Nepal <sail@google.com> Plumbing for newIncomingThirdPartyCall() DO NOT MERGE

Handles the new newIncomingThirdPartyCall() API. Passes it to the
first matching third party phone.

Change-Id: I06b206d0710c0e966106d7cc17748c18935aa680
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
a4915c7016996a0df4cb34bff1607e49fbd6d403 19-Oct-2013 Zhihai Xu <zhihaixu@google.com> 3way call is not working with BT

When we receive AT+CHLD=1,
we will call answerAndEndActive
which will Answers the incoming call specified by "ringing",
and ends the currently active phone call,
In this case, hanging up the active call also accepts the waiting call
in hangupActiveCall.
But ringing.isRinging() is still true,
because it take some time to change state for ringing call.
we should wait for finishing disconnecting
before check the ringing call state.
bug:10234670

Change-Id: I69031443d25303e387dd94caf79d73974e23f86a
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
a57532c821f6fcb46045be6f747b9c279677ff16 03-Oct-2013 Christine Chen <christinech@google.com> Merge "Updates the saved mute states on background calls." into klp-dev
bdc2da7f2e7a167d55e5fde7879133b56ef7b517 03-Oct-2013 Christine Chen <christinech@google.com> Updates the saved mute states on background calls.

- We discovered recently that we're managing a global mute state in InCallUi but on the telephony side we still keep a mute state for individual connections. This is the reason for the bug referred to.
- Ideally we would like to update the InCallUi code to record the mute state for each connection. However this has to be punted to L.
- Instead we made a change of (hopefully) minimal impact on the telephony side to make sure the mute states for all existing connections reflect the global mute state. We would lose the mute state of individual connections, but Santos and I think this won't contradict with what users expect in such cases.

Bug: 11035657
Change-Id: I09f899e3de31bc3154980795deecab78fc6d9d35
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
685dcb6b0268af57ac5b93a2e5b259eb519fa2d8 02-Oct-2013 Chiao Cheng <chiaocheng@google.com> Fix outgoing call stats for normal calls.

Also check against EMPTY_INFO.

Bug: 10909434
Change-Id: I71eeaa1c3c98eeb750a866e8aceaf40f16c1d3ba
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
e365ba74f63afea89e789f5b94187ee83ee80c8c 26-Sep-2013 Chiao Cheng <chiaocheng@google.com> Fix usage stats for outgoing calls.

Usage stats are updated by the CallLogger and is triggered in onDisconnect
events. But it only updates the usage stats if a caller info has been
retrieved. For outgoing calls, caller info retrieval was done in the
CallCard. This no longer works since the in-call ui split.

Add caller info retrieval to placeCalls().

Bug: 10909434
Change-Id: I558a2657afd52650468da0eb4eac715364249d89
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
de10b75b2802b0a74de17a972d007efc0fc19f55 19-Sep-2013 Santos Cordon <santoscordon@google.com> Hang up all calls if the UI crashes.

bug:10823938
Change-Id: I417b4f4e1351efd65de65edaedd778115e605cd1
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
e01454bb19d21c2903938b543eb9dc3ea1a9b5e4 19-Sep-2013 Santos Cordon <santoscordon@google.com> Merge "Unmute emergency calls when they connect." into klp-dev
3e0f0414daa2266dc51b77198fe433797f7d610a 19-Sep-2013 Christine Chen <christinech@google.com> Adds support for DISCONNECTING state

Bug: 10808537
Change-Id: I012c05baa04c4d5fa6691e2f89d724dad57373c7
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
c264cba0b6ea81b3f741d9c41a0a50b7ffd19220 19-Sep-2013 Santos Cordon <santoscordon@google.com> Unmute emergency calls when they connect.

Also, never allow muting of an emergency call.

bug:10750253
Change-Id: If67375a6e8776971e2ddace3e7fb11794d9e5283
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
ad1ed6d23c4a999a41bb73b8243009e32f96d7df 16-Sep-2013 Santos Cordon <santoscordon@google.com> Cdma Outgoing 3way call support.

Cdma outgoing calls when a call already exists are special because
like normal cdma calls there is no "dialing" state. There is also
no indication that the caller answered the phone so we have to make
guesses as to the state of the world.

This changes leverages code that already established these assumptions
can have those places call directly into CallModeler so that it can
translate those assumptions into Call objects that the UI can
understand.

Changes:
- Add concept of a generic conference call to be used for cdma
conference calls which are very limited in nature.
- Notify CallModeler when we see an outgoing 3way call so that it
can fake it as a "dialing" call until we are notified that it
has "connected". This gives used the impression of a dialing state
on cdma devices which do not have this state.
- fix CallModeler.getFullList() which previously changes model state.

bug:10769004
Change-Id: Iec5fb47fdcd1574c86120ec0fbb38911d54c7b0e
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
af2fd0ad9669ce110dfcf13bb7bf996e8a387a91 14-Sep-2013 Christine Chen <christinech@google.com> Adds more phone states and rules on changing them.

Bug: 10733320
Change-Id: I8176b99777a00b88135e2c954fc5e576bc657ade
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
2bc3fc4e718ce6b2ca28e0a941b54840850ba04e 03-Sep-2013 Yorke Lee <yorkelee@google.com> Remove auto-muting code from Telephony

This is now UI-specific behavior instead.

Bug: 10446594
Change-Id: I61e92309e3d69e671d1077538c7597fb4698c8f7
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
cd95f62ea9f94c06d01debfcd1f01fd2cd6e2708 29-Aug-2013 Santos Cordon <santoscordon@google.com> Send mute state to UI.

Append to API to support deliver of mute status.
Have PhoneUtils.setMuteInternal notify the AudioRouter of the change.
AudioRouter then notifies CallHandlerServiceProxy.

Removed unused "previousstate" from the AudioRouter listener method;
replaced it with muted state.

bug:10395427
Change-Id: I0295e9d6b9af981c4911f2f5ba3abd65b748fd6e
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
69a691914e9b013a7ff52c129d8466c152ed7239 22-Aug-2013 Santos Cordon <santoscordon@google.com> Fixing Google Voice to work with new incallui

We were not previously storing and sending the gateway information to
the UI. This change consolidates Call gateway functionality from
InCallUiState and PhoneUtils into a new class CallGatewayManager. It is
responsible for storing a mapping from the call's connection to the
gateway used to make that connection. It also adds gateway packagename
and number to the Call object sent to the UI so that it can show UI
appropriately.

bug: 10393622
Change-Id: Ic5a0b068475bcab60e8cc96470273e36005ccc2e
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
fc309815886e9b4bf9d5dfb76a8c7cffe2ab1fd1 21-Aug-2013 Santos Cordon <santoscordon@google.com> Remove proximity sensor code from TeleService app.

This code is being moved to InCallUI in CL:
I5c2ea6daa9443e7ad77c67f272bc0bafdb060e5e

bug: 10366512
Change-Id: I77e0d15ad1a8f5a090c1368db98edaa246dbcd72
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
593ab38970a84a60ac39edba4306647c8b66436d 07-Aug-2013 Santos Cordon <santoscordon@google.com> Audio routing part 2

- Added WIRED_HEADSET and SPEAKER to AudioModes
- Added WiredHeadsetManager class
- AudioRouter now listens to WiredHeadsetManager and PhoneUtils for
speakerphone
- AudioRouter maintains state across earpiece,headset,bluetooth,speaker
- Most code copied from InCallScreen for speaker logic
- CallHandlerService listens to audioRouter for audio states
- Moved Wired headset logic from phoneglobals to wiredheadsetmanager
- Better toString for logging Call objects

Change-Id: Iebc8c83934ce5eff6f1918b0610804fadb163b43
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
27a3c1f96fab43970e56a5eaa39551a4a248994f 06-Aug-2013 Santos Cordon <santoscordon@google.com> Adding new BluetoothManager class

Previously, the UI-heavy InCallScreen handled all the bluetooth code.
This code does not add very much logic at all...it's mostly copying from
InCallScreen and whatever Bluetooth code existed in PhoneGlobals.

Changes of note:
- New BluetoothManager class from InCallScreen bluetooth code
- I removed the REQUEST_BLUETOOTH... code from InCallScreen since it was
there to "update" the UI, which no longer runs.
- Added a Listener to the BluetoothManager for anyone that wants to
listen in on changes. This helped remove PhoneGlobals references from
BluetoothManager code. Currently PhoneGlobals is the only listener
(for some proximity sensor-related code) but in the next CL there will
be an AudioRouter class that will also listen to those changes.
- Previous callers of InCallScreen->whateverBluetooth has been updated
to use BluetoothManager, or the code was commented because it was
primarily UI code which is being replaced.

Change-Id: I6f86d16c8bd9cd1da2156c1f3743886f32e84c25
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
7f7c652f0d23c9dfaa904431b94ef8f77b0d2e24 17-Jul-2013 Chiao Cheng <chiaocheng@google.com> Disabling incoming call function.

Also fix un-used imports in several files.

Change-Id: Ife01674b2a1fe807a8d0b23c984e46715fc08908
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java
7d4ddf6dc0d7c8158bac3a5dec7936e837e95bdd 10-Jul-2013 Santos Cordon <santoscordon@google.com> Blanket copy of PhoneApp to services/Telephony.

First phase of splitting out InCallUI from PhoneApp.

Change-Id: I237341c4ff00e96c677caa4580b251ef3432931b
/packages/services/Telephony/src/com/android/phone/PhoneUtils.java