- Add helper functions to make it easier to figure out properties of a
particular video state, to make things more convenient.
- Update references and documentation.
Bug: 16629892
Change-Id: I621532e8cab080afd56e5db739b9edbee6261f74
Add the following two APIs in Telecomm and use them in InCallUI
setProximitySensorOn
setProximitySensorOff(boolean turnScreenOnImmediately)
Bug: 16573954
Change-Id: I8219e9c659f4ea4493f5cd5c8bcaa95a98d180e2
Get rid of CreateConnectionResponse and have the ConnectionService
return the built connection instead.
Change-Id: Ibbf896e5b188b98eb386d6624d3a5d5cacf49922
Other settings activities like wifi settings, mobile network settings
etc are all accessible by third party apps via public intents, so
make CallFeaturesSettings similarly available.
Bug: 16298644
Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
Telecomm was not sending the initial state for new connections forcing
the connection services to postpone when they set data on the connection
which resulted in hacky code. This CL makes use of a
ParcelableConnection to send the intial connection data.
Change-Id: If571414aba19fa1bb282e30632431962b8366cf4
Expose the actual subscription number so that it can be exposed when
necessary (such as during emergency calls, when it doesn't match the
line 1 number).
Bug: 13333595
Change-Id: I0d3b2cfcea08aeba760c392c116303f21beb70d3
This CL adds a new public API to allow Connections
to start an activity on top of the in-call UI.
The Connection passes a PendingIntent to Telecomm which
then forwards it on to InCallUI. The Connection can cancel
the operation by calling PendingIntent.cancel().
This allows services like SIP and Hangouts to show dialogs
to the user when making a call.
Change-Id: I65119a89c925a93467d1b27304ffec9b088b172f
Currently call backs from RemoteConnection can happen
on non-main threads. This CL updates the code to always
use the main thread.
Change-Id: I134c0fbdba1f916f49676c0c6696ac63bcb7c513
When StatusHints are modified, inform listeners. Also expose two
constants for passing optional strings from the CallService to
the in-call UI.
Bug: 13334257
Bug: 13334252
Change-Id: If7fde7c1ca6940cec8b7232469a22900c36dbb17
If an account default is not set, the incall ui will display a dialog to
allow the user to select an account for that particular call.
Bug: 16243703
Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094
This CL makes the following changes:
1. New public APIs:
- TelecommManager.getCurrentTtyMode: This is used to
get current TTY mode. It's used by Telephony to set
the phone state before calls are created (which is why
it can't be a Conneciton API).
- TelecommConstants.TTY_MODE_*: These are constants
copied from Phone.java
- TelecommConstants.ACTION_CURRENT_TTY_MODE_CHANGED: This
action is fired when the current TTY mode changes.
Apps can listen to this before and during a call.
The old version of this was in TtyIntent.java which
I deleted.
2. New private API
- TelecommManager.isTtySupported: This is used by
Telephony to hide the TTY settings on devices
that don't support TTY
3. Various updates to use the constants renamed in this CL
Change-Id: I652b095af30cc2732a06829dc23492e5355660da