Commit Graph

29761 Commits

Author SHA1 Message Date
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
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
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
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
Jeff Sharkey
8b0cff7108 Give hidden API behavior to legacy apps.
Starting in R, there is a new public API overload that delivers a
flags argument.  Some apps may be relying on a previous hidden API
that delivered a userId argument, and this change is used to control
delivery of the new flags argument in its place.

There are dozens of these hidden API users are in the system UID,
either in the system process or the Settings app, so we hard-code
giving them the legacy behavior, since refactoring would be messy
between internal and AOSP branches.

Also adjust incoming and outgoing method signatures to use slightly
more flexible Collection<Uri>, which has handy methods like
contains() and isEmpty().

Bug: 150939131
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Exempt-From-Owner-Approval: trivial refactoring
Change-Id: If6a77449e19215cf1c60d4217e62fc04b0959bfc
2020-03-10 16:36:21 -06:00
Daniel Bright
d8b1c8b283 Rollback @SystemApi on ApnSetting
* Remove @SystemApi from ApnSetting.TYPE_*
* Remove @SystemApi from ApnSetting.getApnTypesStringFromBitmask

Bug: 147465477
Test: make \ flash
Change-Id: Ifc781ae494968fbaad8c591dbd990d397e0d733b
2020-03-10 15:08:12 -07:00
David Su
33fd07332d WifiManager.factoryReset(): Fix incorrect permissions annotation
CONNECTIVITY_INTERNAL permission is not checked,
instead NETWORK_SETTINGS is checked.
Updated the annotation accordingly.

Bug: 151091657
Test: compiles
Change-Id: I20b73d695feefdd666be4e6894db981c39ad6b06
2020-03-10 21:59:44 +00:00
Mingguang Xu
ad7b6bbf79 Merge "Extension API: Comments from API review council are addressed" into rvc-dev 2020-03-10 21:54:41 +00:00
David Su
26db1f9278 Merge "WifiManager.getCountryCode(): Change permission to NETWORK_SETTINGS" into rvc-dev 2020-03-10 21:24:51 +00:00
Philip P. Moltmann
b73aa1e008 Merge "Rename AppOpsCollector -> OnOpNotedCallback" into rvc-dev 2020-03-10 21:03:21 +00:00
TreeHugger Robot
2785cbd047 Merge "Make TelephonyManager.getCdmaEriInformation and CdmaEriInformation hide@" into rvc-dev 2020-03-10 20:24:58 +00:00
Sooraj Sasindran
4f1db18325 READ_PHONE_STATE permission for isModemEnabledForSlot
Specify READ_PHONE_STATE permission for isModemEnabledForSlot

Bug: 144791721
Test: make
Change-Id: I895f46671b0023b835239a661eea1881eb1ff48f
2020-03-10 20:14:28 +00:00
Sooraj Sasindran
40468064ed change getActiveAndHiddenSubscriptionInfoList API name
getActiveAndHiddenSubscriptionInfoList to getCompleteActiveSubscriptionInfoList

Bug: 144791721
Test: make
Merged-In: I6202c4039d858ccfed1d09e8b315d701bb571ccf
Change-Id: I6202c4039d858ccfed1d09e8b315d701bb571ccf
(cherry picked from commit feb6aa47b4)
2020-03-10 20:08:20 +00:00
Sarah Chin
ba01f23e9f Unexpose getDataRoamingFromRegistration API
Test: build
Bug: 148604865
Change-Id: I695645418d2babc1eb524a29b2054c1cd8f74da3
2020-03-10 12:40:40 -07:00
Daniel Bright
5dbd3c3b69 Undo commit "Expose constants in Telephony.Carriers"
Undid carrier constants as @SystemApis.  Also had to move
constants out of annotation.java because any references in
that specific file need to be to public APIs.

Bug: 148170690
Test: make, flash
Change-Id: Ie4b827563dbc373c58ec805bc5400e0950b5b81e
2020-03-10 12:27:16 -07:00