Commit Graph

31928 Commits

Author SHA1 Message Date
Amit Mahajan
5f99e1b8fd Merge "Data connection for carrier specific APN" into rvc-d1-dev-plus-aosp am: e2b212e94e am: e662938fdf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12624999

Change-Id: I83ecb4caea6b66b8c3e08beda3fb70598132707e
2020-09-18 09:25:40 +00:00
Amit Mahajan
e662938fdf Merge "Data connection for carrier specific APN" into rvc-d1-dev-plus-aosp am: e2b212e94e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12624999

Change-Id: Id017dddb5ff8f10d8bacf9e55a8dbca515309a0f
2020-09-18 08:54:24 +00:00
Amit Mahajan
e2b212e94e Merge "Data connection for carrier specific APN" into rvc-d1-dev-plus-aosp 2020-09-18 07:35:46 +00:00
Brad Ebinger
934de361de Merge "Customize the service class for Call barring" am: ce872e9898 am: cdbb2d7a40 am: c54ab73ef9 am: 8248366af0 am: 643dc6b82f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1404668

Change-Id: I6e2e8d40fe3a2d58daa458c4531c9e5972fa9112
2020-09-18 06:07:33 +00:00
Treehugger Robot
8f78267409 Merge "Add action for Bluetooth tethering state changed" am: cf44a015e8 am: 773810d198 am: f03a18b7ab am: eca1afc382 am: e6b1120635
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1422889

Change-Id: Ib554a97fd7293c872690407ca791482c1d4ad56e
2020-09-18 03:56:01 +00:00
Les Lee
c622a80155 Merge "wifi: Add SAP generation indication API" 2020-09-18 02:34:57 +00:00
Brad Ebinger
643dc6b82f Merge "Customize the service class for Call barring" am: ce872e9898 am: cdbb2d7a40 am: c54ab73ef9 am: 8248366af0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1404668

Change-Id: Ib41cdfcf5775dd91595c5fe20052826c7010f5d1
2020-09-18 00:32:57 +00:00
Brad Ebinger
ce872e9898 Merge "Customize the service class for Call barring" 2020-09-17 20:42:02 +00:00
Hall Liu
a471b1966e Merge "Update PhoneStateListener#onOutgoingEmergencySms" 2020-09-17 19:59:23 +00:00
Hangyu Kuang
f039189b02 Merge "transcoding: Add retry api." 2020-09-17 19:39:36 +00:00
hkuang
516eebe5c1 transcoding: Add retry api.
The retry api is used internally to retry the pending jobs
upon service die and also used by client to retry the failed job.

CTS-Coverage-Bug: 168805960

Bug: 161469320
Test: Unit test

Change-Id: I5c3f4d1d0e7a21cd2f802fdffe0e5b0566833328
2020-09-17 17:23:22 +00:00
Anton Hansson
99b225e28c Merge "Baseline existing API lint warnings" 2020-09-17 10:47:21 +00:00
Treehugger Robot
e6b1120635 Merge "Add action for Bluetooth tethering state changed" am: cf44a015e8 am: 773810d198 am: f03a18b7ab am: eca1afc382
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1422889

Change-Id: Ia9e532d720f6cdd969bcb0fd5beda0a8a8866c3f
2020-09-17 05:56:37 +00:00
Masaho Nishikawa
115e02818a Data connection for carrier specific APN
Implement the following features to support carrier network connection.
This commit is to define the carrier config for each features.

1. Sets default preferred APN
2. Uses dun APN when using Preset APN in roaming network

Also, fixed that to use only APNs with the same set id as preferred
APN.

Test: Manual
Bug: 147969062
Change-Id: If1e6d2bf58de39c22caa901fcd90fb11f104d900
(cherry picked from commit b9beb0d1afda6327b1c7645ac20a016f08e5744e)
2020-09-16 22:52:49 -07:00
Treehugger Robot
cf44a015e8 Merge "Add action for Bluetooth tethering state changed" 2020-09-17 02:01:00 +00:00
Kweku Adams
e1e67c57a6 Merge "Generalize SparseArrayMap." 2020-09-16 20:17:45 +00:00
Kikkawa Shohei
03a1471e1e Customize the service class for Call barring
Add a new carrier config that changes the service class is used for Call
barring settings.

Test: manual
Bug: 161772958

Change-Id: Ibce22d0d340ce648c0b6df411266d1c4fe537013
2020-09-16 11:09:46 -07:00
TreeHugger Robot
559bf65528 Merge "Additional API change after feedback" 2020-09-16 17:47:03 +00:00
Kweku Adams
0c22b1da5e Generalize SparseArrayMap.
SparseArrayMap required Strings as keys, which restricted its uses. Now
it can take any object as a key, which better reflects the underlying
ArrayMap generalization.

Bug: 138469672
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest QuotaTrackerTest
Test: atest SparseArrayMapTest
Change-Id: If6da7dfdf3cdd9be0fe9006484c78c574ef2028b
2020-09-16 10:07:55 -07:00
Anton Hansson
7687ad4c94 Baseline existing API lint warnings
We are making warnings behave as errors (i.e. break the build).
Rather than fixing all the current warnings, just baseline them.

This CL is the result of
$ m
$ cp \
out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api_lint_baseline.txt \
frameworks/base/api/system-lint-baseline.txt
$ cp \
out/soong/.intermediates/frameworks/base/test-api-stubs-docs/android_common/api_lint_baseline.txt \
frameworks/base/api/test-lint-baseline.txt"

Bug: 154317059
Test: m
Change-Id: Idf8f7dbcaa1c136781175fd5e66eed3525d21722
2020-09-16 13:17:20 +01:00
Charles Chen
202a82802c Merge "Use Builder for ActivityView" 2020-09-16 08:38:13 +00:00
Charles Chen
87f67a9fe9 Use Builder for ActivityView
fixes: 162901735
Test: touched tests
Change-Id: I230d65d76b1bc8dfbae304b33579e7eb96d0593d
2020-09-16 10:44:07 +08:00
Ted Wang
47558ca2b2 Add action for Bluetooth tethering state changed
Add new action for Bluetooth tethering state changed and extra for
broadcasting Bluetooth tethering state changed.

Tag: #feature
Bug: 138688805
Test: Manual
Change-Id: Ie0f848448f9717a6a1233d0dbb0785da7d30dc81
2020-09-16 10:31:25 +08:00
Hall Liu
e82e9bf01b Merge "Expose Telecom constants for use in Telephony" am: 9fcb2819d0 am: 1bf919f084 am: 5b6beb2fc0 am: 2f8cf2f852 am: 74bb99708b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427473

Change-Id: Id62c2a0f4add8ce3fccaef64240f9a8efb79aa94
2020-09-16 01:48:21 +00:00
Hall Liu
74bb99708b Merge "Expose Telecom constants for use in Telephony" am: 9fcb2819d0 am: 1bf919f084 am: 5b6beb2fc0 am: 2f8cf2f852
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1427473

Change-Id: Ib461b9a4f7271b9f9263cae8292dc5d0579fc102
2020-09-16 01:25:39 +00:00
Hall Liu
9fcb2819d0 Merge "Expose Telecom constants for use in Telephony" 2020-09-16 00:05:18 +00:00
Jorge Gil
eac9364f7a Merge "Rename autoEnterAllowed to autoEnterEnabled" 2020-09-15 22:12:26 +00:00
Soonil Nagarkar
12c2c5c949 Additional API change after feedback
Bug: 168624248
Test: manual
Change-Id: I61a85b84af20f339d68541f45ad53fe09e8d176c
2020-09-15 13:24:40 -07:00
TreeHugger Robot
6e83a6ba9a Merge "Support handover retry" 2020-09-15 17:43:05 +00:00
Philip Junker
c14b6b52ff Merge "Support for notification panel key on ATV" 2020-09-15 07:19:05 +00:00
Hall Liu
2ef041183d Expose Telecom constants for use in Telephony
Expose Telecom constants that are used in Telephony in preparation for
mainline. Exposure is a combination of public/system -- those which made
sense for 3pty apps to access were made public.

Fixes: 168551099
Test: atest CtsTelecomTestCases
Change-Id: I688f04ba4ddf0498bad3463888fae71cdff2844a
2020-09-14 18:37:44 -07:00
Jack Yu
df75e3082e Support handover retry
The data service now can control whether retry
handover or not.

Fix: 160105644
Test: FrameworksTelephonyTests
Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
2020-09-14 15:40:29 -07:00
Alex Buynytskyy
b406e6b4fd Merge "Rollforward: Digest API: allow installer to provide digests for an APK." 2020-09-14 18:28:00 +00:00
jorgegil@google.com
318397b034 Rename autoEnterAllowed to autoEnterEnabled
Bug: 167621602
Test: atest PinnedStackTests#testAutoPipAllowedBypassesExplicitEnterPip

Change-Id: I6e92c138c49b55f8641950bc9c45dd4631d62ee8
2020-09-14 09:45:44 -07:00
Alex Buynytskyy
d15391e426 Rollforward: Digest API: allow installer to provide digests for an APK.
5d9710d5b72136b2face76b578ac120ad6ed931e

Bug: 160605420
Fixes: 168445565
Test: atest ChecksumsTest
Test: atest ApkVerityTest:com.android.apkverity.ApkVerityTest

Change-Id: Ib559ad9107996290f4ae4661ccec4dc14658a7e9
2020-09-14 16:23:40 +00:00
Soonil Nagarkar
7926062e1f Merge "Make LocationRequest a public API" 2020-09-14 16:20:23 +00:00
Slava Shklyaev
a3d1d1452a Merge "Revert "Digest API: allow installer to provide digests for an APK."" 2020-09-14 15:43:44 +00:00
Slava Shklyaev
4a102df4f2 Revert "Digest API: allow installer to provide digests for an APK."
Revert "Tests for installer-provided checksums."

Revert submission 12538860-installer-digests

Reason for revert: Droidcop: Potential culprit for b/168445565
Reverted Changes:
I112ba8594:Tests for installer-provided checksums.
I69a787bde:Digest API: allow installer to provide digests for...

Bug: 168445565
Change-Id: I2276373024bb951719cf056d28c4de0838c0519f
2020-09-14 15:25:59 +00:00
TreeHugger Robot
7aa28d8f68 Merge "Make MediaSessionManager#RESULT_MEDIA_KEY_*HANDLED as @SystemApi" 2020-09-14 10:00:16 +00:00
Philip Junker
df3d59bfab Support for notification panel key on ATV
Add activity intents to open and toggle notification panel (requires
STATUS_BAR_SERVICE permission).
Add protected broadcast intent to close notification panel.
Make long-press-on-home configurable to open notification panel.
Create TvNotificationPanel class which forwards notification panel
requests to the configured handler.

Bug: 158661029
Test: manually tested on ATV device with adapted launcher
Change-Id: I555bb3801ac949c8985692b41b02323c56332ccd
2020-09-14 11:59:44 +02:00
Hyundo Moon
f8bedc9aff Make MediaSessionManager#RESULT_MEDIA_KEY_*HANDLED as @SystemApi
Bug: 168143618
Test: m update-api -j;
Change-Id: I1529d5dc2a3a38a0b300f0297c3e689311244f40
2020-09-14 17:04:35 +09:00
Alex Buynytskyy
0138bf5f53 Merge "Digest API: allow installer to provide digests for an APK." 2020-09-12 03:45:19 +00:00
Treehugger Robot
5ab2b0f175 Merge "Expose some carrier config keys for RTT" am: 4fb19f1550 am: 56f0f3a67b am: 370924cafc am: b2474e5f88 am: 5a2cd5617d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1423856

Change-Id: Ia6c3cd4f2b0d272fc05a269cbdbd8766e81754f5
2020-09-11 22:28:24 +00:00
Hall Liu
4c1e8a2a9e Update PhoneStateListener#onOutgoingEmergencySms
Update the callback for emergency SMS to follow the same pattern as for
emergency calls for API consistency.

Fixes: 168269065
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: If27771aef1858ea92dd620b56368d1a6a4f61ab3
2020-09-11 13:32:16 -07:00
Alex Buynytskyy
48c717ecc1 Digest API: allow installer to provide digests for an APK.
Bug: 160605420
Test: atest ChecksumsTest

Change-Id: I69a787bde596c9841ba04772a06c227d902f721f
2020-09-11 13:00:43 -07:00
Soonil Nagarkar
757380517b Make LocationRequest a public API
LocationRequest and associated APIs have historically always been
SystemApi, for no real reason. In keeping with the Android-wide push to
clean up API surfaces like this, we make LocationRequest a public API.

Bug: 166692379
Test: manual + presubmits
Change-Id: I6a93fca1a5613c96bf35da158bc542e47864dbff
2020-09-11 12:29:50 -07:00
TreeHugger Robot
0ec89573aa Merge "VT: MediaPlayer: Add IMS Rx event listener" 2020-09-11 13:35:58 +00:00
Hyundo Moon
6b19ee1578 Merge "Make KeyEvent#isMediaSessionKey() as public" 2020-09-11 13:07:52 +00:00
TreeHugger Robot
1a1a8d4c61 Merge "UiAutomation supports new flag, FLAG_DO_NOT_USE_ACCESSIBILITY" 2020-09-11 13:01:30 +00:00
Treehugger Robot
5a2cd5617d Merge "Expose some carrier config keys for RTT" am: 4fb19f1550 am: 56f0f3a67b am: 370924cafc am: b2474e5f88
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1423856

Change-Id: Ib0b978faa37330f14e6be66ecdce91be7a79b7c1
2020-09-11 04:54:51 +00:00