History log of /packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bb49d410b5266d288f65bbb0f2584ac7c2abf6dd 23-Jul-2015 Nancy Chen <nancychen@google.com> Dismiss MWI when vvm status is received.

The message waiting indicator should not appear when visual voicemail is
set up. Sometimes the MWI will trigger before visual voicemail is
registered, so we need to manually disable it after visual voicemail is
available.

Bug: 22375837
Change-Id: I0fe62d34f6f773a466c0b18592fe9087d5477080
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
03ebdfc89fa5a4ee355ecc5527a1790d8a0bff21 27-Jul-2015 Anthony Lee <anthonylee@google.com> Always create CdmaPhoneCallState object in PhoneGlobals.

The CdmaPhoneCallState object used to be created on detection
of a new RAT but that code as removed in ag/703176. So now
CDMA provisioning would crash as a null object would be dereferenced.
The lowest risk fix is to create the CdmaPhoneCallState object
on PhoneGlobals creation to guarantee that it is always there.
The worst case is that it goes unused.

Bug: 22634609
Change-Id: Ia686584476db9ce3f07fc54f3e849ad22ff7654b
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
148769bf520413334cc9cb2c4253f353607f8dca 14-Jul-2015 Dianne Hackborn <hackbod@google.com> Report screen on reason.

Change-Id: Id7b3a9a8bc3f7f298467828d1d88ac9713a2c2c2
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
4e9fa91acd2a1f562b7663b9ad110090075eaf3e 19-Jun-2015 Chris Manton <cmanton@google.com> Use carrier config API entrypoint

This was originally commit 52a93ff69cb87ee2ab7e75a2d3d64dcf502b4096

Bug: 21990447
Bug: 21878236
Change-Id: I98706af11b2a860892d2dc45d0426905ef0b6290
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
9504c6b5c5c7072f72d8a9e6df59dbda8a6ccbe4 04-Jun-2015 Jonathan Basseri <misterikkit@google.com> Renaming carrier config variable keys.

API council advised us to use KEY_NAME_TYPE for our key constants.

Bug: 21571894
Change-Id: Ib5d5aff1c9070d9e5913a4099fcf55c67b800150
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
c593d00da07c4321f380c3df3aace752557cf130 04-Jun-2015 Santos Cordon <santoscordon@google.com> Input checks for some broadcasts

Bug: 20953384
Change-Id: Ia3df70ba018167ef760e322a1bdff699b22b5277
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
c31f1f32963534763aaf82ae2544f3a94f13edca 12-May-2015 Jonathan Basseri <misterikkit@google.com> Switching to PersistableBundle in carrier config API.

Part of this API involves persisting config bundles to avoid binding to
apps at critical moments (like boot). Regular bundles should not be
written to disk because they support object types that can lose their
meaning while the data is at rest.

In order to use PersistableBundle, we must either start with one or
filter unwanted types out of Bundle objects. Since the carrier config
API has no use for unsupported types, we chose to use PersistableBundle
everywhere.

Bug: 20268926
Change-Id: Ia85c1b2426907a5e6431095dbd3776213c7eb45d
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
b293df1ebc06f5c23afda4701022e9d7d8188ccd 01-May-2015 Junda Liu <junda@google.com> Merge "Update PhoneGlobals, PhoneInterfaceManager and CdmaConference to use carrierconfig." into mnc-dev
12f7d80f47bdad9ed1c02b8b916f75e4f11fe873 01-May-2015 Junda Liu <junda@google.com> Update PhoneGlobals, PhoneInterfaceManager and CdmaConference to use carrierconfig.

Moved variables:
support_swap_after_merge
ignore_sim_network_locked_events
dtmf_type_enabled
world_phone

Bug: b/20270007
Change-Id: I12619f16b6a085b57edc1248b8445705bf5b11de
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
89b0ab40aa1e9f4656c38d3b9d41a3447df3b908 01-May-2015 Jonathan Basseri <misterikkit@google.com> Multi-SIM support for getting carrier config.

Add multi-SIM support for getting carrier config directly from
PhoneGlobals. This is for use within com.android.phone.

Bug: 20270007
Change-Id: Ib09d5222debbf9308564429f2afdec851f165ab4
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
605148ff5de588ac7bc1757f0617d12114be77d4 29-Apr-2015 Junda Liu <junda@google.com> Use carrierconfig instead of overlay to get USE_HFA_FOR_PROVISIONING and USE_OTASP_FOR_PROVISIONING.

Bug: b/20270007
Change-Id: Iddd60183f06459a317d87d568edd401aa533517d
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
6465afd1636d57fce4291b02beaa88facd4e02ae 25-Feb-2015 Jonathan Basseri <misterikkit@google.com> Add CarrierConfigLoader service.

Load configs from carrier app and return to CarrierConfigManager
getCarrierConfig calls.

Working: multi-sim and in-mem cache.
Next CL: persistence and handle package change events.

Bug: b/19483786
Change-Id: I3490a2698436144cba1d3cc0f2ce49c582d9ccc7
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
76aaf48c6710c938854ed82591c7be9e432d66dd 08-Apr-2015 Santos Cordon <santoscordon@google.com> Add generic SIM activation framework.

Change-Id: I8c1b1b1f8124398655021b7028c1f728a40bf67b
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
9431b838f89399db2278c0436bd2817322a45f74 10-Mar-2015 Andrew Lee <anwlee@google.com> Expose accessibility config on PhoneInterfaceManager.

+ Add methods to PhoneInterfaceManager, so that elsewhere in the
system applications can tell whether TTY mode or HAC are supported
by querying the TelephonyManager.
+ Updated some usages/exposure of configs in Telephony.
+ Some styling/capitalization fixes.

Bug: 19372734
Change-Id: I5e56d45156c5a89cf519e2d2dada5fc23ffdb639
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
fb7f92eaad86b839bcd94d2814933a151f39a480 27-Feb-2015 Andrew Lee <anwlee@google.com> Add call accessibility activity.

This pulls accessibility settings (which are not SIM-dependent) from
CallFeaturesSettings to their own Activity.

+ Added Accessibility settings activity and fragment.
+ Moved logic from CallFeatureSettings to new activity.
+ Defined a new file for constants pertaining to settings.

Bug: 19372734
Change-Id: I12d03c6c97c4573641c075a856dcc68260a579b8
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
9c1071fdb42947afd215b0f4f3e81f871b1ff581 09-Dec-2014 Tyler Gunn <tgunn@google.com> When voicemail number is unknown, show voicemail setup on notification click.

1. In NotificationMgr changed intent when no voicemail number is found so
that it will trigger opening of the voicemail screen.
2. In CallFeaturesSetting added new intent extra to indicate we just want
to open the voicemail settings. This intent is used by Google Voice, and
I wanted to ensure that the code path for that case is not changed, hence
the new extra.

Bug: 17795834
Change-Id: I62b3d6c99558dc698565459aa0d43cd4efdd6fdd
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
2fcb6c372c76a48b7af8f9b0dc7fd518698bbf77 04-Dec-2014 Andrew Lee <anwlee@google.com> Handle MSIM behavior for VM notifications and CFI.

Implement correct behavior for voicemail notifications, also known
as message waiting indicator (MWI) and call forwarding (CFI).

- Don't instantiate CallNotifier with a Phone object.
+ Change updateMwi and updateCfi to take the subscription id as a
parameter so the notification can be shown on a per-SIM basis.
+ Change phone state listener to be subscription-specific.
+ Register/unregister phone state listeners on subscription changes.
+ Update Cfi according to subscription-specific changes.
+ Use subscription ids as a tag on the voicemail/call forwarding
notifications so they can be shown/canceled with greater precision.

Tested:
+ Voicemail ringtone on Sprout for different SIMs.
+ Voicemail vibration on Sprout for different SIMs.
+ Call forwarding notifications on Sprout for different SIMs.
+ Remove/place SIM on Shamu to see notifications disappear/reappear.

TBD:
+ Voicemail notifications just dial the voicemail schema right now.
Need to ascertain whether we can dial a specific number, and what
happens if the number is the same for different SIMs.

Bug: 18232725
Change-Id: Ie15c3d640e8da217fa8778b2d9d904d76bf0c586
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
385019f0c0b8a9e1450e54dcb0a0028a1c059ec5 24-Nov-2014 Andrew Lee <anwlee@google.com> Add method for getting all active phones.

Bug: 18232725
Change-Id: I373e9cfba703553043749431aeeaffaea62411b7
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
4d2db1ce81eae41084bef328941a4a12069c48f0 06-Nov-2014 Yorke Lee <yorkelee@google.com> Avoid cancelling the data disconnected notification unnecessarily

The RIL is sending us multiple DATA_STATE_CHANGED broadcasts with the
same information. Cache the state of dataDisconnectedDueToRoaming to avoid
cancelling/sending out multiple notifications unncessarily.

Bug: 18218683
Change-Id: Icc6046f6c18333c86cfacb22e8a0c6f24ed2dac1
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
83383e4c2f748514124eaa0482091490c4c8a311 31-Oct-2014 Andrew Lee <anwlee@google.com> Move FDN-specific classes into own package.

Trying to clean things up to have better organization while dealing
with making fdn settings SIM-specific.

The only thing which changed materially in the classes themselves...

- Rename package names to include ".settings.fdn";
- Putting in required imports (mostly for R and PhoneGlobals).

Bug: 18114923
Change-Id: I5c4b575641ef52d1ee562ca35552f2822e64e385
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
88b51e2bf554e086b9cb49dd76ccb52c80e4f503 29-Oct-2014 Andrew Lee <anwlee@google.com> Create util for VoicemailProviderSetting operations.

This is mostly moving functionality from CallFeaturesSetting into a
utility class. I tried to tidy up some names/styling, but the logic
is unchanged.

These are essentially stand-alone functions which manipulate the
SharedPreferences for VoicemailProviderSettings. I considered adding
them as static methods on VoicemailProviderSettings, but since they
manipulate the storage of VoicemailProviderSettings at a different
level, it seemed like better organization to put them by themselves.

Bug: 17019623
Change-Id: I6d57dbc61d4eb07d0a433e83d82aaa2a9a96fd4e
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
52bc81b8599f38cffb42ddf24adf9957b8ad46a9 08-Oct-2014 Santos Cordon <santoscordon@google.com> Always initialize CDMA OTA state

We only used to initialize CDMA OTA state for CDMA devices. New devices
can be both and switch between them. The order of operations doesn't
guarantee that RAT change notification will run before OTA request which
caused a NPE when we switch from GSM to CDMA because the state wasn't
initialized.

This change always initializes those state objects so that they are
always ready to perform initialization.

Bug:17869501
Change-Id: Iddb0a538c5d0c1d08c7db22f80081d6542803af8
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.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/PhoneGlobals.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/PhoneGlobals.java
bf900546674f25be845130119aa332ef8b17a399 16-Jul-2014 Sailesh Nepal <sail@google.com> TTY: Telephony changes

This CL makes the following changes:
1. Deleted the tty_enabled config. This config is now
stored in Telecomm. Telephony stills needs to access
this value so it now uses TelecommManager to get it.

2. Deleted the code to set the Phoen's TTY mode based on
TTY_PREFERRED_MODE_CHANGE_ACTION action. This code is
now in Telecomm. Telecomm will send a
ACTION_CURRENT_TTY_MODE_CHANGED action when the devices
actual TTY mode changes. The actual mode is based on
the preferred mdoe and the wired headset state.

3. Added TtyManager which listens for
ACTION_CURRENT_TTY_MODE_CHANGED and changes the phone's
TTY state. The old code would update the audio TTY mode
when the phone's state had finished changing. I've
moved this code into Telecomm.

Change-Id: I652b095af30cc2732a06829dc23492e5355660da
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
194161ed3aef6bdeeecd6153403269bbd01314a5 03-Jul-2014 Sailesh Nepal <sail@google.com> Remove ICallCommandService and ICallHandlerService

These APIs are no longer used.

Change-Id: Ifbaaba0d3226d03ea364cf1df76da3abebb9f5dc
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
f68db2ef27f3bdf14f0053c46d73df910bd394f2 02-Jul-2014 Santos Cordon <santoscordon@google.com> Move missed-call notifications out of services/Telephony.

Change-Id: I6a54574d95f3d586b22eb515b4a8cc7e6c4abe0c
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
0d04b4874496f5b31f277232fa4bcdbf18e6b2c3 28-May-2014 RoboErik <epastern@google.com> Session API name change

Changed the name of a method in the session APIs.

Change-Id: I9b815f7d378367731e7ddd14785e520369f45c63
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
88b7e4338e986aa896eaee6cf88a645f3a1598f8 19-May-2014 RoboErik <epastern@google.com> Merge "Rename of session APIs"
51d5cec08d4a8234a86118b1a7f86e9229459e34 19-May-2014 RoboErik <epastern@google.com> Rename of session APIs

Change-Id: I52aa0264641b3b8b9a1c7971115e39d772b58a07
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
117fee7467c140dccdc66972f60031dae2d55b35 17-May-2014 Santos Cordon <santoscordon@google.com> Code cleanup.

Change-Id: I332cb633037941229163fb3bdf5fae723deb3632
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
1623f1c6ef8529fc053e50bc86801eccceb00dbe 16-May-2014 RoboErik <epastern@google.com> Merge "Add code to maintain a session for phone calls"
5d6506f172d0f302b5ef0a36489699319d5d644a 14-May-2014 RoboErik <epastern@google.com> Add code to maintain a session for phone calls

This creates a session for phone calls and activates/deactivates
it as needed when the phone state changes.

Some extra handling needs to be added to the session service to
make sure this gets priority across all users when active.

Change-Id: Ia2cc75eb52cd131083c98ad9a9fa2e49d58c9075
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
1eaf22b056d2cef48be27d6d18fc047434874e2e 23-Feb-2014 Sailesh Nepal <sail@google.com> Disable old Telephony updates when using PSTN Telecomm

This is a temporary workaround to allow PSTN Telecomm call services
and PSTN Telephony to co-exist. When a Telecomm PSTN call
is live we disable PSTN Telephony updates.

This prevents the old Telephony code from reacting to things like
incoming rings.

Change-Id: Ic283bed28005f534d337fefb47da445f2dc22c12
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
ff3892a6a45b1e03a037497dcd4e3a8cd60b018f 02-Dec-2013 Jay Shrauner <shrauner@google.com> am cefee28b: Merge "Don\'t display gateway number on bluetooth"

* commit 'cefee28bb0c70af8fd361ed193af2a620cd4dae6':
Don't display gateway number on bluetooth
21a7534fa69c1cc10809ae33fa0bfa84c5ac1309 26-Nov-2013 Jay Shrauner <shrauner@google.com> Don't display gateway number on bluetooth

Display actual contact phone number instead of the Google voice
gateway number when there is a bluetooth connection with eg a car display.

Bug:11881222
Change-Id: I1a5b9d3dee4a490905e6e4b52745972fd63d81a1
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
ff506f5b8a0c89f252aee4b8afd010f2a6f2c572 22-Nov-2013 Santos Cordon <santoscordon@google.com> Adding v2 to namespaces.

Not having it was creating really annoying problems in eclipse.

Change-Id: I95972613b0431dd7ca8a2dc89528a24526d98fa7
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
3527207a1093fd9faf1674404ae9a08be196fbbc 25-Sep-2013 David Braun <dabraun@google.com> Update Reject with Text Message path to only use default sms app.

In KLP we have added the concept of a default SMS app to the platform. Only
this application has write permission to the SMS database. To help ensure
a better user experience we will always direct "reject via SMS" to the one
app that the user has selected as their default SMS app.

Bug: 10870624 System should direct "SENDTO" intent with "sms" and "mms" schemes to the default SMS app
Bug: 10818880 Telephony needs to direct RESPOND_VIA_MESSAGE intent only to the default SMS app
Change-Id: Id56b92285fb701db4432231950714ad2845bae60
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
a5d13217dab11ab214da2aacd421c5e2a1fda1f6 19-Sep-2013 Jay Shrauner <shrauner@google.com> Fix update lock release

Fix so update lock will be released.

Bug:10833570
Change-Id: Ie38bcd3e3fe5e073585ea7f059f5dcadadda72ad
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
6fe8fd6b90be53f5f0a10f589ac320db07b71ba2 17-Sep-2013 Jay Shrauner <shrauner@google.com> Remove unused old UI code

Remove unused UI code copied over from apps/Phone that is no longer used.

Bug:10608890
Change-Id: I41a0bd01102df70aa9a28bfa24994eca05e3fc0c
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
312b9c9112948c8ca7f74ea91b5e2585a66482c9 17-Sep-2013 Chiao Cheng <chiaocheng@google.com> Remove more code from NotificationManager.

updateInCallNotification is not longer used. Delete along with code that
uses it.

Bug: 10605959
Change-Id: Idb69020a4dd99a36575aae0a77990f8c3ca693a9
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
a5d5db8bae082681b9d76bc3f0f7cd16e47908ab 15-Sep-2013 Santos Cordon <santoscordon@google.com> Cdma call waiting

There are special notifications received for call waiting on CDMA
phones. These special notifications are handled by CallNotifier
which has special logic to handle the fact that CDMA devices do not
give us an indication of success/failure on operations to the CDMA call
waiting calls.

This fix adds functions to CallModeler that are called directly from
CallNotifier. These functions translate the events into Call objects
that it can send to the UI layer.

bug:10769004
Change-Id: Ic208ddb879c7ec76212914914b8750b55a578ac0
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
835704773b29fe1326091555ff76ac90f2531038 07-Sep-2013 Santos Cordon <santoscordon@google.com> HFA support in services/Telephony for provisioning CDMA devices.

Adds a new activity that shows some ui allowing the user to see progress
and cancel the action.

At the end of the action (through error or completion) we return to the
setup wizard.

Change-Id: Idfe58d7b93463b59fc0de3eebd03517a36177d22
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
0ce0e85976ad4e1352ac3ec1adab42f8097ce8bf 10-Aug-2013 Christine Chen <christinech@google.com> Adds package picker for sending text messages.

Bug: 10608694
Change-Id: I645f00135615d29b78e72b80584fea0410d7da8d
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
ca6ec3b13134765667783ebfeaa5745eb1e94743 29-Aug-2013 Yorke Lee <yorkelee@google.com> Missed call notification creates PendingIntent using TaskStackBuilder

Bug: 10262590
Change-Id: Iedc11dfbd40c167a2eefc8f32ebb1dc322e36ef0
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
406c0341600bd414fe7561b4edd8cdf7ed11f315 28-Aug-2013 Santos Cordon <santoscordon@google.com> Adding support for dialer to bring incallUI to foreground.

Previously, the Dialer relied on
TelephonyManager.showCallScreenWithDialpad to bring the UI to the
foreground after the user selected "return to call in progress." This
was not updated for the split in-call-ui.

The fix adds a new API to CallHandlerService to bring the incallui to
the foreground. This new API now gets called as part of
showCallScreenWithDialpad().

bug:10313347
Change-Id: Id95a1e266471970cf1295423ea720b0e1926325b
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.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/PhoneGlobals.java
2c2d3cf8cca6bb471fbd26770b1736af2a32d619 08-Aug-2013 Santos Cordon <santoscordon@google.com> Bluetooth indicator should depends on call state

Add CallModel listener to BluetoothManager so that it can alter the
bluetooth state when calls change.

Change-Id: Idf0b9a4b8b2247ac5ddf1fcc1d8359c85bb299da
(cherry picked from commit 9f8953efa3983a1cd3f8411636300deab6ad3789)
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
ee09a49b24b2228f7ea7fb3d3be7a551120abb1a 07-Aug-2013 Christine Chen <christinech@google.com> Add support for text messages

Change-Id: I3883de331fd881133e29755fde3c7b772823ad70
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
9b7bac7705b3afcae7b010edc2032c7c0f37f770 06-Aug-2013 Santos Cordon <santoscordon@google.com> new class AudioRouter manages audio routing for the phone call

This CL only has support between bluetooth/earpiece

Of Note:
- New shared class AudioMode defines different modes for audio routing
- New class AudioRouter manages between EARPIECE and Bluetooth modes.
- Add function in CallCommandService and CallHandlerService for audio
mode

Change-Id: I52ff70e53868c45e5202b757cc80a13af3abe5f8
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
2eaff909b5999e37f5a629410d2cebe5832a763f 05-Aug-2013 Santos Cordon <santoscordon@google.com> Add DTMF dial tone commands to CallCommandsService.

Moved over much of the code from DTMFTwelveKeyDialer except for UI code
and short-Tone. When we copy over short tone, we should be able to
delete DTMFTwelveKeyDialer.

Change-Id: Ibb954cdeb30bec99d717569f9254892661533699
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
249efd04d6148e0ad9814d0a4c1ebda8e8761fbf 05-Aug-2013 Santos Cordon <santoscordon@google.com> Use callId for all call commands.

Change-Id: I988643cdaaffb1abf2689844d119d5e382b9791b
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
a3d0514c3480db25a813d8841c39e965f2925180 29-Jul-2013 Santos Cordon <santoscordon@google.com> Adds State to the Call Objects.

Also, updates the onUpdate method of ICallHandlerService to get called
when a call changes state.

Change-Id: I8fe830cdd8c7f4b92e985c518b5e1a60d6552284
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
63a8424848966c0e94a78c4200bb091366dca3b8 23-Jul-2013 Santos Cordon <santoscordon@google.com> Adds class to translate telephony Connections to Calls.

Adds primitive call model (int callId) translated from telephony
layer's Connection type.
Adds onDisconnect functionality to CallHandlerService.
Makes call Id functional in callHandlerService.

Change-Id: I4d54f4c3f606e5973cc316125486cc361c96d610
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
e41661cbc5db3cbb8e60e0137fbac3f3a1f506a5 23-Jul-2013 Chiao Cheng <chiaocheng@google.com> Adding mute and speaker methods to CallCommandService.

Catching all exceptions from command service since they won't be sent over ipc.

Change-Id: Icdd11a9fe7d4041b228bf2543a8bf0b1ef7b1651
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
345350ee0b6fa5c510e64b4b8cfb5ed1e5d70851 20-Jul-2013 Santos Cordon <santoscordon@google.com> Renaming CallMonitorService to CallHandlerService

Change-Id: Idfbbf79f706ff359f218252f74d2e8133188d93a
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.java
cba1b444f3c4f94b7be1e07b39ba4873a11f379f 18-Jul-2013 Santos Cordon <santoscordon@google.com> Adding a command interface to control phone calls.

Adds a command interface implementation to use with incall ui.

Change-Id: I337754ccc991b423481cda3bde17232e93a8014f
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java
89647a60693ebdd94a0fc60da557d17d19847942 16-Jul-2013 Santos Cordon <santoscordon@google.com> Adding CallMonitorService reference into PhoneGlobals.

This searches for and starts the service that is implemented by
InCallUI.

Change-Id: I604f122b1497ebf6d526dda6a6844392255a6916
/packages/services/Telephony/src/com/android/phone/PhoneGlobals.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/PhoneGlobals.java