History log of /frameworks/base/telecomm/java/android/telecom/TelecomManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
67c708bed82f06f3c261ec7ebc5d321918de143e 15-Feb-2017 Hall Liu <hallliu@google.com> Add extra key for app-specified outgoing call timeout

Bug: 34474757
Test: manual
Merged-In: I6e7e67c946205b28440a4daeeab3a002f8d6bccc
Change-Id: Ia93d68d6a01308b0b93b88977daf983a0ed3a22c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
057def534c2a18e2e1b70e1e5e04ce09e9ac3b79 06-May-2016 Hall Liu <hallliu@google.com> Add support for Telecom analytics extensions

Add classes for call events and a field for them in
ParcelableCallAnalytics.
Add classes for timing information on user-visible operations.
Add the TelecomAnalytics class as the top-level object for analytics.
Add log session timing information to the TelecomAnalytics class,
independent of individual calls.

Bug: 28623064
Change-Id: Ifee5fdf6b6b341869ff0ff26c4388d357e3d9922
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
2cbe2b5816c3a6b55144a3a731cab894761c780d 04-May-2016 Tyler Gunn <tgunn@google.com> Un-@hide multi-endpoint APIs.

Bug: 28621640
This reverts commit 1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72.
Change-Id: If8c85e4adeb017eec2b7e8199010deae2a920c6a
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
b05e4851d01473432e841e757f2c96fd60ab300e 19-Apr-2016 Sailesh Nepal <sail@google.com> Merge "[Call Timing] Add constants for call timing extras" into nyc-dev
1bf206b766654ea9c4e9bc7a703a9d5f1d30ab72 15-Apr-2016 Tyler Gunn <tgunn@google.com> Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
da6bb3883f11f75eb21d2ecc10bec7a2ce533539 15-Apr-2016 Sailesh Nepal <sail@google.com> [Call Timing] Add constants for call timing extras

This CL defines new extras that can be set in a call's intent extras.
These extras track the following:
CALL_CREATED_TIME_MILLIS - the time when the call was created by
telephony (or another connection service)
CALL_TELECOM_ROUTING_START_TIME_MILLIS - the time when telecom
started processing the call
CALL_TELECOM_ROUTING_END_TIME_MILLIS - the time when telecom
finished processing things like call blocking and was ready to
connect to the UI

These extras can be used by the dialer to track how long it takes for
calls to be shown to the user.

Bug: 28202119
Change-Id: I8fca259d449adedaeb4ff91d35bf59a7409be866
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
9bacdabf3e44130963890b9712840d34c494d77d 01-Apr-2016 Abhijith Shastry <ashastry@google.com> Remove deprecated API launchManageBlockedNumbersActivity

BUG: 27364137
Change-Id: Ie608c3f75d5fe353a1ba127b0da763c421401eb8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
876dbfb4767da4a2ba5459d5b78fb6eb55e4516f 14-Mar-2016 Tyler Gunn <tgunn@google.com> Add API support for multi-endpoint.

This CL includes changes required to support multi-endpoint (see the
design doc linked off the bug).

Main changes include:
- support for indicating if a call/connection is "external" to the device.
- support for indicating if an external call can be pulled from the
remote device to the local device.
- API used to initiate a pull of a call external to the current device to
the current device.
- Made the "connection event" API public (was previously @hide); this will
be used to support passing some error events involving pulling calls to
the incall ui.
- Added new InCallService metadata which will be used to determine if an
InCallService wants to be informed of external calls.
- New disconnect causes which will be used to expose the fact that a
multi-endpoint call was answered elsewhere and that a call ended because
it was pulled to another device.
- New call log call types to indicate if calls were answered elsewhere
or pulled to another device.

Bug: 27458894
Change-Id: I423f64ff965b5e50194635a51868c327782db2a1
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ec30d2fd125cf68c274917169e6d0d2ba13bd2c7 05-Mar-2016 Abhijith Shastry <ashastry@google.com> Tweak createManageBlockedNumbersIntent API documentation.

BUG: 27364137
Change-Id: I82b9802b3108f4d9d405fc55fefa766dbcddd537
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
6701be428cc3d96dd1735238f3f4299cf5eecaed 01-Mar-2016 Abhijith Shastry <ashastry@google.com> Add deprecated annotation to launchManageBlockedNumbersActivity API.

BUG: 27364137
Change-Id: I0c5c05042e6bc05a605613bde7ba3c579c1858ed
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
a26fe99b1ecf9a2dc35aba72a97e2a4e05de543c 29-Feb-2016 Abhijith Shastry <ashastry@google.com> Add new API to create an intent to manage blocked numbers.

This replaces the launchManageBlockedNumbersActivity API.

BUG: 27364137

Change-Id: I5d5a20d25f0dea8b8e0e998b51f80658ff404e2c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
e362e501ee5d8f892d705c0762eff0a584cfb439 08-Jan-2016 Hall Liu <hallliu@google.com> Initialize MD5 in logging in background

Use a background task to call MessageDigest.getInstance in order to
avoid a possible disk read on initialization.

Bug: 26069217
Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ec0d33490ab48b40d1d18723935f49f41072164b 30-Jan-2016 Brad Ebinger <breadley@google.com> Update TelecomManager docs regarding PhoneAccounts

Updates the docs for addNewIncomingCall to mention that if the
PhoneAccountHandle representing a PhoneAccount is not registered or not
enabled, a SecurityException will be thrown (as of b/26864502). Also
notifies the user that PhoneAccounts are stored in DE storage
in registerPhoneAccount.

Bug: 26874536
Bug: 26780305
Change-Id: I2dae932cfa3404d7d5060dad840a75227793603e
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
1908cb84a5fdf7cc10892d54da8e2411c8d1c1c6 02-Feb-2016 Abhijith Shastry <ashastry@google.com> Add API in TelecomManager to launch the UI to manage blocked numbers.

BUG: 26917087
Change-Id: Ide328d250561577f652e3a1ee093b37ad19084d8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
9c2618b17fe580d70994ba8f5d999f20804575f9 24-Jan-2016 Sailesh Nepal <sail@google.com> Expose a meta-data value to allow dialer ringing

This CL exposes a new meta-data, IN_CALL_SERVICE_RINGING. If this is set
to true then ringing is played by the dialer instead of Telecom.

This CL also adds a new silenceRinger() API to InCallService. This is
needed to implement ringer silence on volume key down.

BUG: 22857261
Change-Id: I498538282eddbb727104f5b879f25adbef4e6cf6
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
9c4b82cf95b73e0125d602e505dae07b77d240ad 23-Jan-2016 Sailesh Nepal <sail@google.com> Merge "Make missed call action public"
be15ad9b7994f1a16447c2299e88e779dde33ecf 22-Jan-2016 Sailesh Nepal <sail@google.com> Make missed call action public

This CL makes the missed call notification action public. This will be
used by the dialer app to show it's own missed call UI.

See ag/850080 for more info.

BUG: 22857261

Change-Id: Ifae82d3036a278e5619edc8c766a1d0781296e72
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
888815501b25901fd20a7c30d90a704f6782815e 11-Dec-2015 Santos Cordon <santoscordon@google.com> Add metadata for car-mode in-call.

Change-Id: Ic2d55889e0ab65195bee549837b51c581ce5076a
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
0464b9ba16ea49f7bff55d7d85231c6dd832b58e 13-Jan-2016 Hall Liu <hallliu@google.com> Add method to dump Telecom analytics

Add dumpAnalytics in TelecomManager to allow the connectivity stats
service to access Telecom analytics for uploading.

Change-Id: I197d6af340fac7f38b28bb44a476b5e694db4dba
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
70ac616b3851a063b974cf5e5c8bc764994cab7d 08-Dec-2015 Hall Liu <hallliu@google.com> Merge "Add extras tag for analytics support"
6676bb5da58613dedae454d998e78a88d8e679cc 23-Oct-2015 Tyler Gunn <tgunn@google.com> Add "acceptRingingCall()" API which accepts a videoState.

- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
90f62907b666b9a00c3fe086d80067f961181c66 20-Nov-2015 Hall Liu <hallliu@google.com> Add extras tag for analytics support

Change-Id: I174de505cb96206f90d3cc5ba8fcca7ed9908b7f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
e1bc2ec7101472a9f2495f65e0b49d7888ed957f 10-Oct-2015 Hall Liu <hallliu@google.com> Add TelecomManager constructor for passing in TelecomServiceImpl
override

Bug: 24618535
Change-Id: I2dafcc9ab496de94eb6a6894916030ed4e7556f8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
5821983253f7a9e66cca09cacf8d2e907cf73524 27-Sep-2015 Bryce Lee <brycelee@google.com> am 18b76bf6: am 861559d3: am 24e5efda: Merge "Add additional broadcast for when a phone account is unregistered." into cw-e-dev

* commit '18b76bf6755b4e3469b17f6f898a40bb1fe70a63':
Add additional broadcast for when a phone account is unregistered.
30b0aa04dc4ca1b7a690cb36524ae7f6be147c12 24-Sep-2015 Bryce Lee <brycelee@google.com> Add additional broadcast for when a phone account is unregistered.

Change-Id: Ia14a4206ea50af11c6151e11a95851e5ffa2cd99
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
c61d1366ffa1cd3e4766956b507cbe01910108dc 22-Sep-2015 Yorke Lee <yorkelee@google.com> Add permission annotations to TelecomManager

Change-Id: I1394429d2e183165ba0e4c63da4952837d0a63e3
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
8d41d1d4fdbf070ad391eae820a5e42a326a7771 10-Aug-2015 Bryce Lee <brycelee@google.com> add call back intents for clearing missed calls and calling back.

Change-Id: Ib81fecc21c5491f975fa7c44f4e5984a4b3f8e7f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
5e4dd3e199567efc35aa14219a117020aa67a342 04-Aug-2015 Bryce Lee <brycelee@google.com> Add action for notifying custom components of missed calls.

Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
335ff2ec7aaa1e56b996e5025a1fa72ddf10535c 30-Jul-2015 Tyler Gunn <tgunn@google.com> Add telecom extra keys required for DMR release.

Bug: 22848290
Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
cf85562bc9a0f01db51b4088e72f05a8089fc7f1 29-Jul-2015 Sailesh Nepal <sail@google.com> Default permissions for sim call manager

This CL adds the following permissions by default to the
SIM call manager:
- microphone
- phone

BUG: 22790160
Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
895d4b8f63389b79974dfd3e36f1ab10b5ceb4dc 26-Jun-2015 Santos Cordon <santoscordon@google.com> Telecom API council changes.

- adding more javadocs.
- fixing javadoc on isEnabled
- renaming to CONFIGURE_PHONE_ACCOUNT

Bug: 21573551
Change-Id: Ice035b8573a08ea18181a73c9e9a462520a934f1
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
f2600eb5aca1ec9bda2674d878528a770d5c220b 23-Jun-2015 Santos Cordon <santoscordon@google.com> InCallService meta-data [2/4]

Bug: 21816241

Change-Id: I9af91a1287f652247ef590878759aa277bd925e5
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
7a060d5e2b99e9a7edb22e846449204b603dd8bc 19-Jun-2015 Santos Cordon <santoscordon@google.com> Additional javadoc.

Change-Id: Iba7f9315521314d066a166ba884ac71c3a9c2496
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
2c27b9a9fa74e59f953e7b918744a3a668236b92 13-Jun-2015 Santos Cordon <santoscordon@google.com> Clean up SIM CallManager APIs.

Bug: 21499476
Change-Id: Iaded74c6b885b0745dfa85d0b7733bdad75d615a
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
107c4ce2ac9b76e7b4ed251fff8929958c5d3e63 15-Jun-2015 Yorke Lee <yorkelee@google.com> Send broadcast when default dialer changes

Add hidden TelecomManager.setDefaultDialer for system apps
to set the default dialer and trigger the broadcast

Bug: 21846308
Change-Id: Ifdd30cd1323ab0157edf7fd966173b6c52df6ba0
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
02fb5bc52b45333a978a45a257dd7f9c9c9bc632 09-Jun-2015 Yorke Lee <yorkelee@google.com> Rename TelecomManager.EXTRA_INCOMING_CALL_ADDRESS

Bug: 19696065
Change-Id: Ibe253c8cd66938ea1cd560d443008026eb1005d9
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
04ea7d3b7c0a4193a9fa715d1bd03c3bf9868d69 06-Jun-2015 Yorke Lee <yorkelee@google.com> Add telecom extra to specify handle for incoming call

Bug: 19696065
Change-Id: Ie7c9e3f982808abd4944cfa7bd3c754b93479f84
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
db6da486217daa3418944cf93086a3bae549dad2 02-Jun-2015 Yorke Lee <yorkelee@google.com> Allow default dialer changes and phone account enable/disable via ADB

Add commands accessible via adb shell that can be used for CTS tests
without the need for adb root
*set-phone-account-enabled
*set-phone-account-disabled
*set-default-dialer
*get-default-dialer

Modify enablePhoneAccount/setDefaultDialer to indicate success.

Remove now unused functionality in ProtectedEnableAccountPreferenceActivity
and ProtectedChangeDefaultDialerActivity.

Bug: 21583012
Change-Id: I542d145cc969334c004b8344fbbb01f278256f9d
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
5cf2dde3f7b2003fa832f0657b8b675ce84d77f7 29-May-2015 Yorke Lee <yorkelee@google.com> Add ability to modify default dialer via ADB

Add hidden action to TelecomManager

Change-Id: I698c0154f438cdaf78926f12a261cbc0eb807cd0
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
656eeb0402179077f55ed1ba2accb292e0653e76 29-May-2015 Yorke Lee <yorkelee@google.com> Make ACTION_CONNECTION_SERVICE_CONFIGURE public

Bug: 21499146
Change-Id: I3b931231807eec0aed91832013c7c055005fc9ad
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
d8faf70b80b0dfcbc1e52d3a2027a26e1c40c572 21-May-2015 Santos Cordon <santoscordon@google.com> Add intents for enabling phone accounts.

Bug: 20303449
Change-Id: If0057d42373b6964193c562ae8a8487a0299da76
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
91371dc036ce66cd3ad8ec83eca8926ddf9cec0c 08-May-2015 Santos Cordon <santoscordon@google.com> Add enable/disable properties to phone accounts.

Bug: 20303449
Change-Id: Ie6203a284454d43f4dd20917f0f1fda0b36484f8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ed769ae5d2cc830714b0a05c1b4f794ff38c00b1 14-May-2015 Santos Cordon <santoscordon@google.com> Improve javadoc for PRESENTATION_ constants.

Bug: 21089678
Change-Id: I045fd71a30c75c213dd5c0c64ded983ea5e5d866
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
32f24731604fd81289a39619bbc925b65184b505 13-May-2015 Yorke Lee <yorkelee@google.com> More video related API fixes

android.telecom.Connection.VideoProvider
* onSetPauseImage takes Uri instead of String
* changeCallDataUsage -> setCallDataUsage
* add quality constants to changeVideoQuality() docs

android.telecom.InCallService.VideoCall
* setPauseImage takes Uri instea dof String

android.telecom.VideoProfile.VideoState
* Move constants to VideoProfile, prefix with STATE_

Bug: 21040387
Bug: 21066505
Change-Id: I764e72aced9d1e2d30d6d0cf0862100860d47c79
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
a5d5c1d0843980c5cac3b9c9541529b59b5c2434 06-May-2015 Yorke Lee <yorkelee@google.com> Fix potential NPE in TelecomManager.placeCall

Don't pass null parameters

Change-Id: Icf8f4eb3e96a51a5c091322c83ae163e366c21de
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
f1a349bda3b6cb400692159d72a41ea89b0e6128 30-Apr-2015 Yorke Lee <yorkelee@google.com> Add default dialer checks to Telecom/Telephony

Check for the default dialer or the modify phone state permission
for various TelecomManager/TelephonyManager methods.

Make sure to check the user-selected default rather than the
hardcoded package name.

Exercise this code in TestDialerActivity.

Bug: 20304458
Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
1011f4870c24659c78050c4165ac9aa6983b7b06 24-Apr-2015 Yorke Lee <yorkelee@google.com> Add APIs to getDefaultDialerPackage and getSystemDialerPackage

getDefaultDialerPackage is a public API and will be used by
apps to determine if they are the default dialer.

getSystemDialerPackage is a hidden API and is only used by
system components.

Also add new public string constants to allow apps to show
a dialog requesting that the user change the current default
dialer.

Bug: 20304458
Change-Id: I121d36741474c1fe171c372fb766a6c128228c9c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
3e56ba14cc1533ec2585994066b238f0e2c7f59a 23-Apr-2015 Yorke Lee <yorkelee@google.com> Add TelecomManager.placeCall

Places a new outgoing call using the system telecom service
with the specified parameters.

Making emergency calls using this method requires that the
method-caller is either the user-selected default dialer app
or preloaded system dialer app.

Requires that the caller have the
{@link android.Manifest.permission#CALL_PHONE} permission.

Bug: 20348183
Change-Id: Ieedb5628e8c6be25137944e7c3639dc1d9bc61df
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
16a16899505ec0a9ede5b76650bfb8817b3227c7 16-Apr-2015 Svet Ganov <svetoslavganov@google.com> Add OP_READ_PHONE_STATE app op - framework

The READ_PHONE_STATE permission protects PII information and
is in the Phone group. This change is adding the corrseponding
app op for gating access to the API guarded by READ_POHNE state
which will be used instead as an access control for legacy apps.

Change-Id: I2ff895a5a0e529f26ec0ad706266a30d829268ba
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
49e2d468129cd8b374e76dff103302ccb77da45b 16-Apr-2015 Yorke Lee <yorkelee@google.com> Change hasVoicemailNumber to getVoicemailNumber

Bug: 20223485

Change-Id: I67eb12e2030ec8f73326ade4eb750b0c2f6e52ad
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
225ccadc03ce9f63f24e82b04b9e94fcc61535be 16-Apr-2015 Jay Shrauner <shrauner@google.com> Hide getUserSelectedOutgoingPhoneAccount

Bug:20224972
Change-Id: I21528788e38817f77fc68b56e26a33ac726d39e2
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
f5d5840b66865e8324db4e01449b5c95a6004ec2 15-Apr-2015 Yorke Lee <yorkelee@google.com> Make defaultOutgoingPhoneAccount public

Bug: 20224972
Change-Id: I8bbf92258461d522ec57cfe610ca4c969bec75be
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
55b97525f0f50857f1ab0acd2608053fd0f3416c 10-Apr-2015 Jay Shrauner <shrauner@google.com> Make Telecom/InCallUI APIs public

Bug:20260870
Change-Id: Ie3a2db0685664f2f1ceea8f40b1249d01e9385b8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
0604427a25db171492870d1f3f86f8117987e855 15-Apr-2015 Yorke Lee <yorkelee@google.com> Changes for TelecomManager API review

* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
4cd92835be0a4ed2b32b398b0fa9d0d74dfb8b19 15-Mar-2015 Vinit Deshpande <vinitd@google.com> Fixing build after merge from mirror-m-wireless-internal-release

There have been few breaking changes

1. TelecomManager.getCallCapablePhoneAccounts is not hidden anymore
2. CAPABILITY_VIDEO_CALLING is not hidden anymore
3. mPhoneStateListener doesn't exist anymore, so it is commented out

Change-Id: I22221eda73a20c745e316d9d56f914ab17b83533
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
c66f3baa42b8a732952abf1967c68f77d3e26131 28-Feb-2015 Santos Cordon <santoscordon@google.com> Hide calllog entries for unregistered phone accounts

Change-Id: If1f873dd41c973442fa7a24020e56d13b7b5ad2c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
873cfbf1858b38a684910e183632706c8315107a 27-Feb-2015 Andrew Lee <anwlee@google.com> Add intent for call accessibility settings.

Preparatory work for adding a new Accessibility settigns activity
in Telephony, which we will need an intent to be able to launch.

Bug: 19372734
Change-Id: Ibf72ffe21da3ba2819eb165dda9bde30204bab68
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
866080f28a8f3f42e1462c98885c1495117e65ab 19-Feb-2015 Andrew Lee <anwlee@google.com> Add intent for configuring RespondViaSms.

Bug: 19372734
Change-Id: I8dcead3281b42d38c2b2f40aa70ad8fbf5b2d8fb
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ad147f4b59d42f48b73f6861f379535dbcc72b4a 19-Dec-2014 Brian Attwell <brianattwell@google.com> Unhide telecom APIs needed by Contacts

* Removed @SystemApi and @hide from some telecom classes
and APIs
* Stopped using explicit @link's to ConnectionService, so
that I didn't need to unhide ConnectionService
* Added @SystemApi to hidden methods inside classes that
I removed @SystemApi from.
* Ran update-api. This picked up unrelated Math changes
from b/11388705.

Unbundling

Bug: 18777272
Bug: 11388705
Change-Id: I218e0c3c0ae515d3deb2d3b67657db45a0bad999
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
5cf27847b011b115afa4a2e05f8c9aaa6c77ad01 25-Jan-2015 Nancy Chen <nancychen@google.com> Add method in TelecomManager to return line1Number for a PhoneAccount.

Since we do not want to expose SubIds in the app layer, we need a
wrapper to extra the subId from a PhoneAccount and return the
value of TelephonyManager#line1Number.
Also update error strings to be more consistent.

Bug: 19087382
Change-Id: Ie5a474d45336921d1007b36a4d26cd4da68f8b91
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
8c066f7cc38a32ea6bd8138eb23eaeefcadd3b8a 04-Dec-2014 Nancy Chen <nancychen@google.com> Use TelecomManager to call TelephonyManager#getVoicemailNumber (1/2)

Since we don't want the phone app to call TelephonyManager methods
directly, create a method in TelecomManager to mimic the behavior. The
reason we don't return the voicemail number directly is because once
TelecomManager becomes public, we don't want any old app to be able to
get the SIM's voicemail number.

Bug: 18233678

Change-Id: I620af409788aea7b58169b72a563baeed8115080
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
7a4e3871e766588a42acd632f63398539058ab03 21-Nov-2014 Sailesh Nepal <sail@google.com> Add system API to get registered connection managers

This API is used to check if we're in the simplified
version of the call assistant settings UI or the version
that displays a full list.

Bug: 18473946
Change-Id: I7dca50ada80b2203bd8d646bb510418646382df8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
0e094d926c306c3667bcdf6f23c52cc7181f25f3 09-Nov-2014 Evan Charlton <evanc@google.com> Apply @hide / @SystemApi to android.telecom.*

Move the android.telecom.* namespace back to @hide, and also mark it
with @SystemApi so that system-privileged apps can use them.

Bug: 18302450
Change-Id: I33ae1b9b0dfdb1c5eff51ca3c829196bcfc9411c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
3fdf2a84c082729fb3581738d48885fe6914c475 06-Nov-2014 Sailesh Nepal <sail@google.com> Make APIs to get system phone accounts public

This is used by Wi-Fi calling to handoff and incoming
call to a cellular call.

For example, when doing an handoff we can look through
the outgoing phone accounts and find the one that the user
has verified with their google account. We can then
handoff to that phone account.

Bug: 17686424
Change-Id: I06d42aa8f4a36d11e5293ed6f7c62b796226f5c1
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
b2299c13037d0f7fc5276ff2b21c53cb20c054c5 30-Oct-2014 Nancy Chen <nancychen@google.com> Adn queries for multi-SIM. (2/3)

Define a method in Telecom to take in a subscription account and return
the URI for an ADN query for that account.

Bug: 17917937
Change-Id: Ic50a4add7fe44a5164271dc9c9e5a58e45e72336
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
e1678ddf7a8311c79ccba5a6b6183f9484fa1f1f 31-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Handle MMI for multi-SIM (1/3)" into lmp-mr1-dev
95e8a679335648388988337fcf08eac325768318 17-Oct-2014 Nancy Chen <nancychen@google.com> Handle MMI for multi-SIM (1/3)

+ Add Telecomm and Telephony methods for handlePinMMIForSubscriber
+ Add Select Account dialog in Dialer for MMI

Bug: 17917937

Change-Id: I26fdc68a07ca0483bf7a052598fe31b1461fd486
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
c1c86151b033a2c866c10970553b567dfb359ba9 30-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "More updates to javadocs for Telecom APIs." into lmp-mr1-dev
d9e614fd56677bc39481fce115731d55ab72171a 28-Oct-2014 Santos Cordon <santoscordon@google.com> More updates to javadocs for Telecom APIs.

Change-Id: I8f8389f521c0d654c9bfdc3ad9670be0d118f480
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
6727926a9617cb715ee4fa407f547e67a6f7e134 27-Oct-2014 Anthony Lee <anthonylee@google.com> Added a function to clear accounts for a specified package.

Right now, clearAcounts() only clears the accounts
for the calling package. This new function will allow a class like
PhoneAccoutBroadcastReceiver to clear accounts for any package.

Bug: 17689845
Change-Id: I24db104268535e7e0e33e093e8fab63765df0b08
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
7c72c2d3c2c4943a914abb2e1598610961db8f57 28-Oct-2014 Yorke Lee <yorkelee@google.com> Add comment to TelecomManager.getCallState

Explain why READ_PHONE_STATE permission is not required so that
people don't try to add it in the future. Requiring the permission
causes stability crashes with legacy apps and system components
that don't have the permission.

Change-Id: Idf8766aa409d4a2c4ed3d6f81a398f4a0eb24615
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
b31868df32ef287a561134ecbc96592f657763a3 24-Oct-2014 Tyler Gunn <tgunn@google.com> Merge "Remove TODO in TelecomManager." into lmp-mr1-dev
db7fc1e833a70a0c178621a9f565a90fc6209c88 24-Oct-2014 Santos Cordon <santoscordon@google.com> Merge "Remove SystemApi annotations." into lmp-mr1-dev
6c4ce4020649db7a4e6f566eed80741ea61f98be 23-Oct-2014 Santos Cordon <santoscordon@google.com> Remove SystemApi annotations.

SystemApi only makes sense for hidden APIs.

Bug: 18097290
Change-Id: I76af5f54321c4010334ef419bb7e066663ec784c
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
a94ae5e7e320abf3b8a80ea499d969acd9305424 23-Oct-2014 Tyler Gunn <tgunn@google.com> Remove TODO in TelecomManager.

Bug: 18095076
Change-Id: I6509d295e9e25973040e06be96cf1046edc619ff
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
df385fffe822a7854fb7ce9c5e46ee007646c89e 17-Oct-2014 Nancy Chen <nancychen@google.com> am a6a1c52f: Merge "Use Telecom API for checking if a number is voicemail (1/2)" into lmp-sprout-dev

* commit 'a6a1c52f58f24194de2665bb922577a9d7f6dccf':
Use Telecom API for checking if a number is voicemail (1/2)
6f0c3f1a9a0a7a72c560e756504541e5fa8ac584 17-Oct-2014 Nancy Chen <nancychen@google.com> am c913c2de: Merge "Revert "Add API method to extract subscription ID from phone account (1/3)"" into lmp-sprout-dev

* commit 'c913c2dec18519ae5b989f65b207c7b3fec2d0ef':
Revert "Add API method to extract subscription ID from phone account (1/3)"
443e501c46f57b4189c4ae943d989b24366ef9d8 16-Oct-2014 Nancy Chen <nancychen@google.com> Use Telecom API for checking if a number is voicemail (1/2)

Since we don't want to communicate directly with Telephony in dialer, call
PhoneNumberUtils.isVoiceMailNumber (a Telephony method) through the
Telecom API. Add a method in TelecomManager to do this.

Bug: 17925501

Change-Id: Iecea82a0e5f0b106eaf105e9026d606110acf122
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
c913c2dec18519ae5b989f65b207c7b3fec2d0ef 16-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Revert "Add API method to extract subscription ID from phone account (1/3)"" into lmp-sprout-dev
af6732ef6f196bd0f455847b67b15fcfc2efa927 16-Oct-2014 Nancy Chen <nancychen@google.com> Revert "Add API method to extract subscription ID from phone account (1/3)"

This reverts commit b0cad32c3cadd0387f6dcd82aade629e6f2f6bee.

Change-Id: I54b6373ba0fc7d1ecc64c6ceedc7b371c7017cd8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
00bc5cf896814f55db4dd27be72fe26bc48a0d0b 15-Oct-2014 Nancy Chen <nancychen@google.com> am 9faf13b4: Merge "Add API method to extract subscription ID from phone account (1/3)" into lmp-sprout-dev

* commit '9faf13b47467916897cf5c019a3a74df871b8f65':
Add API method to extract subscription ID from phone account (1/3)
9faf13b47467916897cf5c019a3a74df871b8f65 15-Oct-2014 Nancy Chen <nancychen@google.com> Merge "Add API method to extract subscription ID from phone account (1/3)" into lmp-sprout-dev
b0cad32c3cadd0387f6dcd82aade629e6f2f6bee 09-Oct-2014 Nancy Chen <nancychen@google.com> Add API method to extract subscription ID from phone account (1/3)

Since Telephony uses subscription ids and Telecom uses Phone Accounts,
there should be an easy way to interface between the two. Since the
value of the subscription id and "id" of the phone account should be the
same in the case of a SIM phone account, we just need to check that the
phone account in question is a SIM phone account and convert the string
to a long.
This lays in groundwork for the following bugs:

Bug: 17925501
Bug: 17917937
Change-Id: I926e969b365d9e9878436302117e8786ec5513b8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
0b27c283771e3690f47900d0c2130ae10af332a5 07-Oct-2014 Yorke Lee <yorkelee@google.com> am 7e552595: am 4c334f3d: Merge "Add ability to add sim-initiated MO call to UI (2/4)" into lmp-dev

* commit '7e552595bda0825787820e3d9bb58b5fad32cd01':
Add ability to add sim-initiated MO call to UI (2/4)
c3cf982d18e28fc27126265422f36c5e845808db 02-Oct-2014 Yorke Lee <yorkelee@google.com> Add ability to add sim-initiated MO call to UI (2/4)

Add supporting (hidden) APIs to TelecomManager to add the ability to
add a previous unknown call to Telecom

Bug: 17787391

Change-Id: Ibdfaee81a55e11451c146751cf970980dccad435
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
7363517f0745a9856351a979fdc1991d97096711 03-Oct-2014 Evan Charlton <evanc@google.com> am 25b85bcc: am 8f8bffa1: Merge "Add @SystemApi to missing TelecomManager methods" into lmp-dev

* commit '25b85bcc41ccdd912cba7b9b6462f177e85b3b08':
Add @SystemApi to missing TelecomManager methods
ce11decc5e7e01d5aa02c7f8fde550783a00de43 02-Oct-2014 Evan Charlton <evanc@google.com> Add @SystemApi to missing TelecomManager methods

A few methods (which should be exposed) were missing @SystemApi
annotations.

TelecomManager#addNewIncomingCall
TelecomManager#registerPhoneAccount
TelecomManager#unregisterPhoneAccount

Bug: 17786491
Change-Id: Idf318cf6238668762c00ed0913a9c0ccd5bcb884
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
8635c578f0408ca76cbaef5464d27bfde7450425 24-Sep-2014 Evan Charlton <evanc@google.com> Revert "@hide ConnectionService APIs."

This reverts commit 86935c406e4a8bb0e2ad871b51009f3603df9e87.
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
711d876fd110b33519afb5d05f5a740ade635787 19-Sep-2014 Tyler Gunn <tgunn@google.com> @hide ConnectionService APIs.

Bug: 17569532
Change-Id: I68f7237191bd6d7a1a00ba7bb4fd2f8e3d669e8f
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
513c8921359c2b576e0713da6d649e5e7c29d179 17-Sep-2014 Nancy Chen <nancychen@google.com> Replace get*PhoneAccounts* public API methods with new method (1/3)

Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ebc69cd19e3c4a40748410f6d509989e83829f1b 17-Sep-2014 Nancy Chen <nancychen@google.com> Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
210ef039fbceced2485b89ae30e6d7da62f204f4 16-Sep-2014 Nancy Chen <nancychen@google.com> Remove ability to enable/disable phoneaccounts (1/6)

Enabling/disabling of phone accounts was only used for SIP accounts and
is no longer necessary for the purpose it was put in.
- Remove all references to enabling/disabling phone accounts
+ Rename getEnabledPhoneAccounts -> getCallCapablePhoneAccounts

Bug: 17510811

Change-Id: Id805daae3cc698c75f5e747b6a6107ab0bd3afa0
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
f13a8b797d98d3b009160c1de7c2759430938ad2 16-Sep-2014 Yorke Lee <yorkelee@google.com> No longer require READ_PHONE_STATE permission for getCallState

Bug: 17510808
Change-Id: Id3bb5bf2fea9489bd613063aa946389e8ceb3104
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
2ae312e30652a4d0019b17825b58d558c4483a58 13-Sep-2014 Yorke Lee <yorkelee@google.com> Pipe TelephonyManager.getCallState through TelecommManager

* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java
ef9f6f957d897ea0ed82114185b8fa3fefd4917b 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: I192cb5d189f55db012ea72ee82ccc5aedbc21638
/frameworks/base/telecomm/java/android/telecom/TelecomManager.java