TreeHugger Robot
3907b90f84
Merge "Add API for external call audio route."
2022-01-11 19:16:34 +00:00
Grace Jia
d9bdab733f
Merge "Add new API for new feature of display name." am: e43f70afc7 am: bacd6a4a11 am: 93e2d21187 am: aa6e8fff87
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1807961
Change-Id: I28ae3bf23808bca60b474969f4a0b90e9747e682
2022-01-06 20:23:29 +00:00
Grace Jia
e43f70afc7
Merge "Add new API for new feature of display name."
2022-01-06 18:59:37 +00:00
Hui Wang
c1183c038e
Merge "Add new Telephony feature flags and update API annotations"
2021-12-20 15:50:57 +00:00
Bernardo Rufino
90bb3709dc
Migrate unsafe parcel APIs in framework-minus-apex
...
Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()
This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).
A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.
Bug: 195622897
Test: TH passes
Change-Id: I11a27b9bdab7959ee86e90aa1e1cbebd7aaf883c
2021-12-15 18:21:38 +00:00
Hui Wang
c47df7fd76
Add new Telephony feature flags and update API annotations
...
Bug: 206437821
Test: make
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Change-Id: I511afb5afc52b859a37f8ae27ab671c2b8037527
2021-12-14 20:37:47 +00:00
Sooraj Sasindran
4d21fbab33
Merge "Provide last known cell id for emergency call" am: 761ad6eaf8 am: fffe4f6865 am: 0f4de3172e am: 510974e364
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1870513
Change-Id: Ib0e18d6a0aeacdb7f45a376f6cb669b7f3becc27
2021-12-09 00:01:36 +00:00
Sooraj Sasindran
fffe4f6865
Merge "Provide last known cell id for emergency call" am: 761ad6eaf8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1870513
Change-Id: I4891c23dc6b5dd78618913d365c858f1c4b270bf
2021-12-08 22:52:32 +00:00
Sooraj Sasindran
81be082283
Provide last known cell id for emergency call
...
Provide last known cell id to connection service
for emergency calls.
Bug: 198533763
Test: unit test
Change-Id: I8b660c0b5fbe095e3b9b67129b7404ebd7ec5ccd
2021-12-06 12:52:31 -08:00
Grace Jia
cc16b0403c
Add new API for new feature of display name.
...
Bug: 181383364
Test: BlockedNumberProvider test
Change-Id: I13c0ea3451b78ce5c7352f1f3fa15a28ae9bfa1f
2021-12-01 21:34:04 +00:00
Grace Jia
22c8b96152
Add API for external call audio route.
...
Test: CTS test
Change-Id: Ibd1c2880e732f39281f5f6616465bf2c680c1b0d
2021-11-29 13:09:22 -08:00
Meng Wang
8665b5105e
Deprecate get/setLine1Number in favor of get/setPhoneNumber
...
Bug: 193539271
Test: make
Change-Id: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
2021-11-19 09:56:14 -08:00
Xin Li
10d9972786
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
...
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Treehugger Robot
7a866349c1
Merge "API docs clarification for placing calls." am: 57954552ad am: 043c9dee2d am: f33b0154ca am: ec4e408b45
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853624
Change-Id: Ic1ee436a347d04febbb49ceaff9e0f203f6d89be
2021-11-11 20:14:39 +00:00
Treehugger Robot
f33b0154ca
Merge "API docs clarification for placing calls." am: 57954552ad am: 043c9dee2d
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853624
Change-Id: I979f732e3fcecb1bba3b2384a0f46906751705af
2021-11-11 19:39:33 +00:00
Treehugger Robot
57954552ad
Merge "API docs clarification for placing calls."
2021-11-11 19:07:28 +00:00
Tyler Gunn
272fd21493
API docs clarification for placing calls.
...
Clarifying that a dialer app should use TelecomManager to place calls
instead of relying on the Intent#ACTION_CALL intent.
Test: Docs only change.
Fixes: 202033596
Change-Id: Iac9358c5cd069f120a167c96aa6b9462313b2268
2021-10-12 09:22:24 -07:00
Adam Bookatz
7a0b594e3a
Merge "UM.getUserHandle -> UM.getProcessUserId"
2021-10-08 02:22:08 +00:00
Xin Li
c03b0fa033
Merge "Merge Android 12"
2021-10-07 23:50:15 +00:00
Tyler Gunn
31e4c62a0b
Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494 am: bbdfc69dee am: c799bb6a82 am: 2ac5b92d96
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027
Change-Id: I3c36cb74c7c06da2baa21550ef19bbac09afc1a0
2021-10-07 16:45:51 +00:00
Tyler Gunn
c799bb6a82
Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494 am: bbdfc69dee
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027
Change-Id: I667b0a37e343a9ba0b37982d36fa0b0d0382e2b6
2021-10-07 16:18:49 +00:00
Tyler Gunn
bbdfc69dee
Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3 am: 86da26a494
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027
Change-Id: I389a90e671bea7920f20e97ca4335cfc6e938fea
2021-10-07 16:05:50 +00:00
Tyler Gunn
86da26a494
Merge "IMS: Propagate RTT capability of the called party to UI" am: 57704bd7a3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/696027
Change-Id: Ia408690d5a0f4969572757d2c4c7ebe7bbe72739
2021-10-07 15:51:05 +00:00
Tyler Gunn
57704bd7a3
Merge "IMS: Propagate RTT capability of the called party to UI"
2021-10-07 15:35:35 +00:00
Adam Bookatz
010d64fa5b
UM.getUserHandle -> UM.getProcessUserId
...
UM is being made @UserHandleAware, so using an explicit method avoids ambiguity.
Bug: 201679968
Test: (No-op) compiles and treehugger
Change-Id: I5b90f1cd644d40e3dfe57795ec2315d330fcaa0e
2021-10-05 13:08:28 -07:00
Brad Ebinger
a5e61a25ae
Merge "Update API docs for InCallService." am: 733dd0f1e9 am: 550f4dd9a0 am: 79508c34ea am: cfc47f0ac9 am: 9cbab374c7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1818366
Change-Id: I7c36fa7b013b8c8b91d5b542d06147418b04f3c2
2021-09-07 18:52:06 +00:00
Brad Ebinger
cfc47f0ac9
Merge "Update API docs for InCallService." am: 733dd0f1e9 am: 550f4dd9a0 am: 79508c34ea
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1818366
Change-Id: Ib77547132105e530a95405d76e966b82c50fa606
2021-09-07 18:23:29 +00:00
Brad Ebinger
79508c34ea
Merge "Update API docs for InCallService." am: 733dd0f1e9 am: 550f4dd9a0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1818366
Change-Id: Ice351654a7d59dafda8bc57009898d12e3d59c54
2021-09-07 18:03:22 +00:00
Brad Ebinger
550f4dd9a0
Merge "Update API docs for InCallService." am: 733dd0f1e9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1818366
Change-Id: I54c94567fa6677f1cfe2ca818c889275d8cb6f1c
2021-09-07 17:50:40 +00:00
Brad Ebinger
733dd0f1e9
Merge "Update API docs for InCallService."
2021-09-07 17:28:24 +00:00
Tyler Gunn
84421d74db
Update API docs for InCallService.
...
Clarify that InCallService implementations should never indicate that they
are non-exported.
Test: Docs only fix
Bug: 198003282
Change-Id: I85f925775b12c994a028e14d7644c744a252ec33
2021-09-03 14:05:37 -07:00
TreeHugger Robot
9ec0ae9c35
Merge "Add a lock for call read/write operations to avoid ConcurrentModificationException." into sc-qpr1-dev am: 6ba0239947 am: b037c05dbe am: d02ff09fb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15662454
Change-Id: I256bdf46233e170312edf062a42f7fc6005ec391
2021-08-31 22:59:31 +00:00
TreeHugger Robot
d02ff09fb5
Merge "Add a lock for call read/write operations to avoid ConcurrentModificationException." into sc-qpr1-dev am: 6ba0239947 am: b037c05dbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15662454
Change-Id: Idab288af72e2fb6677241103e245ff9d1054dfae
2021-08-31 22:40:30 +00:00
TreeHugger Robot
91fc8566b6
Merge "Add a lock for call read/write operations to avoid ConcurrentModificationException." into sc-qpr1-dev am: 6ba0239947
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15662454
Change-Id: I461106440aca625975ff5cac0e60d1c597dc74fb
2021-08-31 22:29:17 +00:00
TreeHugger Robot
6ba0239947
Merge "Add a lock for call read/write operations to avoid ConcurrentModificationException." into sc-qpr1-dev
2021-08-31 22:12:30 +00:00
Tyler Gunn
3c4d280e5c
Merge "Fix issue when adding existing connections via remote connection services." into sc-dev am: 5f54351908 am: 0bacd2b473 am: 92d049d63d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15113691
Change-Id: Ic94e7ded1d8b1afc4c1e063b60c5b30a467b466e
2021-08-27 03:54:21 +00:00
Tyler Gunn
e0eaef7772
Merge "Fix issue when adding existing connections via remote connection services." into sc-dev am: 5f54351908
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15113691
Change-Id: I99a561193225b6abb9c3d9b36ca7a004406662f7
2021-08-25 17:00:53 +00:00
Grace Jia
c71732375d
Add a lock for call read/write operations to avoid
...
ConcurrentModificationException.
Bug: 189816293
Test: InCallService cts tests
Change-Id: I123b2de55b856d12ee2a5e6d2fa49c15a74592fc
2021-08-23 22:31:53 +00:00
Tyler Gunn
fdc4bff319
Fix issue when adding existing connections via remote connection services.
...
When an existing connection is added to represent an IMS conference
participant, it is added with an associated parent conference specified.
This was NOT passed along to the connection manager via the
RemoteConnectionService API since there is no equivalent API present for
that operation. To work around this, we stash the parent conference's
ID into the connection extras. We will use that later so that Telecom
can know which conference is the parent of this call.
Also, removing restriction in RemoteConnectionService which would ignore
conferences with no children. This assumption was incorrect for VOLTE
conferences since they will start with no children. As a consequence we
would ALWAYS skip adding IMS conferences to the connection manager, which
would mean that it had no way of knowing about the conference that the
existing connections are associated with.
Test: Manual test with connection manager APIS on live network; make
conference and verify that the correct objects are being created wrapped
by the connection manager.
Bug: 188420526
Change-Id: Ie58afed7a3b7eeaa7e329e80479d273e4c50ec82
Change-Id: I4250f9459c7a1b82936583a10e93d049fdfb4c5d
2021-08-13 18:29:40 +00:00
Automerger Merge Worker
f4b87f8aed
Merge "Merge "Add new API to notify CallRedirectionService timed out." am: 5a5c3d7562 am: 423dd00f7f am: 811de5db8c am: 5ca3132389" into sc-v2-dev-plus-aosp am: 1464edbf77
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1782287
Change-Id: I8f1b5de99589b7f389ecaa4cbbd3f8a49d219430
2021-08-10 19:47:51 +00:00
Treehugger Robot
811de5db8c
Merge "Add new API to notify CallRedirectionService timed out." am: 5a5c3d7562 am: 423dd00f7f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1782287
Change-Id: I44f952574d81b1ce6cc8d0f1c1e82d638c7fc558
2021-08-10 19:07:40 +00:00
Grace Jia
5400101ec6
Add new API to notify CallRedirectionService timed out.
...
Currently, CallRedirectionService is unable to know if a call failed due
to timeout. Add new API to notify them and call it when Telecom wait too
long to complete a call redirection request.
Bug: 187346611
Test: CTS test
Change-Id: I65aa0a893b3e35a412851ec969f6cdec74af8fab
2021-08-10 15:37:27 +00:00
Shuo Qian
bb078eb66f
Merge "Check callingpackage for calling UID consistency with phoneAccountHandle."
2021-08-03 19:43:31 +00:00
Shuo Qian
9c1f2087f5
Merge "Throw new IllegalStateException in CallRedirectionService when the call redirection is not initialized yet" into sc-dev am: ba314fbb85 am: 513b4646d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15301694
Change-Id: Iff3824c2a57be8377691215a3342d4a09182b1c4
2021-07-19 23:20:00 +00:00
Shuo Qian
e8021fb567
Merge "Throw new IllegalStateException in CallRedirectionService when the call redirection is not initialized yet" into sc-dev am: ba314fbb85
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15301694
Change-Id: I1341b9b3e8dcf09cfec276752ec57a4858f01c17
2021-07-19 23:07:36 +00:00
Shuo Qian
f5f508c01d
Throw new IllegalStateException in CallRedirectionService when the call redirection is not initialized yet
...
Test: Build
Bug: 193482535
Change-Id: I3609362043684249b6d6981fc7d2ab42c676db76
2021-07-16 20:18:21 +00:00
Shuo Qian
911d4646f3
Check callingpackage for calling UID consistency with phoneAccountHandle.
...
Test: manual
Bug: 192663798
Bug: 192663553
Change-Id: Idd2ea20cd17933f86011b8ddc1037903725c2461
2021-07-16 18:08:54 +00:00
Treehugger Robot
87d584ce12
Merge "Add a lock for call add/remove operations to avoid ConcurrentModificationException." am: 584003dd0d am: cb477fc498 am: d6217b06d8 am: ae946847f8
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1768612
Change-Id: I5751e51fabaace6826fbd4b48a70bcc7808bb54c
2021-07-16 13:08:45 +00:00
Treehugger Robot
d6217b06d8
Merge "Add a lock for call add/remove operations to avoid ConcurrentModificationException." am: 584003dd0d am: cb477fc498
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1768612
Change-Id: Icf9b0cbb36422f725a8808f771dca7a45df68e0d
2021-07-16 12:39:23 +00:00
Grace Jia
a5e7d3cdf9
Add a lock for call add/remove operations to avoid
...
ConcurrentModificationException.
Bug: 189816293
Test: InCallService cts tests
Change-Id: I123b2de55b856d12ee2a5e6d2fa49c15a74592fc
2021-07-15 12:20:59 -07:00