Commit Graph

1262 Commits

Author SHA1 Message Date
Tyler Gunn
ee72c438b7 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48 am: f2dc5a204a
am: 3584c0a088

Change-Id: Ie20ead7404d1f200785104d896129212d126d9e7
2018-11-01 16:34:34 -07:00
Tyler Gunn
3584c0a088 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48
am: f2dc5a204a

Change-Id: I39dd19c1c09b15136460854fd0e5a2b8161766c3
2018-11-01 16:15:49 -07:00
Tyler Gunn
80a5e1e940 Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call.
This property is used to report the voip audio mode requested by the
underlying connection.  This is useful for ringing calls and held calls
where the current system audio mode will not necessarily match what the
Connection would use.

Test: Added and ran new CTS tests.
Bug: 110540796
Change-Id: I8c26db4b35de4d40d7b76b3c1adc93223afa104b
2018-10-31 15:09:17 -07:00
Chen Xu
40e6f7ed00 Merge "Revert "Revert "Telephony light grey list clean up for Q""" am: d4e2c6cd5a
am: 39cc174191

Change-Id: I6c8bdd4d4df115abe6fd1914d21019da8930c8be
2018-10-29 11:55:14 -07:00
Chen Xu
d4e2c6cd5a Merge "Revert "Revert "Telephony light grey list clean up for Q""" 2018-10-29 17:20:48 +00:00
Chen Xu
4c0b06d1d1 Revert "Revert "Telephony light grey list clean up for Q""
This reverts commit bab59cb9db.

Reason for revert: Put maxTargetSdk=P now will move APIs onto light greylist
because per-SDK versioned dark greylist is not yet supported by ART. We can
keep doing annotation work without breaking existing apps targeting on P.

Bug:117934933
Bug:112477300

Change-Id: I5e0e693dde49fac3044cd73fd6360c4485f312ec
Merged-in: I5e0e693dde49fac3044cd73fd6360c4485f312ec
2018-10-26 23:31:40 +00:00
Chen Xu
91f600902b Revert "Revert "Telephony light grey list clean up for Q""
This reverts commit bab59cb9db.

Reason for revert: Put maxTargetSdk=P now will move APIs onto light greylist
because per-SDK versioned dark greylist is not yet supported by ART. We can
keep doing annotation work without breaking existing apps targeting on P.

Bug:117934933
Bug:112477300

Change-Id: I5e0e693dde49fac3044cd73fd6360c4485f312ec
2018-10-26 17:24:23 +00:00
Nathan Harold
41e2d7494f Merge "Move some members to the "Q blacklist"." am: f5cf9f24ed
am: 13c9e7e2f3

Change-Id: Ia2419cce28d26d9464da2a5172cb332b629e943e
2018-10-24 16:14:06 -07:00
Nathan Harold
f5cf9f24ed Merge "Move some members to the "Q blacklist"." 2018-10-23 21:53:51 +00:00
Mathew Inwood
45d2c252b1 Move some members to the "Q blacklist".
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 115609023
Test: m
Merged-In: I719b5c94e5b1f4fa562dd5d655953422958ad37e
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
(cherry picked from commit 8c854f86a4)
2018-10-22 17:28:24 -07:00
Chen Xu
2d42ee1147 Revert "Telephony light grey list clean up for Q"
Reason for revert: This CL caused MMS break because Bugle is using the
hidden API in Q's darkgrey list. The proper fix should either come from
Bugle team if their apk moved to Q, or compat team to explore why this
caused issue for app target on P.

Bug: 117899984
Test: telehony unit test
Change-Id: I49207b7f66d75e6e6cc3aa4828601938a3172828
2018-10-19 13:21:24 -07:00
Bill Yi
0b537c73f7 Merge pi-dr1-dev to aosp-master
Change-Id: I40fca8b785049f8563809a70f6671b8af89f3cfd
2018-10-19 12:20:31 -07:00
Chen Xu
cd6874f0bf Merge "Revert "Telephony light grey list clean up for Q"" am: a18e095754
am: c16c2f7c8e

Change-Id: I17fee4991fbe3a8987710be55e73898c1abebe82
2018-10-19 12:11:23 -07:00
Chen Xu
c16c2f7c8e Merge "Revert "Telephony light grey list clean up for Q""
am: a18e095754

Change-Id: I413ff7a0e759ae257d3be6fba180c220b15f07d2
2018-10-19 11:58:21 -07:00
Chen Xu
bab59cb9db Revert "Telephony light grey list clean up for Q"
This reverts commit 253bdb7175.

Reason for revert: This CL caused MMS break because Bugle is using the
hidden API in Q's darkgrey list. The proper fix should either come from
Bugle team if their apk moved to Q, or compat team to explore why this
caused issue for app target on P.

Change-Id: Icc6c190cde79c10d9045183c0b80cdf008e95578

Bug: 117899984
2018-10-19 18:05:32 +00:00
chen xu
6ea046e734 Merge "Telephony light grey list clean up for Q" am: b9749f750f
am: 700b5c3062

Change-Id: I22775147345a2c2159f18c49a94ec7e9d2a314a3
2018-10-15 16:02:42 -07:00
chen xu
700b5c3062 Merge "Telephony light grey list clean up for Q"
am: b9749f750f

Change-Id: Ia23066251baf4f1f876f7e80bfd31e465917d8dc
2018-10-15 15:44:17 -07:00
chen xu
e2592af979 Telephony light grey list clean up for Q
Bug: 112477300
Test: Telehony unit test
Change-Id: I5229224fe9a65b3647a42070f287e23f67084bda
2018-10-15 18:47:20 +00:00
chen xu
253bdb7175 Telephony light grey list clean up for Q
Bug: 112477300
Test: Telehony unit test
Change-Id: I5229224fe9a65b3647a42070f287e23f67084bda
Merged-in: I5229224fe9a65b3647a42070f287e23f67084bda
2018-10-15 10:19:43 -07:00
Tyler Gunn
06ee120b05 Merge "Update PROPERTY_HIGH_DEF_AUDIO API docs." am: 5674805cda am: f17f1d7cdc
am: 5101473303

Change-Id: I641c2f173c97736c52c6f153e77b68b16b31c4f1
2018-10-11 14:24:12 -07:00
Tyler Gunn
5101473303 Merge "Update PROPERTY_HIGH_DEF_AUDIO API docs." am: 5674805cda
am: f17f1d7cdc

Change-Id: I884edd29bd9bd42c44c537d2e22879815086e4c6
2018-10-11 13:57:35 -07:00
Tyler Gunn
f17f1d7cdc Merge "Update PROPERTY_HIGH_DEF_AUDIO API docs."
am: 5674805cda

Change-Id: I4ebe0542fc233f992e123f1715621855e253bf14
2018-10-11 13:40:57 -07:00
Tyler Gunn
6b6ae55f72 Update PROPERTY_HIGH_DEF_AUDIO API docs.
Make it more clear that the intention of the property is to convey whether
a call is high definition on the UI or not, and NOT to report the actual
audio codec in use.

Test: Build
Bug: 78550833
Change-Id: Id002cd1c9cc1d5aea6f8d9ab4e3d99956b7c42b2
2018-10-11 10:42:10 -07:00
kopriva
dae6ec0db7 Merge "docs: fixing 'mange' instead of 'manage'" into pi-dev am: 14aa42cfda
am: 57adb99451

Change-Id: I477a610e0602e464847c1a1ccb13b21644ee1ae8
2018-10-08 19:30:00 -07:00
kopriva
57adb99451 Merge "docs: fixing 'mange' instead of 'manage'" into pi-dev
am: 14aa42cfda

Change-Id: Id461e2430301c62be5ee76f5046370069cb1a34c
2018-10-08 19:14:44 -07:00
kopriva
82c591b78b docs: fixing 'mange' instead of 'manage'
Test: make ds-docs

Bug: 117449040

Change-Id: I282a2e960bbf722bf3a72dd932e3bf685abb74e5
Exempt-From-Owner-Approval: Docs-only change
2018-10-08 15:57:00 -07:00
Shaotang Li
403675bd3c Add new telecom metrics for emergency dialer
These includes,
1. The source where user initiated the call.
2. The duration between START_CONNECTION and REQUEST_DISCONNECT.

Bug: 112168722
Bug: 111818008

Test: manual and check the result of
'adb shell dumpsys telecom' for metrics data
Change-Id: Iddc7f256362abe9fe252bd12cead05a7d77d329e
Merged-In: Iddc7f256362abe9fe252bd12cead05a7d77d329e
2018-10-03 02:59:42 +00:00
Tyler Gunn
e3adae5287 Merge "Add handleCallIntent method in TelecomManager." am: e35965e881 am: ffbc91f6e8
am: e353ef0152

Change-Id: I5cfec86ccf5b31b8c6de728f3012276d32cec71f
2018-10-02 18:13:07 -07:00
Tyler Gunn
ffbc91f6e8 Merge "Add handleCallIntent method in TelecomManager."
am: e35965e881

Change-Id: I3875eee60ddbdb522b60d3066e0c14125c3a1780
2018-10-02 15:55:22 -07:00
Tyler Gunn
e35965e881 Merge "Add handleCallIntent method in TelecomManager." 2018-10-02 22:27:14 +00:00
Tyler Gunn
c37445cb4e Add handleCallIntent method in TelecomManager.
This is an @hide method usable only from within Telecom itself in order to
trampoline an ACTION_CALL intent from the UserCallActivity to
Telecom's system service.

Bug: 116719392
Test: Verify that calls initiated via CALL intent no longer get rebroadcast
and are instead sent directly to Telecom.

Change-Id: Ie765631bef8329a8ed12723d9c037a44b4f80882
2018-09-28 16:16:20 -07:00
Tyler Gunn
30c689e05b Merge "Mark event-based handover constants as deprecated." am: 5604cc2516 am: 190a8121c2
am: 1e1928baf1

Change-Id: Ibd1758f23d5d147b33bf692742c540a875ac563e
2018-09-26 06:36:27 -07:00
Tyler Gunn
190a8121c2 Merge "Mark event-based handover constants as deprecated."
am: 5604cc2516

Change-Id: I25b81274e0825e94133d21b976c8a20c4faff83d
2018-09-26 06:02:39 -07:00
Tyler Gunn
5604cc2516 Merge "Mark event-based handover constants as deprecated." 2018-09-26 04:18:35 +00:00
Tyler Gunn
56479b1b9a Merge "Add support for network identified emergency calls." am: 108349f8d6 am: 6d400c7352
am: 2c52f8f90d

Change-Id: I518c7c1165d008485f0040b005a6055f2fe2126c
2018-09-24 16:39:41 -07:00
Tyler Gunn
6d400c7352 Merge "Add support for network identified emergency calls."
am: 108349f8d6

Change-Id: I21ffa931cba06086ca8fd970a0172c282af03b3a
2018-09-24 16:14:14 -07:00
Tyler Gunn
108349f8d6 Merge "Add support for network identified emergency calls." 2018-09-24 22:50:50 +00:00
Hall Liu
b50d26844d Merge "Propagates voice call radio technology to connection" am: 5405d09204 am: 8a456bad23
am: 7286d12eeb

Change-Id: Iaad156be361cbcc6da826404556238097b1d6094
2018-09-21 14:35:36 -07:00
Tyler Gunn
5bd90853a5 Add support for network identified emergency calls.
Add support for the IMS call profile to indicate that a call is an
emergency call.
Add supporting connection and call properties so that this can be
propagated to Telecom and ultimately the Dialer app.
Add System API to determine if the device is in a network IDed or dialed
emergency call (used in Telephony).

Test: Manual test using test intents and ecclist property.
Test: Added new telecom unit tests.
Bug: 77565333
Change-Id: I769e7b5000b10662c08fe53c91ef99edc685d2b1
2018-09-21 09:37:07 -07:00
Hall Liu
8a456bad23 Merge "Propagates voice call radio technology to connection"
am: 5405d09204

Change-Id: I244839f759f40066565111dae91bbe07692e3ebf
2018-09-20 23:13:14 -07:00
sqian
ba810d3a8b Merge "Revision of CallRedirectionService API Review"
am: 9dc1900ea9

Change-Id: Ib3bca75ec77aeb64aac7d4588bb47fc0389f1713
2018-09-20 22:59:29 -07:00
Hall Liu
5405d09204 Merge "Propagates voice call radio technology to connection" 2018-09-20 22:16:50 +00:00
sqian
0e831f5781 Revision of CallRedirectionService API Review
- onBind should be final (I think also for onUnBind)
- Remove verbose logging
- Document redirectCall/placeCallUnmodified/cancelCall can only be
called from onPlaceCall

Bug: 112303670
Test: compile
Change-Id: I7d70a5ac3063a638d9383f69c99e4c1f822e8948
Merged-In: I7d70a5ac3063a638d9383f69c99e4c1f822e8948
(cherry picked from commit 4ec07dd68a)
2018-09-19 13:13:12 -07:00
Wei Huang
7f7f72e451 Propagates voice call radio technology to connection
This patch mainly takes below changes:
 1) Add new extra to indicates the call network technology.
 2) Provides basic function to set/get call radio technology.

Bug: 67856372
Test: Manual
Change-Id: I1a12382fdb589ce823fe7af025832db4cdc152c2
2018-09-19 18:51:52 +09:00
Tyler Gunn
1a505fa8c8 Mark event-based handover constants as deprecated.
With the introduction of supported APIs in P, these event-based prototype
constants are no longer needed.

Test: Manual testing with test app
Bug: 110846969
Change-Id: Ic453923f57eb30d9ae7e1ee3c8ff07420e79f597
2018-09-14 13:36:38 -07:00
Mathew Inwood
8c854f86a4 Move some members to the "Q blacklist".
Based on some analysis, these fields/methods are likely false positives.
Set maxTargetSdk=P so that any apps using them are required to migrate off
them in future. See the bug for more details.

Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.

Bug: 115609023
Test: m
Change-Id: I719b5c94e5b1f4fa562dd5d655953422958ad37e
2018-09-14 13:18:34 +01:00
Shaotang Li
85105e5685 Merge "Add new telecom metrics for emergency dialer" am: 0dcc53fd52 am: 28d138a6aa
am: 7d14032afe

Change-Id: I789f6659f25078fcfce673799cb88d1a05c0aa9f
2018-09-13 00:51:51 -07:00
Shaotang Li
28d138a6aa Merge "Add new telecom metrics for emergency dialer"
am: 0dcc53fd52

Change-Id: I0a1537c8dbd6723614869e6bfcd95292ac603872
2018-09-13 00:26:01 -07:00
Shaotang Li
8cec25c346 Add new telecom metrics for emergency dialer
These includes,
1. The source where user initiated the call.
2. The duration between START_CONNECTION and REQUEST_DISCONNECT.

Bug: 111818008
Test: manual and check the result of
'adb shell dumpsys telecom' for metrics data
Change-Id: Iddc7f256362abe9fe252bd12cead05a7d77d329e
2018-09-06 12:38:18 +08:00
sqian
54016bdbca Merge "Call Redirection Surface in Telecom out going call flow"
am: 11486bfab2

Change-Id: Id5426d4695a8b9caceb2a429f1201f78e5f5c9cb
2018-08-31 17:36:01 -07:00