723 Commits

Author SHA1 Message Date
Tyler Gunn
6baa707133 Merge "Add PhoneAccount capability to indicate if VT uses presence." 2015-12-12 00:38:12 +00:00
Tyler Gunn
9a365756b3 Add PhoneAccount capability to indicate if VT uses presence.
Added new PhoneAccount capability used to indicate whether the dialer
should use the presence bit in the contacts provider to determine when
the video call icon is shown or not.

Bug: 20257833
Change-Id: Ifb3cc5b7ff1090d539dfb925dce9f6327de15c46
2015-12-09 15:00:18 -08:00
Hall Liu
70ac616b38 Merge "Add extras tag for analytics support" 2015-12-08 21:53:25 +00:00
Tyler Gunn
6e2d208097 Merge commit '73831680cd7e47df103cf60a2230ed411e5d3b93' into tgunn-mncvtdev-to-master-2015-12-04 2015-12-04 21:03:46 -08:00
Neil Fuller
568f4de11a Merge "Fix @code escapes" 2015-12-03 09:44:01 +00:00
Neil Fuller
71fbb81b14 Fix @code escapes
The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
2015-12-02 14:24:11 +00:00
Bryce Lee
842ec9c407 Merge "Add callback for connections to be notified when the ringer is silenced." into cw-e-dev am: 52bdf11583 am: b241487c16 am: 64e41590d2
am: 0ca7de9031

* commit '0ca7de90310034d118f21343a69a38ebc02dd0bc':
  Add callback for connections to be notified when the ringer is silenced.
2015-11-30 19:17:53 +00:00
Tyler Gunn
6676bb5da5 Add "acceptRingingCall()" API which accepts a videoState.
- Added acceptRingingCall API which accepts a videostate to complement the
existing API.

Bug: 20159300
Change-Id: I2a9d53fd4dbbb0be49d95416f7e26d3ec61774cd
2015-11-24 15:43:20 -08:00
Hall Liu
90f62907b6 Add extras tag for analytics support
Change-Id: I174de505cb96206f90d3cc5ba8fcca7ed9908b7f
2015-11-19 16:19:24 -08:00
Bryce Lee
cac50775b2 Add callback for connections to be notified when the ringer is silenced.
Bug: 25644529
Change-Id: Ie7dc9028cf6243d98b2d87ca4c8b3ffcd31e3676
2015-11-17 15:13:29 -08:00
Tyler Gunn
5da678f71b Merge "Add extras keys for instant lettering." 2015-10-21 21:26:09 +00:00
Bryce Lee
38f0119b09 am adf38ccb: am b70426b1: am 4c9fcd54: Merge "Add capability to identify phone accounts that are emergency only." into cw-e-dev
* commit 'adf38ccb6ea0a3b406273061d1fc01f61bc6abb6':
  Add capability to identify phone accounts that are emergency only.
2015-10-16 22:42:43 +00:00
Tyler Gunn
d666a8d959 Merge "Move position of bundle parceling for PA extras." 2015-10-15 22:20:15 +00:00
Bryce Lee
b96d89cd34 Add capability to identify phone accounts that are emergency only.
Bug: 24756957
Change-Id: Id26eaa7f6632674f7122b4cd658cbe2bf9b04594
2015-10-14 16:48:40 -07:00
Tyler Gunn
d426b20cd8 Add extras keys for instant lettering.
- Also fix bug where copy-builder for PA was not copying over the extras.

Bug: 22806380
Change-Id: If25a1299bdd0a48340e9d13857f982a90d728af6
2015-10-13 13:33:53 -07:00
Hall Liu
e1bc2ec710 Add TelecomManager constructor for passing in TelecomServiceImpl
override

Bug: 24618535
Change-Id: I2dafcc9ab496de94eb6a6894916030ed4e7556f8
2015-10-09 16:31:10 -07:00
Tyler Gunn
ef829ece3c Move position of bundle parceling for PA extras.
Bug: 22806380
Change-Id: I9797ee0f6c9b5143ccd3417cfd5a7b631a4db480
2015-10-08 09:46:23 -07:00
Tyler Gunn
25ed2d7aec Add "Extras" to PhoneAccount.
- Add extras to PhoneAccount, and associated builder.

Bug: 22806380
Change-Id: I90f4c1a9b022eef7e6d2829d82851ac307ceafdf
2015-10-05 14:14:38 -07:00
Bryce Lee
5821983253 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.
2015-09-27 15:11:29 +00:00
Bryce Lee
30b0aa04dc Add additional broadcast for when a phone account is unregistered.
Change-Id: Ia14a4206ea50af11c6151e11a95851e5ffa2cd99
2015-09-23 21:53:53 -07:00
Yorke Lee
c61d1366ff Add permission annotations to TelecomManager
Change-Id: I1394429d2e183165ba0e4c63da4952837d0a63e3
2015-09-21 17:25:25 -07:00
Tyler Gunn
6b3db37f3c Merge "Support for Telecom Call IDs." 2015-09-17 17:00:04 +00:00
Tyler Gunn
f0500bd635 Support for Telecom Call IDs.
Add support for caching telecom call ID in connection and conference
classes.

Enhance connection service call ID generation:
For "existing calls", the connection service will try to use a call ID
of the format ClassName@ID
Where ClassName is the ComponentName of the connection service, and ID
is a unique incrementing ID for the connection service.

Bug: 23357902
Change-Id: I2284b018465e2b330fc8a3b556758e9f34a2daba
2015-09-01 10:59:48 -07:00
Bryce Lee
5a0b7e9800 am 8bfa215a: am 3ef68803: am ad9a0efc: Merge "Add capability for a connection hand rejection text response." into cw-e-dev
* commit '8bfa215ab1ea29cc51ad38fbf4728542c8cb0aae':
  Add capability for a connection hand rejection text response.
2015-09-01 16:07:25 +00:00
Bryce Lee
8190168077 Add capability for a connection hand rejection text response.
Change-Id: Id90417736bed7ab8750144ccaf3c7b449ec832b8
2015-08-28 16:38:02 -07:00
Tyler Gunn
10397d377d am 393a93ab: am 7d4cf23f: am 9e191aa6: am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
* commit '393a93abaf8eb14a6b7efebcd7665484558161f8':
  Fix incorrect android.telecom.Call.Details equality check.
2015-08-19 23:13:40 +00:00
Tyler Gunn
9e191aa634 am a6562603: am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
* commit 'a65626031017517331fd402541b5e8f072c46a34':
  Fix incorrect android.telecom.Call.Details equality check.
2015-08-19 22:41:14 +00:00
Tyler Gunn
a656260310 am 1e9bfc64: Fix incorrect android.telecom.Call.Details equality check.
* commit '1e9bfc6461d3fe5455c9d7a21414ec66695b5798':
  Fix incorrect android.telecom.Call.Details equality check.
2015-08-19 22:29:51 +00:00
Tyler Gunn
1e9bfc6461 Fix incorrect android.telecom.Call.Details equality check.
The the android.telecom.Call.Details class provides its own equals
implementation.  Recently added in M is to also check if the mExtras
and mIntentExtras are different.  Unfortunately, Bundles do not implement
equals.  As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount).  Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.

Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee
2015-08-19 20:52:13 +00:00
Svetoslav Ganov
99ba7ad73c am f6401419: am 340314fd: am 7c3d595a: am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
* commit 'f64014195b6d7bdc2f4d79f3c4c71de16d2fe338':
  Add GTS test to ensure valid default permission grants - framework
2015-08-14 15:44:14 +00:00
Svetoslav Ganov
7c3d595a3d am 4b655fd1: am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
* commit '4b655fd193992afff948df513c7b9b9a0389972e':
  Add GTS test to ensure valid default permission grants - framework
2015-08-14 15:19:47 +00:00
Svetoslav Ganov
4b655fd193 am b045331f: Merge "Add GTS test to ensure valid default permission grants - framework" into mnc-dev
* commit 'b045331fcb033507072bfd7899a147bb2be7176e':
  Add GTS test to ensure valid default permission grants - framework
2015-08-14 15:13:38 +00:00
Svet Ganov
52153f4c05 Add GTS test to ensure valid default permission grants - framework
The platform grants runtime permissions by default to apps on the
system image that provide core device use cases which a user expects
to work out-of-the-box. We are now adding a test to ensure that
OEMs cannot pregrant premissions on non approved components.

bug:23043018

Change-Id: Id76717cce0ee59678956bd0be347d3c045fe4c51
2015-08-12 21:57:59 -07:00
Bryce Lee
2757bda498 am c64deee8: am 761ec600: am 8cb92371: Merge "add call back intents for clearing missed calls and calling back." into cw-e-dev
* commit 'c64deee8ac0338f60a6f57632a6877cf3f1b27f7':
  add call back intents for clearing missed calls and calling back.
2015-08-10 15:22:35 +00:00
Bryce Lee
8d41d1d4fd add call back intents for clearing missed calls and calling back.
Change-Id: Ib81fecc21c5491f975fa7c44f4e5984a4b3f8e7f
2015-08-10 15:06:59 +00:00
Bryce Lee
9ebe50b995 am e49d7070: am fc284814: am 0c4999c2: Merge "Add action for notifying custom components of missed calls." into cw-e-dev
* commit 'e49d7070a82b8f5e1b2571db5aaa708abc3d3977':
  Add action for notifying custom components of missed calls.
2015-08-10 14:52:37 +00:00
Bryce Lee
0c4999c279 Merge "Add action for notifying custom components of missed calls." into cw-e-dev 2015-08-10 14:27:59 +00:00
Yorke Lee
cb42d9e3ab Merge "Ensure that OnCannedTextResponsesChanged callback is fired" 2015-08-06 17:08:53 +00:00
Yorke Lee
cac65febb7 am f0affc6d: Merge "Correctly hide setConnectionService" into mnc-dev
* commit 'f0affc6d46849e844bec9ddc755ffae0042e443f':
  Correctly hide setConnectionService
2015-08-06 01:43:05 +00:00
Yorke Lee
e886f63b2b Ensure that OnCannedTextResponsesChanged callback is fired
Bug: 22952515

Change-Id: Ic94db1dd2fc9d7db2259265b90be86617ed93971
2015-08-05 16:51:54 +00:00
Yorke Lee
5346396ba2 Correctly hide setConnectionService
Bug: 22957023
Change-Id: Ia3bd74f2fcc9f9dd5c9298f4505c18ee652436be
2015-08-04 16:07:19 -07:00
Bryce Lee
5e4dd3e199 Add action for notifying custom components of missed calls.
Change-Id: I09797e323dda7a5316f42c2a1c20fadbc60f2c6f
2015-08-03 16:59:10 -07:00
Tyler Gunn
ac2aefc37b Remove EXTRA_CALL_HISTORY_INFO.
- Remove EXTRA_CALL_HISTORY_INFO (replaced by EXTRA_LAST FORWARDED_NUMBER).
- Added carrier config key for instant lettering.

Bug: 22684864
Change-Id: Ic46fdccf5b665417f15e612a2cc4d7f1fb67ccca
2015-07-31 15:34:46 -07:00
Tyler Gunn
a21b2e30b2 resolved conflicts for merge of d0694da4 to mnc-dr-dev
Change-Id: Ifd2636d0e1b7eae15d412cfa0a948a572c905b3a
2015-07-31 09:02:32 -07:00
Tyler Gunn
335ff2ec7a Add telecom extra keys required for DMR release.
Bug: 22848290
Change-Id: I3328234e3f07d83d0dbe5b61b959344b6cc5cc3f
2015-07-30 14:18:33 -07:00
Sailesh Nepal
337637607d am 6b96de8d: Merge "Default permissions for sim call manager" into mnc-dev
* commit '6b96de8dae8be99f75c86c795672905e10fca153':
  Default permissions for sim call manager
2015-07-29 18:00:05 +00:00
Sailesh Nepal
cf85562bc9 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
2015-07-28 22:16:25 -07:00
Tyler Gunn
3d83e74449 am bdbec480: Merge "Add "Call subject" capability to phone accounts." into mnc-dev
* commit 'bdbec480e8598bd959a2fc047cfad8b72c8a645b':
  Add "Call subject" capability to phone accounts.
2015-07-28 20:31:05 +00:00
Tyler Gunn
65a3d3430a Add "Call subject" capability to phone accounts.
Indicates whether the phone account supports displaying a subject line
for incoming calls and sending a subject line for outgoing calls.
Supports the IMS Instant Lettering feature.

Bug: 22769741
Change-Id: I6d803dc288bfd6d4e356310a8d10d5468c5d4186
2015-07-27 16:06:16 -07:00
Tyler Gunn
0072090230 Add child_address call extra.
Used to pass the child number up from IMS to InCall via extras.

Bug: 22685113
Change-Id: I8990e4e74be5052f5ff840f8277abd2df1cb4c9d
2015-07-24 10:53:25 -07:00