Commit Graph

25880 Commits

Author SHA1 Message Date
Charles Munger
080ddd5dfd Merge "Deprecate implicit Handler constructors"
am: 560c3ebe1e

Change-Id: I254f85c07743883c7d350a47750dad0745c47d52
2019-11-19 16:04:15 -08:00
Brad Ebinger
5dc01f163a Merge "Add support for disconnecting outgoing calls for emergency calls"
am: 252fcc7b27

Change-Id: I0f3d0a651b69e76de0ba3f3a473bd5bcbb4c4d35
2019-11-19 15:39:32 -08:00
Jordan Liu
2ca04cf384 Merge "Expose Geometry, LatLng, and maxWaitDuration"
am: e993fb8bb9

Change-Id: Ie8332c4a2b6ee5617b4313235932645cbb4f593d
2019-11-19 15:35:35 -08:00
Brad Ebinger
f6b214da1c Merge "Reorder getFeatureState parameters to convention"
am: e11ab258b9

Change-Id: I9b0671d59bb7503d0947d354a5e5030b20010cdb
2019-11-19 15:31:34 -08:00
Charles Munger
310697d68d Merge "Deprecate account-specific activity subclass"
am: b7c5d354fb

Change-Id: Ie21ab07bfe7f857c642e62b11e33085db199a021
2019-11-19 15:29:12 -08:00
Treehugger Robot
560c3ebe1e Merge "Deprecate implicit Handler constructors" 2019-11-19 23:28:12 +00:00
Chen Xu
550006b8f8 Merge "deprecate KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL"
am: 04b9b718a5

Change-Id: I53213519b7702400713c9446e9b36a24f4e1fddf
2019-11-19 15:18:12 -08:00
Rahul Sabnis
3e4a53735e Merge "Create systemapis to connect/disconnect all bt profiles"
am: 7700b81cb3

Change-Id: I3780cb82ad20d84ea3d8d87b85dd6d37d1e8f907
2019-11-19 15:16:53 -08:00
Treehugger Robot
252fcc7b27 Merge "Add support for disconnecting outgoing calls for emergency calls" 2019-11-19 22:44:18 +00:00
Jordan Liu
e993fb8bb9 Merge "Expose Geometry, LatLng, and maxWaitDuration" 2019-11-19 20:55:36 +00:00
Hall Liu
dab3711435 Merge commit '1d7a53da981b7d4281c58af7eb9b150163b344a6' into manual_merge_1d7a53da981b7d4281c58af7eb9b150163b344a6
Change-Id: Ie08d8bb30e48a9e7ade85334c6195a791ecc0d9b
2019-11-19 12:37:24 -08:00
Brad Ebinger
e11ab258b9 Merge "Reorder getFeatureState parameters to convention" 2019-11-19 19:10:05 +00:00
Charles Munger
b7c5d354fb Merge "Deprecate account-specific activity subclass" 2019-11-19 16:42:55 +00:00
Brad Ebinger
6271387650 Add support for disconnecting outgoing calls for emergency calls
1) Add CarrierConfig to allow/disallow holding calls for emergency
calls.
2) If holding an ongoing call for an emergency call is disallowed,
define a new DisconnectCause reason to notify telecom/dialer of this
disconnect reason.

Bug: 138741228
Test: atest CtsTelecomTestCases; atest CtsTelephonyTestCases
Change-Id: I7c6a1d0f648c598111ed047fbb9c609843c6aba9
2019-11-18 18:57:54 -08:00
Chen Xu
04b9b718a5 Merge "deprecate KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL" 2019-11-19 01:32:30 +00:00
Rahul Sabnis
7700b81cb3 Merge "Create systemapis to connect/disconnect all bt profiles" 2019-11-18 23:15:06 +00:00
Hall Liu
1d7a53da98 Merge changes from topic "mainline4"
* changes:
  Add new API for Telecom to send phone state
  Minor style correction to avoid merge conflict
  non-mainline telephony related AIDL refactor/decoupling
2019-11-18 22:31:27 +00:00
Charles Munger
04af2e4f80 Merge "Mark strings with incorrect contents as deprecated"
am: 3a4addba4b

Change-Id: I76da2baee8fb1d3e26ba60d39b40f567ada04339
2019-11-18 13:56:20 -08:00
Charles Munger
3a4addba4b Merge "Mark strings with incorrect contents as deprecated" 2019-11-18 21:31:52 +00:00
Charles Munger
67127ff179 Deprecate account-specific activity subclass
Bug: 144042891
Test: No behavior changes
Change-Id: I22cc3f2d19280adeb627c5d9797621fac8b2da1d
2019-11-18 12:53:43 -08:00
Chen Xu
42d7faea52 Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent"
am: 3c397a6217

Change-Id: I87928d3760e884b7b0348f7bbedfdde4c5e8d623
2019-11-18 11:16:54 -08:00
Chen Xu
2d98a66b18 Merge "add a new telephony protection level"
am: cd953e939f

Change-Id: Ie275baf92a865fe1dc5855b00e49944d2598e4b4
2019-11-18 11:16:00 -08:00
Chen Xu
3c397a6217 Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent" 2019-11-18 19:04:39 +00:00
Charles Munger
82f67657f2 Mark strings with incorrect contents as deprecated
Bug: 36908899
Test: No behavior changes
Change-Id: I963b75e81b1d09afa98f732a79bd3e695855451c
2019-11-18 16:21:11 +00:00
Chen Xu
da02e07b92 add a new telephony protection level
for oems which take telephony mainline module, all telephony related
apks will be signed with non-platform certificate. that said apks won't
be able to grant platform signature permission. Solution is to add a new
telephony protection level.

Bug: 141479803
Test: cts & manual
Change-Id: Ib3be016080d42fd76e7c131f4e44d815ce431e6e
(cherry picked from commit 45c183d201)
Merged-in: Ib3be016080d42fd76e7c131f4e44d815ce431e6e
2019-11-17 17:49:41 -08:00
Chen Xu
39b95941f9 SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent
Bug: 135956699
Test: Build
Change-Id: Ic7124f30fae6faa482467fd9235ef6155854f589
(cherry picked from commit 9c1260c818)
Merged-in: Ic7124f30fae6faa482467fd9235ef6155854f589
2019-11-16 09:21:33 -08:00
Jordan Liu
b3591333f7 Expose Geometry, LatLng, and maxWaitDuration
Expose Geometry and LatLng classes as SystemApi
Expose maxWaitDuration, which is used in the cell broadcast service
geofencing logic.

Bug: 135956699
Test: make and run appcompat script
Merged-In: Iac585cd54db97c08eccc57adc9721c90aa785fcd
Change-Id: Iac585cd54db97c08eccc57adc9721c90aa785fcd
(cherry picked from commit a8ec03ebe6)
2019-11-16 07:56:30 -08:00
Hall Liu
7ffa1d11bf Add new API for Telecom to send phone state
Add new API to replace Telecom's prior usage of hidden TelephonyRegistry
methods.

Bug: 141576016
Test: CTS
Change-Id: I0049f55e8eadaa144ad844026524197198700038
2019-11-15 18:29:16 -08:00
Chen Xu
8eb62f9485 non-mainline telephony related AIDL refactor/decoupling
1. decouple IOnSubscriptionChangedListener AIDL from telephonyMainline
2. other refactor. moving APIs which will not be included in
telephony mainline to frameworks/base/core/java/android/telephony.
Moving internal classes like AIDL which will not be included in
telephony mainline to
framework/base/core/java/com/android/internal/telephony

Bug: 140908357
Test: Build & unit test
Change-Id: I9413ef758cceadd251d03f3b5ea1054cc48ef044
Merged-In: I9413ef758cceadd251d03f3b5ea1054cc48ef044
2019-11-15 18:02:40 -08:00
Rahul Sabnis
0d33ef9a5a Create systemapis to connect/disconnect all bt profiles
Bug: 143495377
Test: Manual
Change-Id: I80d816083ef568df319afddfd4557ef74d37d16f
2019-11-15 16:18:25 -08:00
Rahul Sabnis
90a45d63bc Merge "Refactor methods to access/modify BluetoothDevice alias and name"
am: 67bef6ab92

Change-Id: Id0a50d482a7ff33df5fcd990a3ce5273956fcc5c
2019-11-15 15:40:17 -08:00
Chen Xu
77e638be81 deprecate KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL
deprecate KEY_CARRIER_FORCE_DISABLE_ETWS_CMAS_TEST_BOOL. This is
only used for cellbroadcast receiver and move to resource overlay
show_test_settings

Bug: 141579944
Bug: 62016498
Bug: 141772296
Test: Build
Change-Id: I64762d9d7e5857dd2a9da1de4fa99e505a034887
2019-11-15 15:38:02 -08:00
James Mattis
179ed7d640 Merge "Marking SoftApCallback methods as SystemAPI"
am: 8295ffc5af

Change-Id: I9cb5c54a206f9e92a321fa438640329c1f8f8a60
2019-11-15 15:35:37 -08:00
Treehugger Robot
67bef6ab92 Merge "Refactor methods to access/modify BluetoothDevice alias and name" 2019-11-15 23:20:37 +00:00
James Mattis
8295ffc5af Merge "Marking SoftApCallback methods as SystemAPI" 2019-11-15 23:17:54 +00:00
Charles Munger
66f56ac1e8 Merge "Deprecate AliasActivity"
am: 95b815e26e

Change-Id: I9013bd8596ba35bbdaa1e2657c0416f1690a37dc
2019-11-15 10:58:06 -08:00
Treehugger Robot
95b815e26e Merge "Deprecate AliasActivity" 2019-11-15 18:38:35 +00:00
Charles Munger
80b1c4dcc8 Deprecate implicit Handler constructors
These have been the cause of bugs in the past, such as b/10150258,
because it's not always obvious or guaranteed that a calling thread will
always have a looper, or that it's actually the looper you want.
Specifying the looper explicitly, even if it's just Looper.myLooper(),
makes the code clearer. Since callback APIs generally should have
Executor variants added, it might be nice to also deprecate the
constructors or options that rely on the calling thread's looper, but
since I don't have an inventory of all those I'm starting with this.

Bug: 144042891
Test: No behavior changes
Change-Id: I0e7ba80d6b89a866ea715c790dd602ef728bf5bd
2019-11-15 10:17:54 -08:00
Jayachandran Chinnakkannu
8dc9114a9d Merge "Expose the following as system APIs"
am: 119d0fa9ac

Change-Id: I26c045e96b728ee70232f1ad4b7d3647c630dca7
2019-11-15 00:16:34 -08:00
Jayachandran Chinnakkannu
3b1241b603 Merge "Expose the following ServiceState API as system APIs"
am: f19833ca7b

Change-Id: Icd39f4d6a517d5adf654c50f9fd4fd2f631b3876
2019-11-15 00:13:18 -08:00
Jayachandran Chinnakkannu
119d0fa9ac Merge "Expose the following as system APIs" 2019-11-15 07:09:56 +00:00
Jayachandran Chinnakkannu
f19833ca7b Merge "Expose the following ServiceState API as system APIs" 2019-11-15 07:08:34 +00:00
Jiashen Wang
e11d665aae Merge "Add public APIs for carrier apps"
am: 89a1e85387

Change-Id: Ie299e00e7389f03ed455994f0492144ec8f7b27e
2019-11-14 16:08:40 -08:00
Brad Ebinger
879097ecf2 Reorder getFeatureState parameters to convention
Bug: 143653269
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Merged-In: Ifd2739cd8e26c34e3e771a43661e0763929e7a6c
Change-Id: Ifd2739cd8e26c34e3e771a43661e0763929e7a6c
2019-11-14 16:01:11 -08:00
Jiashen Wang
89a1e85387 Merge "Add public APIs for carrier apps" 2019-11-14 23:47:38 +00:00
Rahul Sabnis
24ad4b561c Refactor methods to access/modify BluetoothDevice alias and name
Bug: 142352567
Test: Manual
Change-Id: I86bb69faed1c6d46ac668816e6081bd1673fbf85
2019-11-14 12:58:48 -08:00
Shuo Qian
9aeaffb1fe Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold"
am: af35741307

Change-Id: Ib42e015bf404e5a3f6b770a38941a81b72daaefc
2019-11-14 11:14:58 -08:00
Peter Wang
ded3d9152e Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions"
am: 451c6a80e5

Change-Id: If559af58f06c0b7d8e9c118752cfdf82877761e7
2019-11-14 11:11:37 -08:00
Shuo Qian
af35741307 Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold" 2019-11-14 19:01:45 +00:00
Peter Wang
451c6a80e5 Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions" 2019-11-14 18:59:11 +00:00