Commit Graph

29773 Commits

Author SHA1 Message Date
Alex Johnston
1dbdcbc689 Merge "Rename AutoTime and AutoTimeZone APIs" into rvc-dev 2020-03-13 10:00:43 +00:00
Shuo Qian
28ab493385 Merge "API Council Feedbacks" into rvc-dev 2020-03-12 21:54:42 +00:00
Evgenii Stepanov
91482ccc8a Merge "Add "enableGwpAsan" tag to android manifest." into rvc-dev 2020-03-12 21:13:25 +00:00
Jaineel Mehta
1a18357853 Merge "Revert "WindowInsetsController: Address API feedback"" into rvc-dev 2020-03-12 18:23:14 +00:00
TreeHugger Robot
3269b7a4c8 Merge "[Mainline] Add @hide. Revisit and redesign in S" into rvc-dev 2020-03-12 17:50:44 +00:00
Alex Kershaw
6fa3741fdb Merge "Add overloaded API with activity options parameter" into rvc-dev 2020-03-12 17:47:59 +00:00
Jaineel Mehta
5e7097b21e Revert "WindowInsetsController: Address API feedback"
This reverts commit c549e19c5e.

Reason for revert: Droidcop: Potential culprit for Bug X - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I2ab42d96d2599dfcc946fa48b3940e2bd92b22b0
2020-03-12 17:46:17 +00:00
Evgenii Stepanov
102d3d8669 Add "enableGwpAsan" tag to android manifest.
This tag can be used to enable and disable gwp-asan on applications and
their components. The default setting is disabled, except for the system
applications which are enabled with a small probability (approx. 1% of
processes).

Enabling gwp-asan can be used to crowd test an app.

This change includes a compat feature that overrides the default value
of enableGwpAsan for an app.

Bug: 149991821
Test: atest CtsGwpAsanTestCases
Exempt-From-Owner-Approval: cherrypick
Merged-In: I5eb647c517e5487b1d1eed6b9a43242490f19289
Change-Id: I5b4db666f38af846927f88702cc690f0916cadb1
2020-03-12 17:19:23 +00:00
Adrian Roos
3a4be4a7b1 Merge "WindowInsetsController: Address API feedback" into rvc-dev 2020-03-12 16:13:43 +00:00
Santiago Seifert
98955a625c Merge "Address API renaming suggestions" into rvc-dev 2020-03-12 13:48:49 +00:00
Santiago Seifert
8e7b066a10 Address API renaming suggestions
Bug: 150855597
Test: CTS.
Change-Id: Id2154df12456bd0045e28f32fbe5483c9e87b67f
2020-03-12 13:42:29 +00:00
TreeHugger Robot
465dc5b58f Merge "Remove duplicate term in the definition" into rvc-dev 2020-03-12 11:48:54 +00:00
Zoey Chen
f489f1994f Merge "Revert [Telephony mainline] Add SystemApi and NonNull annotation" into rvc-dev 2020-03-12 06:20:33 +00:00
Les Lee
84b4877d85 Merge "wifi: API Review: API changes to SoftApConfiguration.Builder" into rvc-dev 2020-03-12 03:49:32 +00:00
Shuo Qian
e3efafddda API Council Feedbacks
1) Update doc of ACTION_UPDATE_EMERGENCY_NUMBER_DB
2) Add new APIs EXTRA_VERSION and EXTRA_REQUIRED_HASH
3) Rename isDataConnectionEnabled to IsDataConnectionAllowed
4) Format the API documentations with html format
5) Throw errors for shutdownAllRadios, isAnyRadioPoweredOn
6) Modify the doc of TelephonyManager.getEmergencyNumberDbVersion
7) Add UPDATE_CONFIG permission for ACTION_UPDATE_EMERGENCY_NUMBER_DB

Test: Treehugger; Manual made a call; make -j offline-sdk-docs
Bug: 147696692
Bug: 147805285
Bug: 148217670
Bug: 148218347
Change-Id: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
Merged-In: Idf3dee3de5ebf75ca8b8fbaaf879e69f7ae4b754
(cherry picked from commit dc86120fca)
2020-03-12 03:49:15 +00:00
zoey chen
7cb5ca8e7d Revert [Telephony mainline] Add SystemApi and NonNull annotation
Reason: Revisit and redesign in S

Bug: 147390517
Test: make
Change-Id: I0749492a5648dfa2fb83271f349a8370972f7032
Merged-In: I0749492a5648dfa2fb83271f349a8370972f7032
(cherry picked from commit 2d280f1bb4)
2020-03-12 03:22:48 +00:00
Hall Liu
97363dce3c Merge "Hide APIs introduced in earlier commit" into rvc-dev 2020-03-12 01:31:41 +00:00
Alex Kershaw
a9f0052af5 Add overloaded API with activity options parameter
This is from calendar team's feedback. It allows them to
create a nice animation when launching the activity. This also mirrors
the implementation in the Activity class.

Fixes: 151150552
Test: atest com.android.cts.devicepolicy.CrossProfileAppsHostSideTest#testStartActivityIntent
Change-Id: Ie120896e50d8b2c033b9cb156357bd696eb033e0
2020-03-12 01:29:27 +00:00
TreeHugger Robot
592181386c Merge "Making time-zone an API constant" into rvc-dev 2020-03-12 01:23:28 +00:00
Daniel Bright
50b916bd53 Merge "Remove PHONE_TYPE_IMS and PHONE_TYPE_THIRD_PARTY as apis" into rvc-dev 2020-03-12 00:33:51 +00:00
Jayachandran Chinnakkannu
dd3768ed8c Merge "Remove API getDefaultSimCountryIso() as per API council feedback" into rvc-dev 2020-03-11 21:53:08 +00:00
TreeHugger Robot
27c83fce04 Merge "add permission requirement for java writeData method" into rvc-dev 2020-03-11 21:49:27 +00:00
TreeHugger Robot
8ca61d7cd3 Merge "change getActiveAndHiddenSubscriptionInfoList API name" into rvc-dev 2020-03-11 20:54:07 +00:00
TreeHugger Robot
b6e24590fd Merge "READ_PHONE_STATE permission for isModemEnabledForSlot" into rvc-dev 2020-03-11 20:50:15 +00:00
Henry Fang
25b1c3a4ff Remove duplicate term in the definition
bug: 151177468
Test: Manual
Change-Id: I01c175365ac7e48f9cf83ac862ad46f2da386771
2020-03-11 12:25:09 -07:00
Daniel Bright
87941e4fa1 Remove PHONE_TYPE_IMS and PHONE_TYPE_THIRD_PARTY as apis
Removing api status to several apis created during telephony mainline in R.

Bug: 147465477
Test: make
Change-Id: I6d394fae478ef62769147beaeb944771a67aca70
2020-03-11 11:59:03 -07:00
Hai Shalom
43cae91e96 Merge "[SAE] Remove support for SAE Password identifier from API surface" into rvc-dev 2020-03-11 18:25:44 +00:00
Julia Reynolds
34621b08e3 Merge "Increase test coverage for NotificationChannel" into rvc-dev 2020-03-11 17:14:42 +00:00
Adrian Roos
c549e19c5e WindowInsetsController: Address API feedback
Change CancellationSignal to parameter instead of return value.

Fixes: 150472709
Test: atest InsetsControllerTest
Change-Id: Id4cb53fddcecac17b7926068046760df5130dc39
2020-03-11 17:23:31 +01:00
Philip P. Moltmann
093ba7e506 Merge "Allow to exempt apps from restrictions to RECORD_AUDIO" into rvc-dev 2020-03-11 16:11:16 +00:00
Jorim Jaggi
8dc835316a Merge "Add OnControllableInsetsChangedListener" into rvc-dev 2020-03-11 13:33:33 +00:00
lesl
417a3b0a87 wifi: API Review: API changes to SoftApConfiguration.Builder
1. enableClientControlByUser should be renamed
to setClientControlByUserEnabled.
2. setShutdownTimeoutMillis(int) should take a long,
same for getter. Millisecond durations are always long.
3. Separate setClientList into two methods

Bug: 150855680
Test: atest frameworks/base/wifi/tests/
Change-Id: Ib065993748e186790290d3e50f4f28a09146fd65
2020-03-11 19:21:16 +08:00
TreeHugger Robot
b6b55e8024 Merge "wifi: Update annotation to network setting permission for getSoftApConfiguration" into rvc-dev 2020-03-11 11:05:37 +00:00
TreeHugger Robot
a9caa7d016 Merge "Rename LightsManager.setLights to requestLights" into rvc-dev 2020-03-11 09:06:01 +00:00
SongFerngWang
cd7d966476 [Mainline] Add @hide. Revisit and redesign in S
Bug: 144486008
Test: build pass.
Change-Id: I9f301b65a3a476a114821c77916dbdb988e5d983
2020-03-11 14:34:25 +08:00
TreeHugger Robot
342f72063a Merge "Rollback @SystemApi on ApnSetting" into rvc-dev 2020-03-11 05:46:07 +00:00
TreeHugger Robot
a865f9e172 Merge "DO NOT MERGE Implement suggested changes in API review for permission mainline." into rvc-dev 2020-03-11 05:40:27 +00:00
TreeHugger Robot
f414c083dd Merge "Undo commit "Expose constants in Telephony.Carriers"" into rvc-dev 2020-03-11 05:39:55 +00:00
Daniel Bright
0080b55bc5 Merge "Rollback SystemApis for Mainline" into rvc-dev 2020-03-11 03:44:01 +00:00
Hall Liu
dbb17f1754 Hide APIs introduced in earlier commit
Fixes: 151184696
Test: NA
Change-Id: I5ad3229158a140c4d27cb3bd9b608e7dc165a044
2020-03-10 18:35:04 -07:00
Suprabh Shukla
2e7408eddb Making time-zone an API constant
This is already effectively an API the way it is documented.
Updating all the references of the hard-coded constant.

Test: make update-api && make

Bug: 151112929
Change-Id: Iadeb03c516215cfc51bc8604b67250348d5a4375
2020-03-10 18:05:02 -07:00
David Su
6945c01f1a WifiP2pManager.setMiracastMode(): Remove CONNECTIVITY_INTERNAL permission
The permission annotation is stale. Only the
CONFIGURE_WIFI_DISPLAY permission is checked.

Bug: 151091657
Test: compiles
Change-Id: I6f7cbf8910e5f9e6830d3cb8ba686ca17616fb19
2020-03-11 00:55:56 +00:00
David Su
72ec4f1e80 Merge "WifiManager.factoryReset(): Fix incorrect permissions annotation" into rvc-dev 2020-03-11 00:54:33 +00:00
TreeHugger Robot
60a6e43a74 Merge "Unexpose unnecessary SysUI APIs" into rvc-dev 2020-03-11 00:42:51 +00:00
Hai Shalom
e7095d92bf [SAE] Remove support for SAE Password identifier from API surface
Remove support for SAE Password identifier from API surface due to
privacy vulnerabilities that exist in the protocol.

Bug: 150897608
Test: atest WifiConfigurationTest
Test: Manually connect to SAE network without password id
Change-Id: I40ebf7720ee51ddf264d4f256a1a75b03f1a6ca6
2020-03-10 17:35:48 -07:00
Eugene Susla
4256be1c69 Merge "Make WifiDeviceFilter.Builder.setSsid's arg @NonNull" into rvc-dev 2020-03-11 00:31:45 +00:00
Sarah Chin
76182efa9f Merge "Unexpose getDataRoamingFromRegistration API" into rvc-dev 2020-03-10 23:58:26 +00:00
TreeHugger Robot
8ed01d4075 Merge "Android WebView: Deprecate unsafe file urls APIs" into rvc-dev 2020-03-10 23:54:12 +00:00
TreeHugger Robot
abda4964c5 Merge "Tuner API: remove TsFilterConfiguration.Builder" into rvc-dev 2020-03-10 23:32:36 +00:00
Jeff Sharkey
a7a96ad6f8 Merge "Give hidden API behavior to legacy apps." into rvc-dev 2020-03-10 23:03:41 +00:00