TreeHugger Robot
0e56c85768
Merge "Renamed DisplayInfo to TelephonyDisplayInfo" into rvc-dev
2020-03-19 14:29:24 +00:00
Rick Yiu
cb03c9e932
Merge "Revert "[Telephony Mainline] To mark @hide for mainline module r..."" into rvc-dev
2020-03-19 04:23:32 +00:00
Betty Chang
57cbb378a3
Revert "[Telephony Mainline] To mark @hide for mainline module r..."
...
Revert "[Telephony Mainline] To mark @hide for mainline module r..."
Revert submission 10665971-TML_revertSystemApi
Reason for revert: cause the build break
Reverted Changes:
I12a98578c:[Telephony Mainline] To mark @hide for mainline mo...
Ib12145dc0:[Telephony Mainline] To mark @hide for mainline mo...
Change-Id: I5a320c062058af9573a84fabbd06ace68682f3be
2020-03-19 03:54:39 +00:00
Betty Chang
2490ec4d13
Merge "[Telephony Mainline] To mark @hide for mainline module reverting" into rvc-dev
2020-03-19 02:08:19 +00:00
Radhika Agrawal
d0b255218b
Merge "Revert "API review changes Test: make Bug: b/143307441"" into rvc-dev
2020-03-19 00:01:50 +00:00
Radhika Agrawal
aba51fcaf5
Revert "API review changes Test: make Bug: b/143307441"
...
Revert "API review comments Test: make Bug: b/143307441"
Revert submission 10738364-CallQualityAPI
Reason for revert: rvc build breakage
Reverted Changes:
I51b4d5699:API review comments Test: make Bug: b/143307441
I53ebc76da:API review changes Test: make Bug: b/143307441
Change-Id: I62b7a516a4c5f3a950906c17700ba13b5906ba6a
2020-03-18 23:21:09 +00:00
Sarah Chin
91604c2138
Merge "Remove Mainline APIs for MmsManger and TelephonyManager" into rvc-dev
2020-03-18 23:15:16 +00:00
Xiangyu/Malcolm Chen
66bc35787c
Merge "Add documentation for ACTION_MULTI_SIM_CONFIG_CHANGED" into rvc-dev
2020-03-18 23:10:39 +00:00
TreeHugger Robot
894385e62b
Merge "API review changes Test: make Bug: b/143307441" into rvc-dev
2020-03-18 22:34:34 +00:00
Jack Yu
ac3ca33567
Renamed DisplayInfo to TelephonyDisplayInfo
...
To reduce ambiguity with android.view.DisplayInfo.
Test: Telephony sanity tests + unit tests
Bug: 151101989
Change-Id: Ic507b6bf082ca5510ff6d1dcde501f5be9ef074f
2020-03-18 15:11:31 -07:00
radhika
7ffb57a92d
API review changes
...
Test: make
Bug: b/143307441
Change-Id: I53ebc76da939a5046e3ac2abac65dd391d8b1d1b
2020-03-18 14:46:41 -07:00
Amit Mahajan
ade3ee5d0d
Revert "Revert "Un-expose ACTION_SERVICE_PROVIDERS_UPDATED.""
...
This reverts commit c935bac0ae .
Reason for revert: Fixing build by make framework-telephony-stubs-srcs-update-current-api (new txt file has been added for telephony)
Test: basic sanity
Bug: 147921202
Change-Id: Iefd805c9c62ab7d3ec1f38f16a45e3daa841c001
2020-03-18 14:43:04 -07:00
Sarah Chin
8ac7ce5a5d
Remove Mainline APIs for MmsManger and TelephonyManager
...
Test: build
Bug: 144004293
Bug: 147611125
Change-Id: I44682d1f33eee02d1dcf57f4de8ce2df0a9b126d
2020-03-18 14:28:06 -07:00
Anthony Stange
26d4854185
Merge "Revert "Un-expose ACTION_SERVICE_PROVIDERS_UPDATED."" into rvc-dev
2020-03-18 20:29:24 +00:00
Anthony Stange
c935bac0ae
Revert "Un-expose ACTION_SERVICE_PROVIDERS_UPDATED."
...
This reverts commit 13a8d14fcd .
Reason for revert: Build breakage - b/151854914
Change-Id: I8ea4ac36605c8df92df92a286a8712e40a6944db
2020-03-18 20:26:27 +00:00
TreeHugger Robot
8562620d8a
Merge "Un-expose ACTION_SERVICE_PROVIDERS_UPDATED." into rvc-dev
2020-03-18 19:31:38 +00:00
Sarah Chin
2b004fa8e8
Merge "Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS" into rvc-dev
2020-03-18 18:04:18 +00:00
changbetty
2a1349cf62
[Telephony Mainline] To mark @hide for mainline module reverting
...
SmsManager
- deleteMessageFromIcc
- getMessagesFromIcc
SmsMessage
- getRecipientAddress
Bug: 144478274
Test: make
Change-Id: I12a98578cd1c121ff86ada60966a7009a544fde8
2020-03-18 15:34:19 +08:00
Shuo Qian
43c2f470ed
API Council Feedbacks
...
1) Add Annotation for getCarrirPrivilegeStatus
2) Remove NullProinterException throwing in isDataConnectionAllowed
3) Add SdkConstant for ACTION_UPDATE_EMRGENCY_NUMBER_DB
Test: Treehugger
Bug: 148218347
Bug: 151455822
Change-Id: I4943491abf70641f9379862a67941295a4cf67f9
2020-03-18 02:12:30 +00:00
Amit Mahajan
13a8d14fcd
Un-expose ACTION_SERVICE_PROVIDERS_UPDATED.
...
Will be exposed/reworked on in S.
Test: basic sanity
Bug: 147921202
Change-Id: Iab4974f9cd7cecde1ef6eba35c320101a288b481
2020-03-17 17:41:33 -07:00
TreeHugger Robot
e4e42d376a
Merge "Update API documentation per api-council feedback." into rvc-dev
2020-03-18 00:30:54 +00:00
Shuo Qian
0d4f4e464e
Merge "Hide several System APIs" into rvc-dev
2020-03-17 23:09:31 +00:00
Daniel Bright
d9e5f80d4b
Merge "Undo isDataCapable as Public API" into rvc-dev
2020-03-17 20:13:57 +00:00
Robert Greenwalt
3dde71f506
Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS
...
This is done to get dangerous stuff off the READ_PHONE_STATE permission.
Also keeping READ_PHONE_STATE for apps targeting old SDK versions.
Refactored getPhoneNumber to allow READ_PHONE_STATE pre-R
Bug: 136160623
Test: atest SubInfoControllerTest, TelephonyPermissionsTest
Change-Id: I5c0adcbe432ffcbb22ac8959792ee60da7039f15
2020-03-17 13:12:34 -07:00
Shuo Qian
1e154a345c
Hide several System APIs
...
Test: Treehugger
Bug: 151241308
Change-Id: Ie611320f4651b83e0ced6f5c8fede34a8a0a41c1
2020-03-17 04:41:21 +00:00
SongFerng Wang
6e6e233019
Merge "upperLayerIndicator_r15 is optional, nr state design changed" into rvc-dev
2020-03-17 02:57:14 +00:00
Daniel Bright
cd0a829c49
Merge "Reannotate emergency broadcasts in TelephonyManager" into rvc-dev
2020-03-17 01:22:30 +00:00
TreeHugger Robot
7f4be5cfca
Merge "API revisions in SmsManager and TelephonyManager" into rvc-dev
2020-03-17 01:12:40 +00:00
Amit Mahajan
d42340b66c
Update API documentation per api-council feedback.
...
Test: SMS/MMS sending/receiving sanity (manual)
Bug: 149236716
Change-Id: I59b9d468fa6e1a5843871abf1a330962aef64505
2020-03-16 17:46:20 -07:00
Hall Liu
9749407e71
API revisions in SmsManager and TelephonyManager
...
- Make SmsManager#sendMultipartTextMessage public (the one that was
previously @SystemApi)
- Split TelephonyManager#getDefaultRespondViaMessageApplication into a
pure getter and a getter/updater
Bug: 147299011
Test: atest TelephonyManagerTest
Change-Id: I44160920a66b7ebd18eca3ad4773b5a144738b39
2020-03-16 15:49:06 -07:00
Hall Liu
8aece5d03a
Re-hide ServiceState#getDataNetworkType
...
Fixes: 151184420
Test: NA
Change-Id: I08396033873567f668a2f6adbf10a9f2e0c36b68
2020-03-16 22:39:42 +00:00
Brad Ebinger
5f3d66bf30
Merge "@hide some APIs that will not be used in Android R" into rvc-dev
2020-03-16 21:23:07 +00:00
Tyler Gunn
26715b895d
Merge "Hide car barring with password API." into rvc-dev
2020-03-16 21:18:12 +00:00
Daniel Bright
fc0b12be2e
Reannotate emergency broadcasts in TelephonyManager
...
Test: make
Bug: 151454739
Change-Id: I2cd3c365710071e8187101edba63f23b56a11fce
2020-03-16 13:45:06 -07:00
Brad Ebinger
3bdd15fbb4
Merge "API Review: Make ImsReasonInfo in ImsMmTelManager @NonNull" into rvc-dev
2020-03-16 15:59:29 +00:00
SongFerngWang
b5faf6eaae
upperLayerIndicator_r15 is optional, nr state design changed
...
Bug: 151270999
Test: build pass.
Change-Id: I7864077df6dad9a8bf70718615e3cfeb8159a50e
2020-03-16 21:52:41 +08:00
zoey chen
834b281fa5
[TelephonyMainline] @hide system api since we'll revisit in S - Cdma
...
Test: make
Bug: 148404061
Change-Id: I83dbaa24f94f5cca846d6ca71c7e6814ecd832b8
2020-03-16 13:46:17 +08:00
Zoey Chen
83afbeec0a
Merge "[TelephonyMainline] @hide system api since we'll revisit in S. - IccLock" into rvc-dev
2020-03-16 05:26:58 +00:00
Zoey Chen
365dfedd5a
Merge "[TelephonyMainline] @hide system api since we'll revisit in S. - DataAllowed" into rvc-dev
2020-03-16 05:11:50 +00:00
TreeHugger Robot
bee68ea797
Merge "Hide the IMS call barring constants" into rvc-dev
2020-03-14 00:55:31 +00:00
Malcolm Chen
5d64167d5d
Add documentation for ACTION_MULTI_SIM_CONFIG_CHANGED
...
Bug: 143652732
Test: build
Change-Id: Id27e6edc82a48ece4a94c8bc7aadbc5e1acf08d7
2020-03-13 17:07:28 -07:00
Daniel Bright
d9d7abb899
Undo isDataCapable as Public API
...
Test: make
Bug: 146206136
Change-Id: I8b6a7e001c114df5e90668738b2a2b978e8757fa
2020-03-13 15:14:42 -07:00
Brad Ebinger
32f843dbda
API Review: Make ImsReasonInfo in ImsMmTelManager @NonNull
...
1) If the vendor does not specify an ImsReasonInfo, create an
unspecified ImsReasonInfo instead of passing null back.
2) Move onUnregistered to @NonNull
Fixes: 150008589
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: Idd0f2216bdd55011cb16d268b61cb652ca11bd41
2020-03-13 14:20:51 -07:00
Rambo Wang
5bb02f0890
Merge "CellularDataService: mCallbackMap is not thread safe" into rvc-dev
2020-03-13 21:11:39 +00:00
Hall Liu
19ecc1c95c
Merge "Hide APIs introduced in earlier change" into rvc-dev
2020-03-13 20:29:19 +00:00
Rambo Wang
ccc118ec9b
CellularDataService: mCallbackMap is not thread safe
...
The HashMap object mCallbackMap in CellularDataService is a shared
resource between DataService's handler thread and CellularDataService's
handler thread. The update operations (put and remove) has
synchronization issue.
This CL fixes the issue by letting CellularDataService shares the
looper/handler thread of DataService (but keeping its own handler). And
thus all the operations of mCallbackMap are handled serializally in
DataService's handler thread.
One alternative solution is to move all operations of the mCallbackMap
into
CellularDataService's handler thread to make it thread-safe. But it's
difficult for close() method which need to clear mCallbackMap and
shutdown the handler thread.
The other alternative solution is to replace HashMap with
ConcurrentHashMap
for mCallbackMap. This do make mCallbackMap thread-safe but do not
change the fact that it is still a shared resource between two threads.
Bug: 151103522
Test: atest FrameworksTelephonyTests
Merged-In: I7f5a507c2a79c7c77c5c2d7d3be147af80dc9f69
Change-Id: I7f5a507c2a79c7c77c5c2d7d3be147af80dc9f69
(cherry picked from commit ccf29801e2 )
2020-03-13 18:55:03 +00:00
Brad Ebinger
a469edb1d3
@hide some APIs that will not be used in Android R
...
Bug: 147319232
Bug: 148123085
Bug: 147732815
Test: atest CtsTelephonyTestCases
Change-Id: I623e52432fc820d302fcdbdb9a88a37deed455ae
2020-03-13 10:44:51 -07:00
Tyler Gunn
654c05b232
Hide car barring with password API.
...
Not needed in R.
Test: Build APIs
Bug: 148184879
Change-Id: I036980c2e565bf4f84e51b028d0b6938b7afff97
2020-03-13 08:11:21 -07:00
Philip P. Moltmann
d7a823623f
Merge "Rename featureId -> attributionTag" into rvc-dev
2020-03-13 14:26:31 +00:00
zoey chen
7c626cb897
[TelephonyMainline] @hide system api since we'll revisit in S. - DataAllowed
...
Test: make
Bug: 146107006
Change-Id: I62a0249a1462c9e8d71552e2304642eb6bde3eb5
Merged-In: I62a0249a1462c9e8d71552e2304642eb6bde3eb5
2020-03-13 12:21:00 +08:00